Identifies one of the grammar rules as the root rule. The root rule is where the engine starts its search.
- int LVGrammar_SetRoot(HGRAMMAR Grammar, const char* rule_name)
A handle to the grammar.
The name of the rule.
The C function call "LVGrammar_SetRoot(Grammar, "foo");" is the same as writing "root $foo; "into a grammar: