Packages

package language

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package parsing

Type Members

  1. case class CommonOptions(showTimes: Boolean = false, verbose: Boolean = false, dryRun: Boolean = false, quiet: Boolean = false, showWarnings: Boolean = true, showMissingWarnings: Boolean = true, showStyleWarnings: Boolean = true) extends Product with Serializable
  2. case class Finder(root: ParentDefOf[Definition]) extends Product with Serializable
  3. case class InMemoryLogger() extends Logger with Product with Serializable

    A Logger which captures logged lines into an in-memory buffer, useful for testing purposes.

  4. case class Location(source: RiddlParserInput, offset: Int = 0) extends Ordered[Location] with Product with Serializable

    A location of an item in the input

  5. trait Logger extends AnyRef
  6. case class ReformattingOptions(inputFile: Option[Path] = None, outputDir: Option[Path] = Some(Path.of(System.getProperty("java.io.tmpdir"))), projectName: Option[String] = None, singleFile: Boolean = true) extends TranslatingOptions with Product with Serializable
  7. case class StringLogger(capacity: Int = 512 * 2) extends Logger with Product with Serializable
  8. case class SymbolTable(container: ParentDefOf[Definition]) extends Product with Serializable

    Symbol Table for Validation and other purposes.

    Symbol Table for Validation and other purposes. This symbol table is built from the AST model after syntactic parsing is complete. It will also work for any sub-tree of the model that is rooted by a ParentDefOf[Definition] node.

    The symbol tree contains a mapping from leaf name to the entire list of parent definitions (symbols) as well as a mapping from definitions to their parents (parentage). Bot maps are built during a single pass of the AST.

    container

    The node from which to build the symbol table

  9. case class SysLogger() extends Logger with Product with Serializable
  10. trait TranslatingOptions extends AnyRef
  11. trait Translator[OPT <: TranslatingOptions] extends AnyRef

    Unit Tests For Translator

  12. trait TranslatorState extends AnyRef

Value Members

  1. object AST

    Abstract Syntax Tree This object defines the model for processing RIDDL and producing a raw AST from it.

    Abstract Syntax Tree This object defines the model for processing RIDDL and producing a raw AST from it. This raw AST has no referential integrity, it just results from applying the parsing rules to the input. The RawAST models produced from parsing are syntactically correct but have no semantic validation. The Transformation passes convert RawAST model to AST model which is referentially and semantically consistent (or the user gets an error).

  2. object Folding
  3. object Location extends Serializable
  4. object Logger
  5. object ReformatTranslator extends Translator[ReformattingOptions]

    This is the RIDDL Prettifier to convert an AST back to RIDDL plain text

  6. object Riddl

    Primary Interface to Riddl Language parsing and validating

  7. object Terminals

    Terminal symbol definitions in various categories

  8. object Validation

    Validates an AST

Ungrouped