Lrama::Runtime::CstData
Concrete Syntax Tree data storage
Constructors
Instance methods
Add an elided node (placeholder for elided rule)
add_error(span : Span, parent : NodeRef | Nil = nil) : NodeRef
Add an error node with parent relationship
add_rule(id : Int32, span : Span, child_count : Int32, name : String | Nil = nil, parent : NodeRef | Nil = nil) : NodeRef
Add a rule node with parent relationship
Add a token node with parent relationship
nodes
Sourcesource
Source