Represents an abstract base class a tree construction node, used to output an IAst
- Inheritance:
- object object
- Derived:
-
Parent
Tree Construction Node Base
- Implements:
-
ITree
Construction Node
Constructors
TreeConstructionNodeBase()
Initializes an instance of the class.
Properties
Children
Gets the collection of child ITree
Property Value
- IEnumerable<ITree
Construction >:Node The collection of child ITree
Construction objects.Node
IsCompiled
Gets whether the grammar and its elements are compiled, via a call to its Compile() method.
Property Value
- bool:
true
if the grammar and its elements are compiled; otherwise,false
.
IsList
Gets whether this tree construction node returns a placeholder node that contains a list of IAst
Methods
CreateNode(IAstNodeMatchCollection)
Returns the IAst
Parameter | Type | Description |
---|---|---|
matches | IAst |
The collection of matched IAst |
Returns
ToEbnfString()
Outputs the contents of the rewrite node in EBNF form.
Returns
- string:
A string containing the EBNF form of the rewrite node.