com.ossuminc.riddl.passes.symbols

Members list

Type members

Classlikes

object Symbols

Some common types associated with the AST names of things for brevity; and, used widely

Some common types associated with the AST names of things for brevity; and, used widely

Attributes

Source
Symbols.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Symbols.type

Output from the Symbols Pass

Output from the Symbols Pass

Value parameters

messages

The error messages generated by the pass

symTab

The SymbolTable that handles identifier translation to definitions

Attributes

Source
SymbolsOutput.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait PassOutput
class Object
trait Matchable
class Any
Show all
object SymbolsPass extends PassInfo[PassOptions]

Attributes

Companion
class
Source
SymbolsPass.scala
Supertypes
class Object
trait Matchable
class Any
Self type

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.

Value parameters

input

The output of the parser pass is the input to SymbolPass

Attributes

Companion
object
Source
SymbolsPass.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Pass
class Object
trait Matchable
class Any
Show all