Home
last modified time | relevance | path

Searched refs:toTree (Results 1 – 25 of 53) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DRewriteRuleElementStream.js103 return this.toTree(this.singleElement);
111 return this.toTree(this.singleElement);
114 var o = this.toTree(this.elements[this.cursor]);
122 toTree: function(el) {
DRewriteRuleNodeStream.js15 toTree: function(el) { method
DRewriteRuleTokenStream.js21 toTree: function(el) { method
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DRewriteRuleElementStream.java161 return toTree(singleElement); in _next()
169 return toTree(singleElement); in _next()
172 Object o = toTree(elements.get(cursor)); in _next()
187 protected Object toTree(Object el) { in toTree() method in RewriteRuleElementStream
DRewriteRuleNodeStream.java61 protected Object toTree(Object el) { in toTree() method in RewriteRuleNodeStream
DRewriteRuleTokenStream.java69 protected Object toTree(Object el) { in toTree() method in RewriteRuleTokenStream
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3rewritestreams.c49 static pANTLR3_BASE_TREE toTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element);
235 stream->toTree = toTree; in antlr3RewriteRuleElementStreamNewAE()
458 stream->toTree = toTreeNode; in antlr3RewriteRuleNODEStreamNewAE()
477 stream->toTree = toTreeNode; in antlr3RewriteRuleNODEStreamNewAEE()
496 stream->toTree = toTreeNode; in antlr3RewriteRuleNODEStreamNewAEV()
647 return stream->toTree(stream, stream->singleElement); in _next()
662 return stream->toTree(stream, stream->singleElement); in _next()
668 t = stream->toTree(stream, stream->elements->get(stream->elements, stream->cursor)); in _next()
721 toTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element) in toTree() function
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m1021 [treeAdaptor addChild:[declaration1 getTree] toTree:root_0];
1123 [treeAdaptor addChild:[variable2 getTree] toTree:root_0];
1167 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1];
1169 [treeAdaptor addChild:root_1 toTree:root_0];
1225 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1];
1227 [treeAdaptor addChild:[stream_block nextTree] toTree:root_1];
1229 [treeAdaptor addChild:root_1 toTree:root_0];
1355 [treeAdaptor addChild:[stream_type nextTree] toTree:root_1];
1357 [treeAdaptor addChild:[stream_declarator nextTree] toTree:root_1];
1359 [treeAdaptor addChild:root_1 toTree:root_0];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.m899 [treeAdaptor addChild:[declaration1 getTree] toTree:root_0]; /* element() */
989 [treeAdaptor addChild:[variable2 getTree] toTree:root_0]; /* element() */
1033 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1];
1035 [treeAdaptor addChild:root_1 toTree:root_0];
1087 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1];
1088 [treeAdaptor addChild:[stream_block nextTree] toTree:root_1];
1090 [treeAdaptor addChild:root_1 toTree:root_0];
1203 [treeAdaptor addChild:[stream_type nextTree] toTree:root_1];
1204 [treeAdaptor addChild:[stream_declarator nextTree] toTree:root_1];
1206 [treeAdaptor addChild:root_1 toTree:root_0];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDebugTreeAdaptor.m115 - (void) addChild:(id<ANTLRBaseTree>)child toTree:(id<ANTLRBaseTree>)aTree
117 [treeAdaptor addChild:child toTree:aTree];
118 [debugListener addChild:[treeAdaptor uniqueIdForTree:child] toTree:[self uniqueIdForTree:aTree]];
136 - (void) addTokenAsChild:(id<ANTLRToken>)child toTree:(id<ANTLRBaseTree>)aTree
139 [self addChild:newChild toTree:aTree];
DANTLRRewriteRuleElementStream.m204 return [self toTree:singleElement]; // will be dup'ed in -next
210 return [self toTree:singleElement];
214 return [self toTree:el];
239 - (id<ANTLRBaseTree>) toTree:(id)element
DANTLRRewriteRuleNodeStream.h43 - (id) toTree:(id<ANTLRBaseTree>)element;
DANTLRRewriteRuleTokenStream.h64 - (id<ANTLRBaseTree>) toTree:(id<ANTLRToken>)element;
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg441 [treeAdaptor addChild:root_<treeLevel> toTree:root_<enclosingTreeLevel>];
455 [treeAdaptor addChild:<createRewriteNodeFromElement(...)> toTree:root_<treeLevel>];<\n>
460 [treeAdaptor addChild:[stream_<label> nextNode] toTree:root_<treeLevel>];<\n>
465 [treeAdaptor addChild:[stream_<label> nextNode] toTree:root_<treeLevel>];<\n>
482 [treeAdaptor addChild:<createImaginaryNode(tokenType=token, ...)> toTree:root_<treeLevel>];<\n>
502 [treeAdaptor addChild:[stream_<rule> nextTree] toTree:root_<treeLevel>];<\n>
510 [treeAdaptor addChild:<action> toTree:root_<treeLevel>];<\n>
519 [treeAdaptor addChild:[stream_<label> nextTree] toTree:root_<treeLevel>];<\n>
524 [treeAdaptor addChild:[stream_<label> nextTree] toTree:root_<treeLevel>];<\n>
538 [treeAdaptor addChild:[stream_<label> nextTree] toTree:root_<treeLevel>];<\n>
DASTParser.stg54 [treeAdaptor addChild:<label>_tree toTree:root_0];
108 [treeAdaptor addChild:<createNodeFromToken(...)> toTree:root_0 ];}, ...)>
137 [treeAdaptor addChild:[<label> getTree] toTree:root_0];
178 [treeAdaptor addChild:[[treeAdaptor createTree:<label>] retain] toTree:root_0];
DASTTreeParser.stg141 [treeAdaptor addChild:root_<treeLevel> toTree:root_<enclosingTreeLevel>];
170 [treeAdaptor addChild:<label>_tree toTree:root_<treeLevel>];
217 [adaptor addChild:<label>_tree toTree:root_<treeLevel>];
238 [adaptor addChild:<label>_tree toTree:root_<treeLevel>];
283 [treeAdaptor addChild:<label>.tree toTree:root_<treeLevel>];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m284 [treeAdaptor addChild:[decl1 getTree] toTree:root_0];
393 [treeAdaptor addChild:[stream_type nextTree] toTree:root_1];
398 toTree:root_1];
400 [treeAdaptor addChild:root_1 toTree:root_0];
477 toTree:root_0 ];
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DRewriteRuleElementStream.as148 return toTree(singleElement);
156 return toTree(singleElement);
159 var o:Object = toTree(elements[cursor]);
176 protected function toTree(el:Object):Object {
DRewriteRuleNodeStream.as17 protected override function toTree(el:Object):Object {
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3rewritestreams.h131 …pANTLR3_BASE_TREE (*toTree) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream, void * el… member
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRRewriteRuleTokenStream.h64 - (id<ANTLRTree>) toTree:(id<ANTLRToken>)element;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRRewriteRuleTokenStream.h64 - (id<ANTLRTree>) toTree:(id<ANTLRToken>)element;
DANTLRDebugEventListener.h268 - (void) addChild:(unsigned)childHash toTree:(unsigned)treeHash;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRRewriteRuleTokenStream.h64 - (id<ANTLRTree>) toTree:(id<ANTLRToken>)element;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteParser.m275 toTree:root_1];
277 [treeAdaptor addChild:root_1 toTree:root_0];
350 [treeAdaptor addChild:INT3_tree toTree:root_0];

123