Structs§
- Grammar
Concat - Build a grammar accepting the concatenation of
grammarsin order. - Grammar
Union - Build a grammar accepting any string from any of
grammars.
Functions§
- add_
sub_ grammar - Splice every rule of
sub_grammarintobuilder, returning the new rule id ofsub_grammar’s root rule. Rule references, repeats and tag dispatches are remapped to the freshly-allocated rule ids.