|
what do you mean by 'finished at'?
ParseTree.Root is the top-level ParseTreeNode, the root. Something like "Program" non-terminal, whatever you set to Grammar.Root.
Any parseTreeNode has a property Term that identifies Terminal or non-terminal (grammar element) from the Grammar.
You can traverse the tree and find all "unit" elements (just check the node.Term).
|