LVParseTree_GetRoot

Gets the root parse tree node.

Functions

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

© 2012 LumenVox LLC. All rights reserved.