Home
last modified time | relevance | path

Searched refs:TreeAdaptor (Results 1 – 25 of 101) sorted by relevance

12345

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonTreeNodeStream.cs106 public virtual ITreeAdaptor TreeAdaptor property in Antlr.Runtime.Tree.CommonTreeNodeStream
170 if ( _level == 0 && TreeAdaptor.IsNil( t ) ) in NextElement()
186 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; in IsEndOfFile()
191 return TreeAdaptor.GetType( LT( i ) ); in LA()
223 TreeAdaptor.ReplaceChildren( parent, startChildIndex, stopChildIndex, t ); in ReplaceChildren()
242 int type = TreeAdaptor.GetType( o ); in ToTokenTypeString()
249 type = TreeAdaptor.GetType( o ); in ToTokenTypeString()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTreeNodeStream.cs97 public virtual ITreeAdaptor TreeAdaptor { property in Antlr.Runtime.Tree.CommonTreeNodeStream
147 if (_level == 0 && TreeAdaptor.IsNil(t)) { in NextElement()
161 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; in IsEndOfFile()
165 return TreeAdaptor.GetType(LT(i)); in LA()
192 TreeAdaptor.ReplaceChildren(parent, startChildIndex, stopChildIndex, t); in ReplaceChildren()
209 int type = TreeAdaptor.GetType(o); in ToTokenTypeString()
215 type = TreeAdaptor.GetType(o); in ToTokenTypeString()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeIterator.java41 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testNode()
52 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testFlatAB()
63 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testAB()
74 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testABC()
85 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testVerticalList()
96 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testComplex()
107 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testReset()
DTestTrees.java35 import org.antlr.runtime.tree.TreeAdaptor;
39 TreeAdaptor adaptor = new CommonTreeAdaptor();
176 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testBecomeRoot()
189 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testBecomeRoot2()
204 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testBecomeRoot3()
218 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testBecomeRoot5()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DASTDbg.stg38 public ITreeAdaptor TreeAdaptor
51 <grammar.directDelegates:{g|<g:delegateName()>.TreeAdaptor = this.adaptor;}>
61 … proxy = new DebugEventSocketProxy( this, port, <if(TREE_PARSER)>input.TreeAdaptor<else>adaptor<en…
76 TreeAdaptor = adap;
77 proxy.TreeAdaptor = adap;
82 TreeAdaptor = adap;
90 TreeAdaptor = adap;<\n>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DASTDbg.stg42 public ITreeAdaptor TreeAdaptor
55 <grammar.directDelegates:{g|<g:delegateName()>.TreeAdaptor = this.adaptor;}>
65 … proxy = new DebugEventSocketProxy( this, port, <if(TREE_PARSER)>input.TreeAdaptor<else>adaptor<en…
80 TreeAdaptor = adap;
81 proxy.TreeAdaptor = adap;
86 TreeAdaptor = adap;
94 TreeAdaptor = adap;<\n>
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DRewriteRuleNodeStream.java37 public RewriteRuleNodeStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleNodeStream()
42 public RewriteRuleNodeStream(TreeAdaptor adaptor, in RewriteRuleNodeStream()
50 public RewriteRuleNodeStream(TreeAdaptor adaptor, in RewriteRuleNodeStream()
DDOTTreeGenerator.java80 TreeAdaptor adaptor, in toDOT()
99 TreeAdaptor adaptor) in toDOT()
126 TreeAdaptor adaptor, in toDOTDefineNodes()
153 TreeAdaptor adaptor, in toDOTDefineEdges()
184 protected StringTemplate getNodeST(TreeAdaptor adaptor, Object t) { in getNodeST()
DRewriteRuleElementStream.java75 protected TreeAdaptor adaptor;
77 public RewriteRuleElementStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleElementStream()
83 public RewriteRuleElementStream(TreeAdaptor adaptor, in RewriteRuleElementStream()
92 public RewriteRuleElementStream(TreeAdaptor adaptor, in RewriteRuleElementStream()
DRewriteRuleTokenStream.java36 public RewriteRuleTokenStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleTokenStream()
41 public RewriteRuleTokenStream(TreeAdaptor adaptor, in RewriteRuleTokenStream()
49 public RewriteRuleTokenStream(TreeAdaptor adaptor, in RewriteRuleTokenStream()
DRewriteRuleSubtreeStream.java34 public RewriteRuleSubtreeStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleSubtreeStream()
39 public RewriteRuleSubtreeStream(TreeAdaptor adaptor, in RewriteRuleSubtreeStream()
47 public RewriteRuleSubtreeStream(TreeAdaptor adaptor, in RewriteRuleSubtreeStream()
DCommonTreeNodeStream.java48 TreeAdaptor adaptor;
66 public CommonTreeNodeStream(TreeAdaptor adaptor, Object tree) { in CommonTreeNodeStream()
112 public TreeAdaptor getTreeAdaptor() { return adaptor; } in getTreeAdaptor()
114 public void setTreeAdaptor(TreeAdaptor adaptor) { this.adaptor = adaptor; } in setTreeAdaptor()
DTreeWizard.java54 protected TreeAdaptor adaptor;
122 public TreeWizard(TreeAdaptor adaptor) { in TreeWizard()
126 public TreeWizard(TreeAdaptor adaptor, Map tokenNameToTypeMap) { in TreeWizard()
131 public TreeWizard(TreeAdaptor adaptor, String[] tokenNames) { in TreeWizard()
394 public static boolean equals(Object t1, Object t2, TreeAdaptor adaptor) { in equals()
405 protected static boolean _equals(Object t1, Object t2, TreeAdaptor adaptor) { in _equals()
DTreeParser.java92 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getMissingSymbol()
152 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getErrorMessage()
179 public static boolean inContext(TreeAdaptor adaptor, in inContext()
222 …protected static Object getAncestor(TreeAdaptor adaptor, String[] tokenNames, Object t, String goa… in getAncestor()
DTreeVisitor.java35 protected TreeAdaptor adaptor;
37 public TreeVisitor(TreeAdaptor adaptor) { in TreeVisitor()
DBufferedTreeNodeStream.java106 TreeAdaptor adaptor;
126 public BufferedTreeNodeStream(TreeAdaptor adaptor, Object tree) { in BufferedTreeNodeStream()
130 public BufferedTreeNodeStream(TreeAdaptor adaptor, Object tree, int initialBufferSize) { in BufferedTreeNodeStream()
282 public TreeAdaptor getTreeAdaptor() { in getTreeAdaptor()
286 public void setTreeAdaptor(TreeAdaptor adaptor) { in setTreeAdaptor()
DTreeIterator.java42 protected TreeAdaptor adaptor;
61 public TreeIterator(TreeAdaptor adaptor, Object tree) { in TreeIterator()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParserDebugger.cs33 TreeAdaptor = adap; in ParserDebugger()
34 proxy.TreeAdaptor = adap; in ParserDebugger()
39 TreeAdaptor = adap; in ParserDebugger()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DASTDbg.stg35 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/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java33 import org.antlr.runtime.tree.TreeAdaptor;
47 public class DebugTreeAdaptor implements TreeAdaptor {
49 protected TreeAdaptor adaptor;
51 public DebugTreeAdaptor(DebugEventListener dbg, TreeAdaptor adaptor) { in DebugTreeAdaptor()
247 public TreeAdaptor getTreeAdaptor() { in getTreeAdaptor()
DDebugEventSocketProxy.java33 import org.antlr.runtime.tree.TreeAdaptor;
61 protected TreeAdaptor adaptor;
63 public DebugEventSocketProxy(BaseRecognizer recognizer, TreeAdaptor adaptor) { in DebugEventSocketProxy()
67 public DebugEventSocketProxy(BaseRecognizer recognizer, int port, TreeAdaptor adaptor) { in DebugEventSocketProxy()
322 public void setTreeAdaptor(TreeAdaptor adaptor) { this.adaptor = adaptor; } in setTreeAdaptor()
323 public TreeAdaptor getTreeAdaptor() { return adaptor; } in getTreeAdaptor()
DDebugTreeNodeStream.java30 import org.antlr.runtime.tree.TreeAdaptor;
40 protected TreeAdaptor adaptor;
60 public TreeAdaptor getTreeAdaptor() { in getTreeAdaptor()
DTraceDebugEventListener.java31 import org.antlr.runtime.tree.TreeAdaptor;
35 TreeAdaptor adaptor;
37 public TraceDebugEventListener(TreeAdaptor adaptor) { in TraceDebugEventListener()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DASTDbg.stg9 adaptor.is_a?( ANTLR3::Debug::TreeAdaptor ) ? adaptor :
10 ANTLR3::Debug::TreeAdaptor.wrap( adaptor, @debug_listener )
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTreeNodeStream.cs56 this.adaptor = input.TreeAdaptor; in DebugTreeNodeStream()
80 public virtual ITreeAdaptor TreeAdaptor { property in Antlr.Runtime.Debug.DebugTreeNodeStream

12345