/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRDebugTreeAdaptor.m | 66 return treeAdaptor; 71 if (treeAdaptor != aTreeAdaptor) { 73 [treeAdaptor release]; 74 treeAdaptor = aTreeAdaptor; 95 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] fromTokenAtIndex:[payload getTokenIndex]]; 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...] |
ANTLRDebugTreeNodeStream.m | 37 [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...] |
ANTLRRewriteRuleNodeStream.m | 58 return [treeAdaptor dupNode:[self _next]]; 65 return [treeAdaptor dupNode:element]; 70 return [treeAdaptor dupTree:element];
|
ANTLRRewriteRuleElementStream.m | 37 @synthesize treeAdaptor; 131 return treeAdaptor; 136 if (treeAdaptor != aTreeAdaptor) { 137 if ( treeAdaptor ) [treeAdaptor release]; 138 treeAdaptor = aTreeAdaptor; 139 [treeAdaptor retain];
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
AST.stg | 76 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 [[ANTLRRewriteRule<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...] |
ASTParser.stg | 42 retval.tree = (<ASTLabelType> *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re]; 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 [all...] |
ASTTreeParser.stg | 100 if ( [treeAdaptor getParent:retval.tree] != nil && [treeAdaptor isNil:[treeAdaptor getParent:retval.tree]] ) ) 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>] [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
ASTDbg.stg | 38 public ITreeAdaptor TreeAdaptor 51 <grammar.directDelegates:{g|<g:delegateName()>.TreeAdaptor = this.adaptor;}> 61 DebugEventSocketProxy proxy = new DebugEventSocketProxy( this, port, <if(TREE_PARSER)>input.TreeAdaptor<else>adaptor<endif> ); 76 TreeAdaptor = adap; 77 proxy.TreeAdaptor = adap; 82 TreeAdaptor = adap; 90 TreeAdaptor = adap;<\n>
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/ |
TreeRewriteParser.m | 141 @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:root_1] [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCParser.m | 850 @synthesize treeAdaptor; [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCParser.m | 844 return treeAdaptor; 849 if (aTreeAdaptor != treeAdaptor) { 850 treeAdaptor = aTreeAdaptor; [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
LangParser.m | 183 @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] Exception:re]; 341 [[ANTLRRewriteRuleTokenStream newANTLRRewriteRuleTokenStream:treeAdaptor [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/ |
TreeRewriteParser.m | 189 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/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
ASTDbg.stg | 35 public void setTreeAdaptor(TreeAdaptor adaptor) { 43 public TreeAdaptor getTreeAdaptor() { 66 TreeAdaptor adap = new CommonTreeAdaptor(); 72 TreeAdaptor adap = new CommonTreeAdaptor(); 80 TreeAdaptor adap = new CommonTreeAdaptor();
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
ASTDbg.stg | 42 public ITreeAdaptor TreeAdaptor 55 <grammar.directDelegates:{g|<g:delegateName()>.TreeAdaptor = this.adaptor;}> 65 DebugEventSocketProxy proxy = new DebugEventSocketProxy( this, port, <if(TREE_PARSER)>input.TreeAdaptor<else>adaptor<endif> ); 80 TreeAdaptor = adap; 81 proxy.TreeAdaptor = adap; 86 TreeAdaptor = adap; 94 TreeAdaptor = adap;<\n>
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/ |
TestRewriteRuleTokenStream.m | 36 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 [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
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 {
|
RewriteRuleNodeStream.as | 9 public function RewriteRuleNodeStream(adaptor:TreeAdaptor, elementDescription:String, element:Object = null) {
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
ASTDbg.stg | 9 adaptor.is_a?( ANTLR3::Debug::TreeAdaptor ) ? adaptor : 10 ANTLR3::Debug::TreeAdaptor.wrap( adaptor, @debug_listener )
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
Parser.as | 29 import org.antlr.runtime.tree.TreeAdaptor; 86 public function set treeAdaptor(adaptor:TreeAdaptor):void { 90 public function get treeAdaptor():TreeAdaptor {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonTreeNodeStream.cs | 97 public virtual ITreeAdaptor TreeAdaptor { 147 if (_level == 0 && TreeAdaptor.IsNil(t)) { 161 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; 165 return TreeAdaptor.GetType(LT(i)); 192 TreeAdaptor.ReplaceChildren(parent, startChildIndex, stopChildIndex, t); 209 int type = TreeAdaptor.GetType(o); 215 type = TreeAdaptor.GetType(o);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonTreeNodeStream.cs | 106 public virtual ITreeAdaptor TreeAdaptor 170 if ( _level == 0 && TreeAdaptor.IsNil( t ) ) 186 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; 191 return TreeAdaptor.GetType( LT( i ) ); 223 TreeAdaptor.ReplaceChildren( parent, startChildIndex, stopChildIndex, t ); 242 int type = TreeAdaptor.GetType( o ); 249 type = TreeAdaptor.GetType( o );
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTreeIterator.java | 41 TreeAdaptor adaptor = new CommonTreeAdaptor(); 52 TreeAdaptor adaptor = new CommonTreeAdaptor(); 63 TreeAdaptor adaptor = new CommonTreeAdaptor(); 74 TreeAdaptor adaptor = new CommonTreeAdaptor(); 85 TreeAdaptor adaptor = new CommonTreeAdaptor(); 96 TreeAdaptor adaptor = new CommonTreeAdaptor(); 107 TreeAdaptor adaptor = new CommonTreeAdaptor();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
RewriteRuleNodeStream.java | 37 public RewriteRuleNodeStream(TreeAdaptor adaptor, String elementDescription) { 42 public RewriteRuleNodeStream(TreeAdaptor adaptor, 50 public RewriteRuleNodeStream(TreeAdaptor adaptor,
|
RewriteRuleTokenStream.java | 36 public RewriteRuleTokenStream(TreeAdaptor adaptor, String elementDescription) { 41 public RewriteRuleTokenStream(TreeAdaptor adaptor, 49 public RewriteRuleTokenStream(TreeAdaptor adaptor,
|