Home
last modified time | relevance | path

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

12

/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/tree/
DRewriteRuleElementStream.java162 return toTree(singleElement); in _next()
170 return toTree(singleElement); in _next()
173 Object o = toTree(elements.get(cursor)); in _next()
188 protected Object toTree(Object el) { in toTree() method in RewriteRuleElementStream
DRewriteRuleNodeStream.java62 protected Object toTree(Object el) { in toTree() method in RewriteRuleNodeStream
DRewriteRuleTokenStream.java70 protected Object toTree(Object el) { in toTree() method in RewriteRuleTokenStream
/external/antlr/runtime/ObjC/Framework/examples/polydiff/
DPolyDifferentiator.m362 [treeAdaptor addChild:poly2.tree toTree:root_1];
374 [treeAdaptor addChild:poly3.tree toTree:root_1];
378 [treeAdaptor addChild:root_1 toTree:root_0];
419 [treeAdaptor addChild:root_1 toTree:root_0];
444 toTree:root_0];
507 [treeAdaptor addChild:root_2 toTree:root_1];
513 [treeAdaptor addChild:root_1 toTree:root_0];
551 toTree:root_1];
563 toTree:root_2];
567 toTree:root_2];
[all …]
DSimplifier.m590 [treeAdaptor addChild:root_1 toTree:root_0];
616 toTree:root_0];
680 [treeAdaptor addChild:root_2 toTree:root_1];
692 [treeAdaptor addChild:root_1 toTree:root_0];
726 [treeAdaptor addChild:[stream_p nextTree] toTree:root_1];
730 toTree:root_1];
732 [treeAdaptor addChild:root_1 toTree:root_0];
797 [treeAdaptor addChild:root_2 toTree:root_1];
809 [treeAdaptor addChild:root_1 toTree:root_0];
843 [treeAdaptor addChild:[stream_p nextTree] toTree:root_1];
[all …]
DPolyParser.m299 [treeAdaptor addChild:[term1 getTree] toTree:root_0];
330 [treeAdaptor addChild:[term3 getTree] toTree:root_0];
508 toTree:root_1];
513 toTree:root_1];
515 [treeAdaptor addChild:root_1 toTree:root_0];
570 toTree:root_1];
572 [treeAdaptor addChild:[stream_exp nextTree] toTree:root_1];
574 [treeAdaptor addChild:root_1 toTree:root_0];
600 [treeAdaptor addChild:[exp8 getTree] toTree:root_0];
616 [treeAdaptor addChild:INT9_tree toTree:root_0];
[all …]
/external/antlr/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/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m1021 [treeAdaptor addChild:[declaration1 getTree] toTree:root_0];
1124 [treeAdaptor addChild:[variable2 getTree] toTree:root_0];
1169 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1];
1171 [treeAdaptor addChild:root_1 toTree:root_0];
1228 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1];
1230 [treeAdaptor addChild:[stream_block nextTree] toTree:root_1];
1232 [treeAdaptor addChild:root_1 toTree:root_0];
1359 [treeAdaptor addChild:[stream_type nextTree] toTree:root_1];
1361 [treeAdaptor addChild:[stream_declarator nextTree] toTree:root_1];
1363 [treeAdaptor addChild:root_1 toTree:root_0];
[all …]
/external/antlr/runtime/ObjC/Framework/
DDebugTreeAdaptor.m115 - (void) addChild:(id<BaseTree>)child toTree:(id<BaseTree>)aTree
117 [treeAdaptor addChild:child toTree:aTree];
118 [debugListener addChild:[treeAdaptor uniqueIdForTree:child] toTree:[self uniqueIdForTree:aTree]];
136 - (void) addTokenAsChild:(id<Token>)child toTree:(id<BaseTree>)aTree
139 [self addChild:newChild toTree:aTree];
DRewriteRuleElementStream.m204 return [self toTree:singleElement]; // will be dup'ed in -next
210 return [self toTree:singleElement];
214 return [self toTree:el];
239 - (id<BaseTree>) toTree:(id)element
DRewriteRuleTokenStream.h64 - (id<BaseTree>) toTree:(id<Token>)element;
DRewriteRuleNodeStream.h43 - (id) toTree:(id<BaseTree>)element;
/external/antlr/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 create:<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/runtime/Cpp/include/
Dantlr3rewritestreams.inl158 return this->toTree(m_singleElement);
173 return this->toTree(m_singleElement);
179 t = this->toTree( m_elements.at(m_cursor));
245 RewriteRuleElementStream<ImplTraits, SuperType>::toTree( TreeType* element) function in RewriteRuleElementStream
252 RewriteRuleNodeStream<ImplTraits>::toTree(TreeType* element) function in RewriteRuleNodeStream
Dantlr3rewritestreams.hpp138 TreeType* toTree(TreeType* el);
244 TreeType* toTree(TreeType* element);
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m269 [treeAdaptor addChild:[decl1 getTree] toTree:root_0];
379 [treeAdaptor addChild:[stream_type nextTree] toTree:root_1];
384 toTree:root_1];
386 [treeAdaptor addChild:root_1 toTree:root_0];
465 toTree:root_0 ];
/external/antlr/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/runtime/C/include/
Dantlr3rewritestreams.h131 …pANTLR3_BASE_TREE (*toTree) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream, void * el… member
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteParser.m261 toTree:root_1];
263 [treeAdaptor addChild:root_1 toTree:root_0];
338 [treeAdaptor addChild:INT3_tree toTree:root_0];

12