Lines Matching defs:tree
2 org.antlr.runtime.tree.BaseTreeAdaptor = function() {
5 org.antlr.runtime.tree.TreeAdaptor = function() {};
7 org.antlr.lang.extend(org.antlr.runtime.tree.BaseTreeAdaptor,
8 org.antlr.runtime.tree.TreeAdaptor,
14 /** create tree node that holds the start and stop tokens associated
17 * If you specify your own kind of tree nodes, you will likely have to
23 var t = new org.antlr.runtime.tree.CommonErrorNode(input, start, stop, e);
27 isNil: function(tree) {
28 return tree.isNil();
32 * tree (not just Tree interface). It invokes the adaptor routines
33 * not the tree node routines to do the construction.
44 this.setChildIndex(newTree, this.getChildIndex(t)); // same index in new tree
56 /** Add a child to the tree t. If child is a flat tree (a list), make all
75 * If newRoot is a nil-rooted single child tree, use the single
111 // TODO: make tree run time exceptions hierarchy
116 // is a flat list (i.e., nil-rooted tree). All children of oldRoot