A helper static class to create nonterminals.
Static member | Description |
Full Usage:
Nonterminal.Create(name, firstProduction, productions)
Parameters:
string
firstProduction : Production<'T>
productions : Production<'T>[]
Returns: DesigntimeFarkle<'T>
|
|
|
Creates a Nonterminal{T} whose productions must be later set with SetProductions. Useful for recursive productions. If the productions are not set, an error will be raised on building.
|
Full Usage:
Nonterminal.CreateUntyped(name, firstProd, prods)
Parameters:
string
firstProd : ProductionBuilder
prods : ProductionBuilder[]
Returns: DesigntimeFarkle
|
|
|
|