/external/antlr/runtime/ObjC/Framework/examples/polydiff/ |
D | PolyDifferentiator.m | 121 @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 …]
|
D | PolyParser.m | 191 @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 …]
|
D | Simplifier.m | 321 @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 …]
|
D | PolyDifferentiator.h | 76 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable 87 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
|
D | PolyParser.h | 123 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable 134 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
|
D | Simplifier.h | 164 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable 179 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
|
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/ |
D | SimpleCParser.m | 854 @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/ |
D | DebugTreeAdaptor.m | 66 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 …]
|
D | DebugTreeNodeStream.m | 37 [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 …]
|
D | RewriteRuleElementStream.m | 37 @synthesize treeAdaptor; 131 return treeAdaptor; 136 if (treeAdaptor != aTreeAdaptor) { 137 if ( treeAdaptor ) [treeAdaptor release]; 138 treeAdaptor = aTreeAdaptor; 139 [treeAdaptor retain];
|
D | RewriteRuleNodeStream.m | 58 return [treeAdaptor dupNode:[self _next]]; 65 return [treeAdaptor dupNode:element]; 70 return [treeAdaptor dupTree:element];
|
D | UnbufferedCommonTreeNodeStream.h | 42 id<TreeAdaptor> treeAdaptor; variable 62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; 75 - (id) initWithTree:(CommonTree *)theTree treeAdaptor:(CommonTreeAdaptor *)theAdaptor;
|
D | RewriteRuleElementStream.h | 39 __strong id<TreeAdaptor> treeAdaptor; variable 48 @property (retain) id<TreeAdaptor> treeAdaptor;
|
D | UnbufferedCommonTreeNodeStream.m | 39 @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;
|
D | DebugTreeAdaptor.h | 34 CommonTreeAdaptor *treeAdaptor; variable
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 76 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 …]
|
D | ASTParser.stg | 42 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 …]
|
D | ASTTreeParser.stg | 100 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/ |
D | LangParser.m | 173 @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 …]
|
D | LangParser.h | 124 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable 135 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
|
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/ |
D | TreeRewriteParser.m | 133 @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 …]
|
D | TreeRewriteParser.h | 96 id<TreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable 107 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<TreeAdaptor> treeAdaptor; /*…
|
/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/ |
D | TestRewriteRuleTokenStream.m | 36 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
|
D | TestRewriteRuleTokenStream.h | 33 CommonTreeAdaptor *treeAdaptor; variable
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | TreeParser.as | 87 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 {
|