Lines Matching refs:Root
134 /// If oldRoot is a nil root, just copy or move the children to newRoot.
135 /// If not a nil root, make oldRoot a child of newRoot.
143 /// child as the new root node.
154 /// simple node or nil root with a single child node--it must be a root
165 /// Given the root of the subtree created for this rule, post process
168 /// as the setting of start/stop indexes relies on a single non-nil root
178 function RulePostProcessing(const Root: IANTLRInterface): IANTLRInterface;
203 /// Create a node for newRoot make it the root of oldRoot.
204 /// If oldRoot is a nil root, just copy or move the children to newRoot.
205 /// If not a nil root, make oldRoot a child of newRoot.
269 /// still usually have a nil root node just to hold the children list.
300 /// Who is the parent node of this node; if null, implies node is root.
324 /// If parent is null, don't do anything; must be at root of overall tree.
383 /// If parent is null, don't do anything; must be at root of overall tree.
477 /// a list (nil-root tree). num of children can increase or decrease.
855 /// tree root node. Also prevents us from duplicating recently-added
860 /// we can't be adding trees as root; e.g., expr expr.
980 /// The implementation uses the root node of the pattern in combination
1008 /// (root child1 ... child2).
1199 /// <summary>Who is the parent node of this node; if null, implies node is root</summary>
1279 function RulePostProcessing(const Root: IANTLRInterface): IANTLRInterface; virtual;
1366 /// <summary>IF this tree (root) was created from a token stream, track it</summary>
1600 /// unless the element is for a tree root; then it must be a node dup
1860 /// <summary>First node or root node of tree matched for this rule.</summary>
1945 /// <summary>IF this tree (root) was created from a token stream, track it.</summary>
2057 /// Navigates to the next node found during a depth-first walk of root.
2154 // handle double-link stuff for each child of nil root
2704 raise Exception.Create('more than one node as root');
2773 // ensure new subtree root has parent/child index set
2841 const Root: IANTLRInterface): IANTLRInterface;
2845 R := Root as ITree;
3682 // if necessary, dup (at most a single node since this is for making root nodes).
4636 // don't count this root nil node
4916 // hit the root?