Home
last modified time | relevance | path

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

123

/external/antlr/antlr-3.4/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.java50 public Object dupNode(Object t) { in dupNode() method in CommonTreeAdaptor
52 return ((Tree)t).dupNode(); in dupNode()
DRewriteRuleNodeStream.java62 return adaptor.dupNode(el); in toTree()
DTree.java112 Tree dupNode(); in dupNode() method
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/ObjC/Framework/
DANTLRRewriteRuleNodeStream.m58 return [treeAdaptor dupNode:[self _next]];
65 return [treeAdaptor dupNode:element];
DANTLRTreeAdaptor.h38 - (id)dupNode:(id)aNode; // copies just the node
113 - (id)dupNode:(id)aNode;
DANTLRParseTree.h49 - (id<ANTLRBaseTree>)dupNode;
/external/antlr/antlr-3.4/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/antlr-3.4/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 : treeNode->dupNode(treeNode); in dupNode()
Dantlr3commontree.c42 static pANTLR3_BASE_TREE dupNode (pANTLR3_BASE_TREE tree);
305 tree->baseTree.dupNode = (void *(*)(pANTLR3_BASE_TREE))(dupNode); in antlr3SetCTAPI()
393 dupNode (pANTLR3_BASE_TREE tree) in dupNode() function
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRTreeAdaptor.h42 - (id<ANTLRTree>)dupNode:(id<ANTLRTree>)aNode; // copies just the node
116 - (id<ANTLRTree>)dupNode:(id<ANTLRTree>)aNode;
DANTLRParseTree.h48 - (id<ANTLRTree>)dupNode;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTreeAdaptor.h42 - (id<ANTLRTree>)dupNode:(id<ANTLRTree>)aNode; // copies just the node
116 - (id<ANTLRTree>)dupNode:(id<ANTLRTree>)aNode;
DANTLRParseTree.h48 - (id<ANTLRTree>)dupNode;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRTreeAdaptor.h42 - (id<ANTLRTree>)dupNode:(id<ANTLRTree>)aNode; // copies just the node
116 - (id<ANTLRTree>)dupNode:(id<ANTLRTree>)aNode;
DANTLRParseTree.h48 - (id<ANTLRTree>)dupNode;
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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)

123