org.kiama

util

package util

Visibility
  1. Public
  2. All

Type Members

  1. trait Compiler[T <: Attributable] extends CompilerWithConfig[T, Config]

    Specialisation of CompilerWithConfig that uses the default configuration type.

  2. trait CompilerBase[T, C <: Config] extends Profiler

    Trait to provide basic functionality for a compiler-like program constructed from phases, including profiling and timing support.

  3. trait CompilerWithConfig[T <: Attributable, C <: Config] extends CompilerBase[T, C] with RegexParsers

    A compiler that uses RegexParsers to produce Attributable ASTs.

  4. class Config extends ScallopConf

    Configurations for Kiama programs.

  5. class Console extends AnyRef

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

  6. class Counter extends AnyRef

    Thread-safe counters.

  7. class Emitter extends AnyRef

    Class of objects that can emit arbitrary output.

  8. trait Environments extends AnyRef

    General implementation of environments as stacked scopes.

  9. class FileConsole extends Console with ReaderConsole

    A console that reads from the given UTF-8 encoded file.

  10. class FileEmitter extends StringEmitter

    A string emitter that also provides a close method to send the result to the named UTF-8 encoded file.

  11. trait Memoiser extends AnyRef

    Support for memoisation, encapsulating common behaviour of memoised entities and a general reset mechanism for all such entities.

  12. case class Message(line: Int, column: Int, label: String) extends Product with Serializable

    A message record consisting of a coordinate position pos and a label string

  13. class Messaging extends AnyRef

    Facility for buffering of messages associated with positioned values.

  14. trait ParserUtilities extends RegexParsers with PackratParsers

    Useful utilities for defining regular expression packrat parsers.

  15. trait ParsingREPL[T <: Attributable] extends ParsingREPLWithConfig[T, REPLConfig]

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

  16. trait ParsingREPLBase[T <: Attributable, C <: REPLConfig] extends REPLBase[C] with RegexParsers

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

  17. trait ParsingREPLWithConfig[T <: Attributable, C <: REPLConfig] extends ParsingREPLBase[T, C]

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

  18. trait Positioned extends AnyRef

    Class to keep track of line and column positions.

  19. trait PositionedParserUtilities extends ParserUtilities

    An extension of ParserUtilities that has support for automatically tracking start and finish positions for tree nodes.

  20. trait Profiler extends bitbucket.inkytonik.dsprofile.Profiler

    Kiama-specific additions to dsprofile profilers.

  21. trait REPL extends REPLBase[REPLConfig]

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

  22. trait REPLBase[C <: REPLConfig] extends Profiler

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

  23. class REPLConfig extends Config

    Configurations for Kiama REPLS.

  24. trait ReaderConsole extends Console

    A console that reads from a given buffered reader.

  25. class StringConsole extends Console with ReaderConsole

    A console that returns from a specified string.

  26. class StringEmitter extends Emitter

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

  27. trait WhitespaceParser extends ParserUtilities

    Support for defining the form of whitespace using a parser, rather than a regular expression.

  28. trait WhitespacePositionedParserUtilities extends WhitespaceParser with PositionedParserUtilities

    Combination of positioned parsing utilities and whitespace handling with a parser.

Value Members

  1. object IO

    Utility wrapper for I/O to isolate Kiama code from some Java I/O details.

  2. object JLineConsole extends Console

    A console that provides line editing using JLine.

  3. object Patterns

    Patterns that are useful when processing trees.

  4. object Trampolines

    Trampolines.

Ungrouped