Home
last modified time | relevance | path

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

12

/external/antlr/runtime/ObjC/Framework/examples/polydiff/
DPolyDifferentiator.m121 @synthesize treeAdaptor;
180 return treeAdaptor;
185 if (aTreeAdaptor != treeAdaptor) {
186 treeAdaptor = aTreeAdaptor;
245 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
248 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
251 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
254 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
331 root_0 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
340 CommonTree *root_1 = [[[treeAdaptor class] newEmptyTree] retain];
[all …]
DPolyParser.m191 @synthesize treeAdaptor;
247 return treeAdaptor;
252 if (aTreeAdaptor != treeAdaptor) {
253 treeAdaptor = aTreeAdaptor;
287 root_0 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
299 [treeAdaptor addChild:[term1 getTree] toTree:root_0];
317 (CommonTree *)[[treeAdaptor create:char_literal2] retain]
319 root_0 = (CommonTree *)[treeAdaptor becomeRoot:char_literal2_tree old:root_0];
330 [treeAdaptor addChild:[term3 getTree] toTree:root_0];
351 retval.tree = (CommonTree *)[treeAdaptor rulePostProcessing:root_0];
[all …]
DSimplifier.m321 @synthesize treeAdaptor;
409 return treeAdaptor;
414 if (aTreeAdaptor != treeAdaptor) {
415 treeAdaptor = aTreeAdaptor;
480 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
483 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
486 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
489 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
492 [[RewriteRuleNodeStream newRewriteRuleNodeStream:treeAdaptor
495 [[RewriteRuleSubtreeStream newRewriteRuleSubtreeStream:treeAdaptor
[all …]
DPolyDifferentiator.h76 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
87 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
DPolyParser.h123 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
134 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
DSimplifier.h164 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
179 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m854 @synthesize treeAdaptor;
957 return treeAdaptor;
962 if (aTreeAdaptor != treeAdaptor) {
963 treeAdaptor = aTreeAdaptor;
994 root_0 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
1021 [treeAdaptor addChild:[declaration1 getTree] toTree:root_0];
1047 retval.tree = (CommonTree *)[treeAdaptor rulePostProcessing:root_0];
1048 [treeAdaptor setTokenBoundaries:retval.tree From:retval.start To:retval.stopToken];
1055 …retval.tree = (CommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Except…
1097 [[RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
[all …]
/external/antlr/runtime/ObjC/Framework/
DDebugTreeAdaptor.m66 return treeAdaptor;
71 if (treeAdaptor != aTreeAdaptor) {
73 [treeAdaptor release];
74 treeAdaptor = aTreeAdaptor;
95 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] fromTokenAtIndex:[payload getToken…
101 id<BaseTree> newTree = [treeAdaptor newEmptyTree];
102 [debugListener createNilNode:[treeAdaptor uniqueIdForTree:newTree]];
117 [treeAdaptor addChild:child toTree:aTree];
118 [debugListener addChild:[treeAdaptor uniqueIdForTree:child] toTree:[self uniqueIdForTree:aTree]];
123 id<BaseTree> newTree = [treeAdaptor becomeRoot:newRoot old:oldRoot];
[all …]
DDebugTreeNodeStream.m37 [self setTreeAdaptor:[theStream treeAdaptor]];
68 return treeAdaptor;
73 if (treeAdaptor != aTreeAdaptor) {
75 [(id<TreeAdaptor,NSObject>)treeAdaptor release];
76 treeAdaptor = aTreeAdaptor;
101 unsigned hash = [treeAdaptor uniqueIdForTree:node];
102 NSString *text = [treeAdaptor textForNode:node];
103 int type = [treeAdaptor tokenTypeForNode:node];
118 unsigned hash = [treeAdaptor uniqueIdForTree:node];
119 NSString *theText = [treeAdaptor textForNode:node];
[all …]
DRewriteRuleElementStream.m37 @synthesize treeAdaptor;
131 return treeAdaptor;
136 if (treeAdaptor != aTreeAdaptor) {
137 if ( treeAdaptor ) [treeAdaptor release];
138 treeAdaptor = aTreeAdaptor;
139 [treeAdaptor retain];
DRewriteRuleNodeStream.m58 return [treeAdaptor dupNode:[self _next]];
65 return [treeAdaptor dupNode:element];
70 return [treeAdaptor dupTree:element];
DUnbufferedCommonTreeNodeStream.h42 id<TreeAdaptor> treeAdaptor; variable
62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor;
75 - (id) initWithTree:(CommonTree *)theTree treeAdaptor:(CommonTreeAdaptor *)theAdaptor;
DRewriteRuleElementStream.h39 __strong id<TreeAdaptor> treeAdaptor; variable
48 @property (retain) id<TreeAdaptor> treeAdaptor;
DUnbufferedCommonTreeNodeStream.m39 @synthesize treeAdaptor;
53 return [self initWithTree:theTree treeAdaptor:nil];
56 - (id) initWithTree:(CommonTree *)theTree treeAdaptor:(CommonTreeAdaptor *)theAdaptor
128 return treeAdaptor;
133 if (treeAdaptor != aTreeAdaptor) {
135 [treeAdaptor release];
136 treeAdaptor = aTreeAdaptor;
DDebugTreeAdaptor.h34 CommonTreeAdaptor *treeAdaptor; variable
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg76 id\<TreeAdaptor> treeAdaptor;
82 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id\<TreeAdaptor> treeAdaptor;
95 @synthesize treeAdaptor;
103 return treeAdaptor;
108 if (aTreeAdaptor != treeAdaptor) {
109 treeAdaptor = aTreeAdaptor;
178 [[RewriteRule<rewriteElementType>Stream newRewriteRule<rewriteElementType>Stream:treeAdaptor
181 [[RewriteRuleSubtreeStream newRewriteRuleSubtreeStream:treeAdaptor
193 [<prevRuleRootRef()> setTree:(<ASTLabelType> *)[treeAdaptor rulePostProcessing:root_0]];<\n>
194 [treeAdaptor setTokenBoundaries:[<prevRuleRootRef()> getTree]
[all …]
DASTParser.stg42 retval.tree = (<ASTLabelType> *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exc…
54 [treeAdaptor addChild:<label>_tree toTree:root_0];
67 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>_tree old:root_0];
108 [treeAdaptor addChild:<createNodeFromToken(...)> toTree:root_0 ];}, ...)>
127 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:<createNodeFromToken(...)> old:root_0];}, ...)>
137 [treeAdaptor addChild:[<label> getTree] toTree:root_0];
148 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:[<label> getTree] old:root_0];
178 [treeAdaptor addChild:[[treeAdaptor create:<label>] retain] toTree:root_0];
188 <label>_tree = [[treeAdaptor create:<label>] retain]
189 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>_tree old:root_0];
[all …]
DASTTreeParser.stg100 if ( [treeAdaptor getParent:retval.tree] != nil && [treeAdaptor isNil:[treeAdaptor getParent:retval…
101 retval.tree = (<ASTLabelType> *)[treeAdaptor getParent:retval.tree];
117 <ASTLabelType> *root_<treeLevel> = [[[treeAdaptor class] newEmptyTree] retain];
141 [treeAdaptor addChild:root_<treeLevel> toTree:root_<enclosingTreeLevel>];
168 <label>_tree = (<ASTLabelType> *)[treeAdaptor dupNode:<label>];
170 [treeAdaptor addChild:<label>_tree toTree:root_<treeLevel>];
195 <label>_tree = (<ASTLabelType> *)[treeAdaptor dupNode:<label>];
197 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>_tree old:root_<treeLevel>];
283 [treeAdaptor addChild:<label>.tree toTree:root_<treeLevel>];
304 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>.tree old:root_<treeLevel>];
[all …]
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m173 @synthesize treeAdaptor;
220 return treeAdaptor;
225 if (aTreeAdaptor != treeAdaptor) {
226 treeAdaptor = aTreeAdaptor;
257 root_0 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
269 [treeAdaptor addChild:[decl1 getTree] toTree:root_0];
280 retval.tree = (CommonTree *)[treeAdaptor rulePostProcessing:root_0];
281 [treeAdaptor setTokenBoundaries:retval.tree From:retval.start To:retval.stopToken];
288 …retval.tree = (CommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Except…
326 [[RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
[all …]
DLangParser.h124 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
135 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteParser.m133 @synthesize treeAdaptor;
179 return treeAdaptor;
184 if (aTreeAdaptor != treeAdaptor) {
185 treeAdaptor = aTreeAdaptor;
214 [[RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
217 [[RewriteRuleSubtreeStream newRewriteRuleSubtreeStream:treeAdaptor
246 [[RewriteRuleSubtreeStream newRewriteRuleSubtreeStream:treeAdaptor
249 root_0 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
255 CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
256 … root_1 = (CommonTree *)[treeAdaptor becomeRoot:(id<Tree>)[stream_subrule nextNode] old:root_1];
[all …]
DTreeRewriteParser.h96 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
107 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m36 treeAdaptor = [CommonTreeAdaptor newTreeAdaptor];
37 stream = [RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
56 [treeAdaptor release]; treeAdaptor = nil;
62 treeAdaptor = [CommonTreeAdaptor newTreeAdaptor];
63 stream = [RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
71 treeAdaptor = [CommonTreeAdaptor newTreeAdaptor];
72 stream = [RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
91 treeAdaptor = [CommonTreeAdaptor newTreeAdaptor];
92 stream = [RewriteRuleTokenStream newRewriteRuleTokenStream:treeAdaptor
DTestRewriteRuleTokenStream.h33 CommonTreeAdaptor *treeAdaptor; variable
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DTreeParser.as87 if ( input.treeAdaptor.getChildCount(look)==0 ) {
94 var tokenType:int = input.treeAdaptor.getType(look);
98 tokenType = input.treeAdaptor.getType(look);
131 var adaptor:TreeAdaptor = TreeNodeStream(e.input).treeAdaptor;
141 public function set treeAdaptor(adaptor:TreeAdaptor):void {
145 public function get treeAdaptor():TreeAdaptor {

12