Identifies one of the grammar rules as the root rule. The root rule is where the engine starts its search.
Function
- int SetRoot(const char* rule_name)
Parameters
rule_name
The name of the rule.
Example
The C++ function call "SetRoot("foo");" is the same as writing "root $foo;" in a grammar.