Home
last modified time | relevance | path

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

12

/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m850 @synthesize treeAdaptor;
960 return treeAdaptor;
965 if (aTreeAdaptor != treeAdaptor) {
966 treeAdaptor = aTreeAdaptor;
996 root_0 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
1021 [treeAdaptor addChild:[declaration1 getTree] toTree:root_0];
1047 retval.tree = (ANTLRCommonTree *)[treeAdaptor rulePostProcessing:root_0];
1048 [treeAdaptor setTokenBoundaries:retval.tree From:retval.start To:retval.stopToken];
1055 …retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] E…
1097 [[ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.m844 return treeAdaptor;
849 if (aTreeAdaptor != treeAdaptor) {
850 treeAdaptor = aTreeAdaptor;
877 root_0 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
899 [treeAdaptor addChild:[declaration1 getTree] toTree:root_0]; /* element() */
923 retval.tree = (ANTLRCommonTree *)[treeAdaptor rulePostProcessing:root_0];
924 [treeAdaptor setTokenBoundaries:retval.tree From:retval.startToken To:retval.stopToken];
931 …retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.startToken To:[input LT:…
966 [[ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
969 [[ANTLRRewriteRuleSubtreeStream newANTLRRewriteRuleSubtreeStream:treeAdaptor
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDebugTreeAdaptor.m66 return treeAdaptor;
71 if (treeAdaptor != aTreeAdaptor) {
73 [treeAdaptor release];
74 treeAdaptor = aTreeAdaptor;
95 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] fromTokenAtIndex:[payload getToken…
101 id<ANTLRBaseTree> 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<ANTLRBaseTree> newTree = [treeAdaptor becomeRoot:newRoot old:oldRoot];
[all …]
DANTLRDebugTreeNodeStream.m37 [self setTreeAdaptor:[theStream treeAdaptor]];
68 return treeAdaptor;
73 if (treeAdaptor != aTreeAdaptor) {
75 [(id<ANTLRTreeAdaptor,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 …]
DANTLRRewriteRuleElementStream.m37 @synthesize treeAdaptor;
131 return treeAdaptor;
136 if (treeAdaptor != aTreeAdaptor) {
137 if ( treeAdaptor ) [treeAdaptor release];
138 treeAdaptor = aTreeAdaptor;
139 [treeAdaptor retain];
DANTLRRewriteRuleNodeStream.m58 return [treeAdaptor dupNode:[self _next]];
65 return [treeAdaptor dupNode:element];
70 return [treeAdaptor dupTree:element];
DANTLRUnbufferedCommonTreeNodeStream.h42 id<ANTLRTreeAdaptor> treeAdaptor; variable
62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;
75 - (id) initWithTree:(ANTLRCommonTree *)theTree treeAdaptor:(ANTLRCommonTreeAdaptor *)theAdaptor;
DANTLRRewriteRuleElementStream.h39 __strong id<ANTLRTreeAdaptor> treeAdaptor; variable
48 @property (retain) id<ANTLRTreeAdaptor> treeAdaptor;
DANTLRUnbufferedCommonTreeNodeStream.m39 @synthesize treeAdaptor;
53 return [self initWithTree:theTree treeAdaptor:nil];
56 - (id) initWithTree:(ANTLRCommonTree *)theTree treeAdaptor:(ANTLRCommonTreeAdaptor *)theAdaptor
128 return treeAdaptor;
133 if (treeAdaptor != aTreeAdaptor) {
135 [treeAdaptor release];
136 treeAdaptor = aTreeAdaptor;
DANTLRDebugTreeAdaptor.h34 ANTLRCommonTreeAdaptor *treeAdaptor; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m183 @synthesize treeAdaptor;
237 return treeAdaptor;
242 if (aTreeAdaptor != treeAdaptor) {
243 treeAdaptor = aTreeAdaptor;
273 root_0 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
284 [treeAdaptor addChild:[decl1 getTree] toTree:root_0];
295 retval.tree = (ANTLRCommonTree *)[treeAdaptor rulePostProcessing:root_0];
296 [treeAdaptor setTokenBoundaries:retval.tree From:retval.start To:retval.stopToken];
303 …retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] E…
341 [[ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
[all …]
DLangParser.h116 id<ANTLRTreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
127 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg76 id\<ANTLRTreeAdaptor> treeAdaptor;
82 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id\<ANTLRTreeAdaptor> treeAdaptor;
95 @synthesize treeAdaptor;
103 return treeAdaptor;
108 if (aTreeAdaptor != treeAdaptor) {
109 treeAdaptor = aTreeAdaptor;
178 …NTLRRewriteRule<rewriteElementType>Stream newANTLRRewriteRule<rewriteElementType>Stream:treeAdaptor
181 [[ANTLRRewriteRuleSubtreeStream newANTLRRewriteRuleSubtreeStream: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 createTree:<label>] retain] toTree:root_0];
188 <label>_tree = [[treeAdaptor createTree:<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/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteParser.m141 @synthesize treeAdaptor;
194 return treeAdaptor;
199 if (aTreeAdaptor != treeAdaptor) {
200 treeAdaptor = aTreeAdaptor;
229 [[ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
232 [[ANTLRRewriteRuleSubtreeStream newANTLRRewriteRuleSubtreeStream:treeAdaptor
260 [[ANTLRRewriteRuleSubtreeStream newANTLRRewriteRuleSubtreeStream:treeAdaptor
263 root_0 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
269 … ANTLRCommonTree *root_1 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
270 …root_1 = (ANTLRCommonTree *)[treeAdaptor becomeRoot:(id<ANTLRTree>)[stream_subrule nextNode] old:r…
[all …]
DTreeRewriteParser.h92 id<ANTLRTreeAdaptor> treeAdaptor; /* AST parserMemVars */ variable
103 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;…
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
DTreeRewriteParser.m189 return treeAdaptor;
194 if (aTreeAdaptor != treeAdaptor) {
195 treeAdaptor = aTreeAdaptor;
221 [[ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
224 [[ANTLRRewriteRuleSubtreeStream newANTLRRewriteRuleSubtreeStream:treeAdaptor
252 [[ANTLRRewriteRuleSubtreeStream newANTLRRewriteRuleSubtreeStream:treeAdaptor
256 root_0 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
262 … ANTLRCommonTree *root_1 = (ANTLRCommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
263 … root_1 = (ANTLRCommonTree *)[treeAdaptor becomeRoot:(id<ANTLRTree>)[stream_subrule nextNode]
267 [treeAdaptor addChild:[stream_INT nextNode] toTree:root_1];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m36 treeAdaptor = [ANTLRCommonTreeAdaptor newTreeAdaptor];
37 stream = [ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
56 [treeAdaptor release]; treeAdaptor = nil;
62 treeAdaptor = [ANTLRCommonTreeAdaptor newTreeAdaptor];
63 stream = [ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
71 treeAdaptor = [ANTLRCommonTreeAdaptor newTreeAdaptor];
72 stream = [ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
91 treeAdaptor = [ANTLRCommonTreeAdaptor newTreeAdaptor];
92 stream = [ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor
DTestRewriteRuleTokenStream.h33 ANTLRCommonTreeAdaptor *treeAdaptor; variable
/external/antlr/antlr-3.4/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 {
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRRewriteRuleElementStream.h43 id<ANTLRTreeAdaptor> treeAdaptor; variable
51 @property (retain, getter=GetTreeAdaptor, setter=SetTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;
DANTLRDebugTreeAdaptor.h34 id<ANTLRTreeAdaptor> treeAdaptor; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRRewriteRuleElementStream.h43 id<ANTLRTreeAdaptor> treeAdaptor; variable
51 @property (retain, getter=GetTreeAdaptor, setter=SetTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRRewriteRuleElementStream.h43 id<ANTLRTreeAdaptor> treeAdaptor; variable
51 @property (retain, getter=GetTreeAdaptor, setter=SetTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;

12