/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRTreePatternParser.h | 42 id<ANTLRTreeAdaptor> adaptor; variable 48 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 52 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 62 @property (retain) id<ANTLRTreeAdaptor> adaptor; variable
|
ANTLRRewriteRuleTokenStream.h | 38 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor 42 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor
|
ANTLRTreeIterator.h | 41 __strong id<ANTLRTreeAdaptor> adaptor; variable 52 @property(retain) id<ANTLRTreeAdaptor> adaptor; variable 61 + (ANTLRTreeIterator *) newANTRLTreeIteratorWithAdaptor:(ANTLRCommonTreeAdaptor *)adaptor
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
ProfileGrammarParser.cs | 104 // Implement this function in your helper file to use a custom tree adaptor 106 protected DebugTreeAdaptor adaptor; field in class:ProfileGrammarParser 112 return adaptor; 116 this.adaptor = new DebugTreeAdaptor(dbg,adaptor); 162 root_0 = (CommonTree)adaptor.Nil(); 204 adaptor.AddChild(root_0, stat1.Tree); 228 retval.tree = (CommonTree)adaptor.RulePostProcessing(root_0); 229 adaptor.SetTokenBoundaries(retval.tree, retval.start, retval.stop); 236 retval.tree = (CommonTree)adaptor.ErrorNode(input, retval.start, input.LT(-1), re) [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
RewriteRuleElementStream.as | 70 protected var adaptor:TreeAdaptor; 72 public function RewriteRuleElementStream(adaptor:TreeAdaptor, elementDescription:String, element:Object = null) { 74 this.adaptor = adaptor; 166 * around it. For trees, you must call the adaptor.dupTree() unless
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRCommonTreeNodeStream.h | 45 /** What tree adaptor was used to build these trees */ 46 ANTLRCommonTreeAdaptor *adaptor; variable 62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) ANTLRCommonTreeAdaptor *adaptor; variable 69 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)adaptor Tree:(ANTLRCommonTree *)theTree; 91 - (void) setTreeAdaptor:(ANTLRCommonTreeAdaptor *) adaptor;
|
ANTLRRewriteRuleTokenStream.h | 38 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor 42 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor
|
ANTLRTreeVisitor.h | 37 id<ANTLRTreeAdaptor> adaptor; variable
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRCommonTreeNodeStream.h | 45 /** What tree adaptor was used to build these trees */ 46 ANTLRCommonTreeAdaptor *adaptor; variable 62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) ANTLRCommonTreeAdaptor *adaptor; variable 69 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)adaptor Tree:(ANTLRCommonTree *)theTree; 91 - (void) setTreeAdaptor:(ANTLRCommonTreeAdaptor *) adaptor;
|
ANTLRRewriteRuleTokenStream.h | 38 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor 42 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor
|
ANTLRTreeVisitor.h | 37 id<ANTLRTreeAdaptor> adaptor; variable
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRCommonTreeNodeStream.h | 45 /** What tree adaptor was used to build these trees */ 46 ANTLRCommonTreeAdaptor *adaptor; variable 62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) ANTLRCommonTreeAdaptor *adaptor; variable 69 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)adaptor Tree:(ANTLRCommonTree *)theTree; 91 - (void) setTreeAdaptor:(ANTLRCommonTreeAdaptor *) adaptor;
|
ANTLRRewriteRuleTokenStream.h | 38 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor 42 + (id) newANTLRRewriteRuleTokenStream:(id<ANTLRTreeAdaptor>)adaptor
|
ANTLRTreeVisitor.h | 37 id<ANTLRTreeAdaptor> adaptor; variable
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testdottreegen.py | 19 self.adaptor = CommonTreeAdaptor() 23 self.wiz = TreeWizard(self.adaptor, self.tokens) 42 st = toDOT(tree, self.adaptor, treeST, edgeST)
|
testtree.py | 16 self.adaptor = CommonTreeAdaptor() 58 root_0 = self.adaptor.nil(); 61 self.adaptor.addChild(root_0, t) 62 self.adaptor.addChild(root_0, u) 554 self.adaptor = CommonTreeAdaptor() 661 dup = self.adaptor.dupTree(r0) 677 self.adaptor.becomeRoot(newRoot, oldRoot) 689 self.adaptor.becomeRoot(newRoot, oldRoot) 703 self.adaptor.becomeRoot(newRoot, oldRoot) 716 self.adaptor.becomeRoot(newRoot, oldRoot [all...] |
/external/chromium_org/ios/consumer/base/ |
supports_user_data.cc | 53 DataAdaptor* adaptor = static_cast<DataAdaptor*>( local 55 if (!adaptor) 57 return adaptor->data();
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
tree.py | 275 and adaptor, I've merged them. Makes sense to encapsulate. 316 use "t=adaptor.nil(); t.addChild(x); t.addChild(y);" 996 tree (not just Tree interface). It invokes the adaptor routines [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
socket.rb | 27 @adaptor = options[ :adaptor ] 188 def adaptor method in class:ANTLR3.Debug.EventSocketProxy 189 @adaptor ||= ANTLR3::CommonTreeAdaptor.new 197 transmit "%s\t%i", :flat_node, adaptor.unique_id( tree ) 201 transmit "%s\t%i\t%i\t%p", :error_node, adaptor.unique_id( tree ), 207 transmit "%s\t%i\t%i", :create_node, adaptor.unique_id( node ), 210 transmit "%s\t%i\t%i\t%p", :create_node, adaptor.unique_id( node ), 211 adaptor.type_of( node ), adaptor.text_of( node [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
wizard.rb | 58 adaptor = ANTLR3::AST::CommonTreeAdaptor.new 59 wizard = ANTLR3::AST::Wizard.new(adaptor, token_names) 186 def self.parse( pattern, token_scheme, adaptor ) 188 new( lexer, token_scheme, adaptor ).pattern 193 def initialize( tokenizer, token_scheme, adaptor ) 196 @adaptor = adaptor 222 @adaptor.add_child( root, subtree ) 225 @adaptor.add_child( root, child ) 254 token_name == 'nil' and return @adaptor.create_flat_lis [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLR.g | 146 parser.adaptor = new grammar_Adaptor(parser); 285 /*partial void createTreeAdaptor(ref ITreeAdaptor adaptor) 287 adaptor = new grammar_Adaptor(this); 296 GrammarAST alt = (GrammarAST)adaptor.create(ALT, "ALT"); 297 adaptor.addChild(alt, b); 298 adaptor.addChild(alt, adaptor.create(EOA, "<end-of-alt>")); 302 GrammarAST block = (GrammarAST)adaptor.create(BLOCK, b.getToken(), "BLOCK"); 303 adaptor.addChild(block, alt); 304 adaptor.addChild(alt, adaptor.create(EOB, "<end-of-block>")) [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
ASTTreeParser.stg | 58 if (adaptor.GetParent(retval.Tree)!=null && adaptor.IsNil(adaptor.GetParent(retval.Tree))) 59 retval.Tree = (<ASTLabelType>)adaptor.GetParent(retval.Tree); 74 <ASTLabelType> root_<treeLevel> = (<ASTLabelType>)adaptor.Nil(); 98 adaptor.AddChild(root_<enclosingTreeLevel>, root_<treeLevel>); 123 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>); 125 adaptor.AddChild(root_<treeLevel>, <label>_tree); 148 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>); 150 root_<treeLevel> = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_<treeLevel>) [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
ASTTreeParser.stg | 59 if (adaptor.GetParent(retval.Tree)!=null && adaptor.IsNil(adaptor.GetParent(retval.Tree))) 60 retval.Tree = (<ASTLabelType>)adaptor.GetParent(retval.Tree); 75 <ASTLabelType> root_<treeLevel> = (<ASTLabelType>)adaptor.Nil(); 99 adaptor.AddChild(root_<enclosingTreeLevel>, root_<treeLevel>); 124 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>); 126 adaptor.AddChild(root_<treeLevel>, <label>_tree); 149 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>); 151 root_<treeLevel> = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_<treeLevel>) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeParser.cs | 100 ITreeAdaptor adaptor = ((ITreeNodeStream)e.Input).TreeAdaptor; 101 return adaptor.Create(new CommonToken(expectedTokenType, tokenText)); 167 ITreeAdaptor adaptor = ((ITreeNodeStream)e.Input).TreeAdaptor; 168 e.Token = adaptor.GetToken(e.Node); 170 e.Token = new CommonToken(adaptor.GetType(e.Node), 171 adaptor.GetText(e.Node));
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeParser.cs | 110 ITreeAdaptor adaptor = ((ITreeNodeStream)e.Input).TreeAdaptor; 111 return adaptor.Create(new CommonToken(expectedTokenType, tokenText)); 185 ITreeAdaptor adaptor = ( (ITreeNodeStream)e.Input ).TreeAdaptor; 186 e.Token = adaptor.GetToken( e.Node ); 189 e.Token = new CommonToken( adaptor.GetType( e.Node ), 190 adaptor.GetText( e.Node ) );
|