HomeSort by relevance Sort by last modified time
    Searched refs:adaptor (Results 101 - 125 of 184) sorted by null

1 2 3 45 6 7 8

  /external/antlr/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/runtime/ObjC/Framework/
RewriteRuleTokenStream.h 38 + (id) newRewriteRuleTokenStream:(id<TreeAdaptor>)adaptor
42 + (id) newRewriteRuleTokenStream:(id<TreeAdaptor>)adaptor
TreeIterator.h 41 __strong id<TreeAdaptor> adaptor; variable
52 @property(retain) id<TreeAdaptor> adaptor; variable
61 + (TreeIterator *) newANTRLTreeIteratorWithAdaptor:(CommonTreeAdaptor *)adaptor
CommonTreeNodeStream.h 45 /** What tree adaptor was used to build these trees */
46 __strong CommonTreeAdaptor *adaptor; variable
62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) CommonTreeAdaptor *adaptor; variable
70 - (id) initWithTreeAdaptor:(id<TreeAdaptor>)adaptor Tree:(CommonTree *)theTree;
92 - (void) setTreeAdaptor:(CommonTreeAdaptor *) adaptor;
  /external/antlr/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/libchrome/mojo/public/cpp/bindings/lib/
string_traits_wtf.cc 35 UTF8AdaptorInfo* adaptor = static_cast<UTF8AdaptorInfo*>(context); local
38 DCHECK_EQ(adaptor->original_size_in_bytes, input.CharactersSizeInBytes());
40 return adaptor;
  /external/antlr/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/runtime/Python3/unittests/
testtree.py 15 self.adaptor = CommonTreeAdaptor()
55 root_0 = self.adaptor.nil()
58 self.adaptor.addChild(root_0, t)
59 self.adaptor.addChild(root_0, u)
551 self.adaptor = CommonTreeAdaptor()
658 dup = self.adaptor.dupTree(r0)
674 self.adaptor.becomeRoot(newRoot, oldRoot)
686 self.adaptor.becomeRoot(newRoot, oldRoot)
700 self.adaptor.becomeRoot(newRoot, oldRoot)
713 self.adaptor.becomeRoot(newRoot, oldRoot
    [all...]
  /external/antlr/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...]
record-event-listener.rb 14 def initialize( adaptor = nil )
  /external/antlr/runtime/Python3/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);"
989 tree (not just Tree interface). It invokes the adaptor routines
    [all...]
  /external/antlr/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/tool/src/main/antlr3/org/antlr/grammar/v3/
ANTLR.g 165 parser.adaptor = new grammar_Adaptor(parser);
301 /*partial void createTreeAdaptor(ref ITreeAdaptor adaptor)
303 adaptor = new grammar_Adaptor(this);
312 GrammarAST alt = (GrammarAST)adaptor.create(ALT, "ALT");
313 adaptor.addChild(alt, b);
314 adaptor.addChild(alt, adaptor.create(EOA, "<end-of-alt>"));
318 GrammarAST block = (GrammarAST)adaptor.create(BLOCK, b.getToken(), "BLOCK");
319 adaptor.addChild(block, alt);
320 adaptor.addChild(alt, adaptor.create(EOB, "<end-of-block>"))
    [all...]
  /external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
ASTTreeParser.stg 61 if (adaptor.GetParent(retval.Tree)!=null && adaptor.IsNil(adaptor.GetParent(retval.Tree)))
62 retval.Tree = (<ASTLabelType>)adaptor.GetParent(retval.Tree);
79 <ASTLabelType> root_<treeLevel> = (<ASTLabelType>)adaptor.Nil();
103 adaptor.AddChild(root_<enclosingTreeLevel>, root_<treeLevel>);
136 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
138 adaptor.AddChild(root_<treeLevel>, <label>_tree);
169 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
171 root_<treeLevel> = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_<treeLevel>)
    [all...]
  /external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
ASTTreeParser.stg 62 if (adaptor.GetParent(retval.Tree)!=null && adaptor.IsNil(adaptor.GetParent(retval.Tree)))
63 retval.Tree = (<ASTLabelType>)adaptor.GetParent(retval.Tree);
80 <ASTLabelType> root_<treeLevel> = (<ASTLabelType>)adaptor.Nil();
104 adaptor.AddChild(root_<enclosingTreeLevel>, root_<treeLevel>);
137 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
139 adaptor.AddChild(root_<treeLevel>, <label>_tree);
170 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
172 root_<treeLevel> = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_<treeLevel>)
    [all...]
  /external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
ASTTreeParser.stg 58 if ( adaptor.getParent(retval.tree)!=null && adaptor.isNil( adaptor.getParent(retval.tree) ) )
59 retval.tree = (<ASTLabelType>)adaptor.getParent(retval.tree);
76 <ASTLabelType> root_<treeLevel> = (<ASTLabelType>)adaptor.nil();
100 adaptor.addChild(root_<enclosingTreeLevel>, root_<treeLevel>);
133 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
135 adaptor.addChild(root_<treeLevel>, <label>_tree);
166 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
168 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_<treeLevel>)
    [all...]
  /external/antlr/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/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 ) );
  /external/antlr/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);
  /external/antlr/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/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...]
  /external/antlr/tool/src/test/java/org/antlr/test/
TestTrees.java 41 TreeAdaptor adaptor = new CommonTreeAdaptor(); field in class:TestTrees
60 CommonTree root_0 = (CommonTree)adaptor.nil();
63 adaptor.addChild(root_0, t);
64 adaptor.addChild(root_0, u);
179 TreeAdaptor adaptor = new CommonTreeAdaptor(); local
180 adaptor.becomeRoot(newRoot, oldRoot);
192 TreeAdaptor adaptor = new CommonTreeAdaptor(); local
193 adaptor.becomeRoot(newRoot, oldRoot);
207 TreeAdaptor adaptor = new CommonTreeAdaptor(); local
208 adaptor.becomeRoot(newRoot, oldRoot)
221 TreeAdaptor adaptor = new CommonTreeAdaptor(); local
    [all...]
  /external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
TestDotTreeGenerator.cs 53 var adaptor = parser.TreeAdaptor;
56 string output = gen.ToDot( tree, adaptor );

Completed in 1452 milliseconds

1 2 3 45 6 7 8