LVParseTree_GetRoot

Gets the root parse tree node.  

Function

H_PARSE_TREE_NODE LVParseTree_GetRoot(H_PARSE_TREE Tree);

Parameters

Tree

Handle to a parse tree.

Return Values

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


Complete Help Topic List | Speech Engine Product Information