Lines Matching refs:node
1 /** A tree node that is wrapper for a Token object. After 3.0 release
4 * spend the space in every tree node. If you don't want these extra
7 org.antlr.runtime.tree.CommonTree = function(node) {
8 /** What token indexes bracket all tokens associated with this node
14 /** What index is this node in the child list? Range: 0..n-1 */
17 /** Who is the parent node of this node; if null, implies node is root */
23 if (node instanceof org.antlr.runtime.tree.CommonTree) {
24 org.antlr.runtime.tree.CommonTree.superclass.constructor.call(this, node);
25 this.token = node.token;
26 this.startIndex = node.startIndex;
27 this.stopIndex = node.stopIndex;
28 } else if (node instanceof org.antlr.runtime.CommonToken) {
29 this.token = node;
33 /** A tree node that is wrapper for a Token object. */