Home
last modified time | relevance | path

Searched refs:dupTree (Results 1 – 25 of 43) sorted by relevance

12

/external/antlr/tool/src/main/java/org/antlr/tool/
DLeftRecursiveRuleAnalyzer.java87 altTree = GrammarAST.dupTree(altTree); in binaryAlt()
88 rewriteTree = GrammarAST.dupTree(rewriteTree); in binaryAlt()
114 altTree = GrammarAST.dupTree(altTree); in ternaryAlt()
115 rewriteTree = GrammarAST.dupTree(rewriteTree); in ternaryAlt()
139 altTree = GrammarAST.dupTree(altTree); in prefixAlt()
140 rewriteTree = GrammarAST.dupTree(rewriteTree); in prefixAlt()
165 altTree = GrammarAST.dupTree(altTree); in suffixAlt()
166 rewriteTree = GrammarAST.dupTree(rewriteTree); in suffixAlt()
181 altTree = GrammarAST.dupTree(altTree); in otherAlt()
182 rewriteTree = GrammarAST.dupTree(rewriteTree); in otherAlt()
DGrammarAST.java515 public static GrammarAST dupTree(GrammarAST t) { in dupTree() method in GrammarAST
523 root.addChild(dupTree(child)); in dupTree()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTreeAdaptor.java77 public Object dupTree(Object tree) { in dupTree() method in BaseTreeAdaptor
78 return dupTree(tree, null); in dupTree()
85 public Object dupTree(Object t, Object parent) { in dupTree() method in BaseTreeAdaptor
96 Object newSubTree = dupTree(child, t); in dupTree()
DRewriteRuleSubtreeStream.java87 return adaptor.dupTree(el); in dup()
DTreeAdaptor.java60 public Object dupTree(Object tree); in dupTree() method
/external/antlr/runtime/C/src/
Dantlr3basetree.c53 static void * dupTree (pANTLR3_BASE_TREE tree);
67 tree->dupTree = dupTree; in antlr3BaseTreeNew()
261 dupTree (pANTLR3_BASE_TREE tree) in dupTree() function
282 newNode = (pANTLR3_BASE_TREE)t->dupTree(t); in dupTree()
Dantlr3rewritestreams.c47 static void * dupTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * el);
388 stream->dup = dupTree; in antlr3RewriteRuleSubtreeStreamNewAE()
410 stream->dup = dupTree; in antlr3RewriteRuleSubtreeStreamNewAEE()
433 stream->dup = dupTree; in antlr3RewriteRuleSubtreeStreamNewAEV()
696 dupTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element) in dupTree() function
Dantlr3basetreeadaptor.c46 static pANTLR3_BASE_TREE dupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t);
102 adaptor->dupTree = (void * (*)(pANTLR3_BASE_TREE_ADAPTOR, void *)) in antlr3BaseTreeAdaptorInit()
103 dupTree; in antlr3BaseTreeAdaptorInit()
123 adaptor->dupTree = (void * (*)(pANTLR3_BASE_TREE_ADAPTOR, void *)) in antlr3BaseTreeAdaptorInit()
461 dupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t) in dupTree() function
/external/antlr/runtime/ObjC/Framework/
DTreeAdaptor.h39 - (id)dupTree:(id)aTree; // copies the entire subtree, recursively
114 - (id)dupTree:(id)aTree;
DBaseTreeAdaptor.h63 - (id<BaseTree>)dupTree:(id<BaseTree>)aTree;
69 - (id<BaseTree>)dupTree:(id<BaseTree>)aTree Parent:(id<BaseTree>)parent;
DRewriteRuleNodeStream.m70 return [treeAdaptor dupTree:element];
DBaseTreeAdaptor.m101 - (id)dupTree:(id)tree
103 return [self dupTree:(id)tree Parent:nil];
110 - (id)dupTree:(id)t Parent:(id)parent
122 id newSubTree = [self dupTree:child Parent:t];
DRewriteRuleSubtreeStream.m98 return [treeAdaptor dupTree:element];
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DBaseTreeAdaptor.js35 dupTree: function(t, parent) { method
50 newSubTree = this.dupTree(child, t);
DRewriteRuleSubtreeStream.js36 return this.adaptor.dupTree(el);
/external/antlr/runtime/Cpp/include/
Dantlr3commontreeadaptor.hpp54 TreeType* dupTree( TreeType* tree);
150 TreeType* dupTree( TreeType* tree);
Dantlr3commontree.hpp114 TreeType* dupTree();
Dantlr3rewritestreams.hpp219 TreeType* dupTree( TreeType* el );
Dantlr3rewritestreams.inl233 return this->dupTree(element);
238 RewriteRuleSubtreeStream<ImplTraits>::dupTree(TreeType* element) function in RewriteRuleSubtreeStream
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java79 public Object dupTree(Object tree) { in dupTree() method in DebugTreeAdaptor
80 Object t = adaptor.dupTree(tree); in dupTree()
/external/antlr/runtime/C/include/
Dantlr3basetree.h95 void * (*dupTree) (struct ANTLR3_BASE_TREE_struct * tree); member
Dantlr3basetreeadaptor.h76 void * (*dupTree) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * tree); member
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DRewriteRuleSubtreeStream.as64 return adaptor.dupTree(el);
/external/antlr/runtime/Python/antlr3/
Dtree.py306 def dupTree(self, tree): member in TreeAdaptor
993 def dupTree(self, t, parent=None): member in BaseTreeAdaptor
1014 newSubTree = self.dupTree(child, t)
2801 return self.adaptor.dupTree(el)
/external/antlr/runtime/Python3/antlr3/
Dtree.py306 def dupTree(self, tree): member in TreeAdaptor
986 def dupTree(self, t, parent=None): member in BaseTreeAdaptor
1007 newSubTree = self.dupTree(child, t)
2786 return self.adaptor.dupTree(el)

12