package language
- Alphabetic
- Public
- Protected
Type Members
- case class CommonOptions(showTimes: Boolean = false, verbose: Boolean = false, dryRun: Boolean = false, quiet: Boolean = false, showWarnings: Boolean = true, showMissingWarnings: Boolean = true, showStyleWarnings: Boolean = true, debug: Boolean = false, pluginsDir: Option[Path] = None) extends Product with Serializable
- case class Finder(root: AST.Definition) extends Product with Serializable
- case class SymbolTable(container: AST.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
- trait TranslatingOptions extends AnyRef
- trait Translator[OPT <: TranslatingOptions] extends AnyRef
Base class of all Translators
Base class of all Translators
- OPT
The options class used by the translator
- trait TranslatorState[OF <: OutputFile] extends AnyRef
Value Members
- object AST extends Expressions with TypeExpression
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).
- object Folding
- object Messages
- object Riddl
Primary Interface to Riddl Language parsing and validating
- object Terminals
Terminal symbol definitions in various categories
- object Validation
Validates an AST