DynamicParseTreeNonterminal.this

Creates tree node for nonterminal.

class DynamicParseTreeNonterminal(Location, alias LocationRangeImpl = LocationRangeStartLength)
this

Parameters

nonterminalID SymbolID

ID for nonterminal of this tree node matching grammarInfo.

productionID ProductionID

ID for production of this tree node matching grammarInfo.

childs DynamicParseTree!(Location, LocationRangeImpl)[]

Childs of this tree node. The number of childs should match the production.

grammarInfo GrammarInfo*

Information about the grammar this nonterminal belongs to.

Meta