Home
last modified time | relevance | path

Searched refs:dupNode (Results 1 – 25 of 67) sorted by relevance

123

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DRewriteRuleSubtreeStream.java74 return adaptor.dupNode(el); in nextNode()
81 Object el = adaptor.dupNode(tree); // dup just the root (want node here) in nextNode()
DCommonTreeAdaptor.java51 public Object dupNode(Object t) { in dupNode() method in CommonTreeAdaptor
53 return ((Tree)t).dupNode(); in dupNode()
DRewriteRuleNodeStream.java63 return adaptor.dupNode(el); in toTree()
DTree.java112 Tree dupNode(); in dupNode() method
/external/antlr/runtime/C/include/
Dantlr3basetree.h93 void * (*dupNode) (struct ANTLR3_BASE_TREE_struct * dupNode); member
Dantlr3parsetree.h64 pANTLR3_BASE_TREE (*dupNode) (struct ANTLR3_PARSE_TREE_struct * tree); member
/external/antlr/runtime/C/src/
Dantlr3commontreeadaptor.c46 static pANTLR3_BASE_TREE dupNode (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE treeNod…
104 cta->baseAdaptor.dupNode = (void * (*) (pANTLR3_BASE_TREE_ADAPTOR, void *)) in ANTLR3_TREE_ADAPTORNew()
105 dupNode; in ANTLR3_TREE_ADAPTORNew()
253 dupNode (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE treeNode) in dupNode() function
255 return treeNode == NULL ? NULL : (pANTLR3_BASE_TREE)treeNode->dupNode(treeNode); in dupNode()
Dantlr3commontree.c42 static pANTLR3_BASE_TREE dupNode (pANTLR3_BASE_TREE tree);
324 tree->baseTree.dupNode = (void *(*)(pANTLR3_BASE_TREE))(dupNode); in antlr3SetCTAPI()
412 dupNode (pANTLR3_BASE_TREE tree) in dupNode() function
/external/antlr/runtime/ObjC/Framework/
DRewriteRuleNodeStream.m58 return [treeAdaptor dupNode:[self _next]];
65 return [treeAdaptor dupNode:element];
DTreeAdaptor.h38 - (id)dupNode:(id)aNode; // copies just the node
113 - (id)dupNode:(id)aNode;
DParseTree.h49 - (id<BaseTree>)dupNode;
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.js20 dupNode: function(t) { method
24 return t.dupNode();
DRewriteRuleNodeStream.js16 return this.adaptor.dupNode(el);
DRewriteRuleSubtreeStream.js28 return this.adaptor.dupNode(el);
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.as13 * create(Token), errorNode(), and to be safe, YourTreeClass.dupNode().
14 * dupNode is called to duplicate nodes during rewrite operations.
23 public override function dupNode(t:Object):Object {
27 return (Tree(t)).dupNode();
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DASTTreeParser.stg93 <label>_tree = this.adaptor.dupNode(<label>);
118 <label>_tree = this.adaptor.dupNode(<label>);
141 <label>_tree = this.adaptor.dupNode(<label>);
167 <label>_tree = this.adaptor.dupNode(<label>);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DASTTreeParser.stg122 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
147 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
170 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
196 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DASTTreeParser.stg131 <label>_tree = self._adaptor.dupNode(<label>)
158 <label>_tree = self._adaptor.dupNode(<label>)
197 <label>_tree = self._adaptor.dupNode(<label>)
222 <label>_tree = self._adaptor.dupNode(<label>)
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DASTTreeParser.stg131 <label>_tree = self._adaptor.dupNode(<label>)
158 <label>_tree = self._adaptor.dupNode(<label>)
197 <label>_tree = self._adaptor.dupNode(<label>)
222 <label>_tree = self._adaptor.dupNode(<label>)
/external/antlr/runtime/Python3/antlr3/
Dtree.py235 def dupNode(self): member in Tree
298 def dupNode(self, treeNode): member in TreeAdaptor
996 newTree = self.dupNode(t)
1238 def dupNode(self): member in CommonTree
1479 def dupNode(self, treeNode): member in CommonTreeAdaptor
1491 return treeNode.dupNode()
2774 return self.adaptor.dupNode(el)
2782 return self.adaptor.dupNode(el)
2801 return self.adaptor.dupNode(el)
/external/antlr/runtime/Python/antlr3/
Dtree.py235 def dupNode(self): member in Tree
298 def dupNode(self, treeNode): member in TreeAdaptor
1003 newTree = self.dupNode(t)
1245 def dupNode(self): member in CommonTree
1488 def dupNode(self, treeNode): member in CommonTreeAdaptor
1500 return treeNode.dupNode()
2789 return self.adaptor.dupNode(el)
2797 return self.adaptor.dupNode(el)
2816 return self.adaptor.dupNode(el)
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DASTTreeParser.stg120 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>));
145 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>));
183 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>));
209 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>));
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DASTTreeParser.stg137 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>);
163 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>);
201 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>);
227 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>);
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java100 public Object dupNode(Object treeNode) { in dupNode() method in DebugTreeAdaptor
101 Object d = adaptor.dupNode(treeNode); in dupNode()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DASTTreeParser.stg133 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
166 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
216 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
254 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);

123