/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
RewriteRuleElementStream.js | 14 org.antlr.runtime.tree.RewriteRuleElementStream = function(adaptor, elementDescription, el) { 31 this.adaptor = adaptor;
|
RewriteRuleTokenStream.js | 1 org.antlr.runtime.tree.RewriteRuleTokenStream = function(adaptor, elementDescription, el) { 11 return this.adaptor.create(t);
|
TreeParser.js | 102 var adaptor; 104 adaptor = e.input.getTreeAdaptor(); 105 e.token = adaptor.getToken(e.node); 108 adaptor.getType(e.node), 109 adaptor.getText(e.node));
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRTreePatternParser.h | 42 id<ANTLRTreeAdaptor> adaptor; variable 48 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 52 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor;
|
ANTLRTreeIterator.h | 40 id<ANTLRTreeAdaptor> adaptor; variable 56 + (ANTLRTreeIterator *) newANTRLTreeIteratorWithAdaptor:(ANTLRCommonTreeAdaptor *)adaptor
|
ANTLRTreeWizard.h | 83 /** This adaptor creates TreePattern objects for use during scan() */ 99 id<ANTLRTreeAdaptor> adaptor; variable 103 + (ANTLRTreeWizard *)newANTLRTreeWizard:(id<ANTLRTreeAdaptor>)adaptor Map:(ANTLRMap *)aTokenNameToTypeMap; 104 + (ANTLRTreeWizard *)newANTLRTreeWizard:(id<ANTLRTreeAdaptor>)adaptor TokenNames:(NSArray *)theTokNams; 107 - (id) initWithAdaptor:(id<ANTLRTreeAdaptor>)adaptor; 108 - (id) initWithAdaptor:(id<ANTLRTreeAdaptor>)adaptor Map:(ANTLRMap *)tokenNameToTypeMap; 129 - (BOOL)equals:(id)t1 O2:(id)t2 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 131 - (BOOL) _equals:(id)t1 O2:(id)t2 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRTreePatternParser.h | 42 id<ANTLRTreeAdaptor> adaptor; variable 48 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 52 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor;
|
ANTLRTreeIterator.h | 40 id<ANTLRTreeAdaptor> adaptor; variable 56 + (ANTLRTreeIterator *) newANTRLTreeIteratorWithAdaptor:(ANTLRCommonTreeAdaptor *)adaptor
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRTreePatternParser.h | 42 id<ANTLRTreeAdaptor> adaptor; variable 48 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 52 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor;
|
ANTLRTreeIterator.h | 40 id<ANTLRTreeAdaptor> adaptor; variable 56 + (ANTLRTreeIterator *) newANTRLTreeIteratorWithAdaptor:(ANTLRCommonTreeAdaptor *)adaptor
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRCommonTreeNodeStream.h | 45 /** What tree adaptor was used to build these trees */ 46 __strong ANTLRCommonTreeAdaptor *adaptor; variable 62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) ANTLRCommonTreeAdaptor *adaptor; variable 70 - (id) initWithTreeAdaptor:(id<ANTLRTreeAdaptor>)adaptor Tree:(ANTLRCommonTree *)theTree; 92 - (void) setTreeAdaptor:(ANTLRCommonTreeAdaptor *) adaptor;
|
ANTLRTreeWizard.h | 88 /** This adaptor creates TreePattern objects for use during scan() */ 98 id<ANTLRTreeAdaptor> adaptor; variable 102 + (ANTLRTreeWizard *)newANTLRTreeWizard:(id<ANTLRTreeAdaptor>)adaptor Map:(ANTLRMap *)aTokenNameToTypeMap; 103 + (ANTLRTreeWizard *)newANTLRTreeWizard:(id<ANTLRTreeAdaptor>)adaptor TokenNames:(NSArray *)theTokNams; 106 - (id) initWithAdaptor:(id<ANTLRTreeAdaptor>)adaptor; 107 - (id) initWithAdaptor:(id<ANTLRTreeAdaptor>)adaptor Map:(ANTLRMap *)tokenNameToTypeMap; 129 - (BOOL)equals:(id)t1 O2:(id)t2 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 131 - (BOOL) _equals:(id)t1 O2:(id)t2 Adaptor:(id<ANTLRTreeAdaptor>)anAdaptor; 133 @property (retain) id<ANTLRTreeAdaptor> adaptor; variable
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
record-event-listener.rb | 14 def initialize( adaptor = nil )
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ITreeFixture.cs | 182 ITreeAdaptor adaptor = new CommonTreeAdaptor(); 183 adaptor.BecomeRoot(newRoot, oldRoot); 197 ITreeAdaptor adaptor = new CommonTreeAdaptor(); 198 adaptor.BecomeRoot(newRoot, oldRoot); 214 ITreeAdaptor adaptor = new CommonTreeAdaptor(); 215 adaptor.BecomeRoot(newRoot, oldRoot); 230 ITreeAdaptor adaptor = new CommonTreeAdaptor(); 231 adaptor.BecomeRoot(newRoot, oldRoot); 239 ITreeAdaptor adaptor = new CommonTreeAdaptor(); 240 CommonTree root_0 = (CommonTree)adaptor.Nil() [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3debughandlers.c | 496 // Adaptor ID 498 delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getUniqueID(delboy->adaptor, node)); 503 delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getType(delboy->adaptor, node)); 507 token = delboy->adaptor->getToken(delboy->adaptor, node); 530 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_UINT32)(delboy->adaptor->getTokenStartIndex(delboy->adaptor, node))); 534 serializeText(delboy->tokenString, delboy->adaptor->getText(delboy->adaptor, node)) [all...] |
antlr3commontreenodestream.c | 153 // Create an adaptor for the common tree node stream 155 stream->adaptor = inStream->adaptor; 262 // duplicate here will be done through the adaptor or 288 // Create an adaptor for the common tree node stream 290 stream->adaptor = ANTLR3_TREE_ADAPTORNew(strFactory); 292 if (stream->adaptor == NULL) 304 stream->adaptor->free (stream->adaptor); 316 stream->adaptor->free (stream->adaptor) 932 pANTLR3_BASE_TREE_ADAPTOR adaptor; local [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTrees.java | 39 TreeAdaptor adaptor = new CommonTreeAdaptor(); field in class:TestTrees 57 CommonTree root_0 = (CommonTree)adaptor.nil(); 60 adaptor.addChild(root_0, t); 61 adaptor.addChild(root_0, u); 176 TreeAdaptor adaptor = new CommonTreeAdaptor(); local 177 adaptor.becomeRoot(newRoot, oldRoot); 189 TreeAdaptor adaptor = new CommonTreeAdaptor(); local 190 adaptor.becomeRoot(newRoot, oldRoot); 204 TreeAdaptor adaptor = new CommonTreeAdaptor(); local 205 adaptor.becomeRoot(newRoot, oldRoot) 218 TreeAdaptor adaptor = new CommonTreeAdaptor(); local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
TestDotTreeGenerator.cs | 53 var adaptor = parser.TreeAdaptor; 56 string output = gen.ToDot( tree, adaptor );
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
TreeParser.as | 131 var adaptor:TreeAdaptor = TreeNodeStream(e.input).treeAdaptor; 132 e.token = adaptor.getToken(e.node); 134 e.token = new CommonToken(adaptor.getType(e.node), 135 adaptor.getText(e.node)); 141 public function set treeAdaptor(adaptor:TreeAdaptor):void {
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-tree-wizard.rb | 88 @adaptor = CommonTreeAdaptor.new( Tokens.token_class ) 90 @wizard = Wizard.new( :adaptor => @adaptor, :token_scheme => Tokens ) 95 tree = Wizard::PatternParser.parse( 'ID', Tokens, @adaptor ) 103 tree = Wizard::PatternParser.parse( 'ID[foo]', Tokens, @adaptor ) 111 tree = Wizard::PatternParser.parse( '(A B)', Tokens, @adaptor ) 122 tree = Wizard::PatternParser.parse( 'nil', Tokens, @adaptor ) 130 tree = Wizard::PatternParser.parse( '(.)', Tokens, @adaptor ) 141 tree = Wizard::PatternParser.parse( ')', Tokens, @adaptor ) 146 tree = Wizard::PatternParser.parse( '()', Tokens, @adaptor ) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
RecognitionException.cs | 186 ITreeAdaptor adaptor = treeNodeStream.TreeAdaptor; 187 return adaptor.GetType(_node); 292 ITreeAdaptor adaptor = nodes.TreeAdaptor; 293 IToken payload = adaptor.GetToken(_node); 301 IToken priorPayload = adaptor.GetToken(priorNode); 323 int type = adaptor.GetType(this._node); 324 string text = adaptor.GetText(this._node);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
RecognitionException.cs | 212 ITreeAdaptor adaptor = treeNodeStream.TreeAdaptor; 213 return adaptor.GetType( _node ); 347 ITreeAdaptor adaptor = input.TreeAdaptor; 348 IToken payload = adaptor.GetToken(_node); 359 IToken priorPayload = adaptor.GetToken(priorNode); 397 int type = adaptor.GetType(this._node); 398 string text = adaptor.GetText(this._node);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
exceptions.py | 141 adaptor = nodes.adaptor 142 payload = adaptor.getToken(self.node) 150 priorPayload = adaptor.getToken(priorNode) 172 type = adaptor.getType(self.node) 173 text = adaptor.getText(self.node) 187 adaptor = self.input.treeAdaptor 188 return adaptor.getType(self.node)
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
visitor.rb | 51 def initialize( adaptor = nil ) 52 @adaptor = adaptor || CommonTreeAdaptor.new() 69 flat = @adaptor.flat_list?( tree ) 74 @adaptor.child_count( tree ).times do |index| 75 child = @adaptor.child_of( tree, index )
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
tree.rb | 96 this flexibility is that tree parsers also require an extra tree adaptor object, 136 look, adaptor = @input.look, @input.tree_adaptor 137 if adaptor.child_count( look ) == 0 168 adaptor = e.input.adaptor 169 e.token = adaptor.token( e.node ) 171 tok.type = adaptor.type_of( e.node ) 172 tok.text = adaptor.text_of( e.node ) 668 code mandates the use of Tree Adaptor objects to build and manipulate any actual 669 trees. Using an adaptor object permits a single recognizer to work with an [all...] |