org.kiama

util

package util

Visibility
  1. Public
  2. All

Type Members

  1. trait Compiler [T] extends FunSuite

    Trait to provide basic functionality for a compiler-like program constructed from phases.

  2. class Console extends AnyRef

    A console using which input data can be read from standard input.

  3. class Emitter extends AnyRef

    Class of objects that can emit arbitrary output.

  4. class FileConsole extends Console with ReaderConsole

    A console that reads from the given file.

  5. class FileEmitter extends StringEmitter

    A string emitter that also provides an output method to send the result to the named file.

  6. trait GeneratingREPL [T] extends REPL

    A REPL that uses ScalaCheck to generate random instances of abstract syntax trees of type T and prints them.

  7. trait ParsingREPL [T] extends REPL with RegexParsers

    A REPL that parses its input lines into a value (such as an abstract syntax tree), then processes them.

  8. trait PrettyPrinter extends PrettyPrinterBase

    A pretty-printer implemented using the continuation-based approach from Section 3.

  9. trait PrettyPrinterBase extends AnyRef

    The interface of a pretty printer using combinators from Swierstra and Chitil (Linear, bounded, functional pretty-printing, Journal of Functional Programming, 19 (1), 2008) and Leijen's PPrint library.

  10. trait REPL extends AnyRef

    General support for applications that implement read-eval-print loops (REPLs).

  11. trait ReaderConsole extends Console

    A console that reads from a given buffered reader.

  12. trait RegexCompiler [T] extends Compiler[T]

    A compiler that uses a Scala combinator character-level parser.

  13. class StringConsole extends Console with ReaderConsole

    A console that returns from a specified string.

  14. class StringEmitter extends Emitter

    An emitter that records the output in a string that can be accessed via the result method.

Value Members

  1. object JLineConsole extends Console

    A console that provides line editing using JLine.

  2. object Messaging extends AnyRef

    Facility for buffering of messages associated with positioned values.