org.bitbucket.inkytonik.kiama.util

Type members

Classlikes

trait Client extends LanguageClient

Extend standard language client with Monto support.

Extend standard language client with Monto support.

trait Compiler[N, T <: N] extends CompilerWithConfig[N, T, Config]

Specialisation of CompilerWithConfig that uses the default configuration type.

Specialisation of CompilerWithConfig that uses the default configuration type.

trait CompilerBase[N, T <: N, C <: Config] extends ServerWithConfig[N, T, C]

Trait to provide basic functionality for a compiler-like program constructed from phases, including profiling and timing support. N is the syntax tree node type used by this compiler. T is the type of the syntax tree communicated from the parser to the main processing of the compiler. C is the type of the configuration.

Trait to provide basic functionality for a compiler-like program constructed from phases, including profiling and timing support. N is the syntax tree node type used by this compiler. T is the type of the syntax tree communicated from the parser to the main processing of the compiler. C is the type of the configuration.

trait CompilerWithConfig[N, T <: N, C <: Config] extends CompilerBase[N, T, C]

A compiler that uses Parsers to produce positioned ASTs. C is the type of the compiler configuration.

A compiler that uses Parsers to produce positioned ASTs. C is the type of the compiler configuration.

class Config(args: Seq[String]) extends ScallopConf

Configurations for Kiama programs. args gives the command-line arguments that are used to determine many of the configuration settings.

Configurations for Kiama programs. args gives the command-line arguments that are used to determine many of the configuration settings.

class Console extends ConsoleBase

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

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

Compatibility layer for Console reading.

Compatibility layer for Console reading.

class FileConsole(filename: String) extends ReaderConsole

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

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

object JLineConsole extends Console

A console that provides line editing using JLine. This code follows sbt's equivalent code to try to ensure that there are no incompatibilities.

A console that provides line editing using JLine. This code follows sbt's equivalent code to try to ensure that there are no incompatibilities.

case class OffsetRange(start: Int, end: Int)

A REPL that parses its input lines into a value (such as an abstract syntax tree), then processes them. Output is emitted to standard output.

A REPL that parses its input lines into a value (such as an abstract syntax tree), then processes them. Output is emitted to standard output.

trait ParsingREPLBase[T, C <: REPLConfig] extends REPLBase[C]

A REPL that parses its input lines into a value (such as an abstract syntax tree), then processes them. Output is emitted using a configurable emitter.

A REPL that parses its input lines into a value (such as an abstract syntax tree), then processes them. Output is emitted using a configurable emitter.

trait ParsingREPLWithConfig[T, 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. C is the type of the configuration.

A REPL that parses its input lines into a value (such as an abstract syntax tree), then processes them. C is the type of the configuration.

case class Product(uri: String, name: String, language: String, content: String, append: Boolean, rangeMap: Array[RangeEntry], rangeMapRev: Array[RangeEntry])
trait REPL extends REPLBase[REPLConfig]

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

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

trait REPLBase[C <: REPLConfig]

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

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

class REPLConfig(args: Seq[String]) extends Config

Configurations for Kiama REPLS. Adds some options to the default set that all Kiama programs support.

Configurations for Kiama REPLS. Adds some options to the default set that all Kiama programs support.

case class RangeEntry(source: OffsetRange, targets: Array[OffsetRange])
trait ReaderConsole extends Console

A console that reads from a given buffered reader.

A console that reads from a given buffered reader.

trait ServerWithConfig[N, T <: N, C <: Config]

A language server that is mixed with a compiler that provide the basis for its services. Allows specialisation of configuration via C.

A language server that is mixed with a compiler that provide the basis for its services. Allows specialisation of configuration via C.

class Services[N, T <: N, C <: Config](server: ServerWithConfig[N, T, C] & CompilerBase[N, T, C], config: C)
class SetTraceNotificationParams(value: String)
class StringConsole(string: String) extends ReaderConsole

A console that returns from a specified string.

A console that returns from a specified string.