Gets the root parse tree node.
Functions
- H_PARSE_TREE_NODE LVParseTree_GetRoot(H_PARSE_TREE Tree);
Parameter
Tree
Handle to a parse tree.
Returns
An H_PARSE_TREE_NODE handle representing the toplevel rule of the matching grammar.
Remarks
This node will always be a rule node (i.e will always satisfy LVParseTree_Node_IsRule(root) == 1). If the matching grammar specified a root rule then this node will always represent that rule.
See Also