Home
last modified time | relevance | path

Searched refs:TreeNodeStream (Results 1 – 25 of 48) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeParser.java49 protected TreeNodeStream input;
51 public TreeParser(TreeNodeStream input) { in TreeParser()
56 public TreeParser(TreeNodeStream input, RecognizerSharedState state) { in TreeParser()
69 public void setTreeNodeStream(TreeNodeStream input) { in setTreeNodeStream()
73 public TreeNodeStream getTreeNodeStream() { in getTreeNodeStream()
82 return ((TreeNodeStream)input).LT(1); in getCurrentInputSymbol()
92 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getMissingSymbol()
135 throw new MismatchedTreeNodeException(ttype, (TreeNodeStream)input); in recoverFromMismatchedToken()
152 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getErrorMessage()
DTreeFilter.java86 public TreeFilter(TreeNodeStream input) { in TreeFilter()
89 public TreeFilter(TreeNodeStream input, RecognizerSharedState state) { in TreeFilter()
DTreeRewriter.java44 public TreeRewriter(TreeNodeStream input) { in TreeRewriter()
47 public TreeRewriter(TreeNodeStream input, RecognizerSharedState state) { in TreeRewriter()
DTreeNodeStream.java34 public interface TreeNodeStream extends IntStream { interface
DCommonErrorNode.java78 badText = ((TreeNodeStream)input).toString(start, stop); in getText()
DCommonTreeNodeStream.java37 public class CommonTreeNodeStream extends LookaheadStream<Object> implements TreeNodeStream {
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DRecognitionException.java110 if ( input instanceof TreeNodeStream ) { in RecognitionException()
124 TreeNodeStream nodes = (TreeNodeStream)input; in extractInformationFromTreeNodeStream()
171 else if ( input instanceof TreeNodeStream ) { in getUnexpectedType()
172 TreeNodeStream nodes = (TreeNodeStream)input; in getUnexpectedType()
DMismatchedTreeNodeException.java30 import org.antlr.runtime.tree.TreeNodeStream;
41 public MismatchedTreeNodeException(int expecting, TreeNodeStream input) { in MismatchedTreeNodeException()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java39 public TreeNodeStream newStream(Object t) { in newStream()
43 public String toTokenTypeString(TreeNodeStream stream) { in toTokenTypeString()
50 TreeNodeStream stream = newStream(t); in testSingleNode()
67 TreeNodeStream stream = newStream(t); in test4Nodes()
90 TreeNodeStream stream = newStream(root); in testList()
107 TreeNodeStream stream = newStream(root); in testFlatList()
122 TreeNodeStream stream = newStream(root); in testListWithOneNode()
136 TreeNodeStream stream = newStream(t); in testAoverB()
153 TreeNodeStream stream = newStream(t); in testLT()
181 TreeNodeStream stream = newStream(r0); in testMarkRewindEntire()
[all …]
DTestBufferedTreeNodeStream.java34 import org.antlr.runtime.tree.TreeNodeStream;
40 public TreeNodeStream newStream(Object t) { in newStream()
44 public String toTokenTypeString(TreeNodeStream stream) { in toTokenTypeString()
62 TreeNodeStream stream = newStream(r0); in testSeek()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeParser.java31 import org.antlr.runtime.tree.TreeNodeStream;
48 public DebugTreeParser(TreeNodeStream input, DebugEventListener dbg, RecognizerSharedState state) { in DebugTreeParser()
53 public DebugTreeParser(TreeNodeStream input, RecognizerSharedState state) { in DebugTreeParser()
57 public DebugTreeParser(TreeNodeStream input, DebugEventListener dbg) { in DebugTreeParser()
DDebugTreeNodeStream.java31 import org.antlr.runtime.tree.TreeNodeStream;
38 public class DebugTreeNodeStream implements TreeNodeStream {
41 protected TreeNodeStream input;
47 public DebugTreeNodeStream(TreeNodeStream input, in DebugTreeNodeStream()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DTreeNodeStream.js2 org.antlr.runtime.tree.TreeNodeStream = function() {}; class in org.antlr.runtime.tree
4 org.antlr.lang.extend(org.antlr.runtime.tree.TreeNodeStream,
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DTreeParser.as39 protected var input:TreeNodeStream;
41 public function TreeParser(input:TreeNodeStream, state:RecognizerSharedState = null) {
54 public function set treeNodeStream(input:TreeNodeStream):void {
58 public function get treeNodeStream():TreeNodeStream {
67 return TreeNodeStream(input).LT(1);
114 throw new MismatchedTreeNodeException(ttype, TreeNodeStream(input));
131 var adaptor:TreeAdaptor = TreeNodeStream(e.input).treeAdaptor;
DCommonErrorNode.as52 badText = TreeNodeStream(input).toStringWithRange(start, stop);
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DMismatchedTreeNodeException.as2 import org.antlr.runtime.tree.TreeNodeStream;
7 public function MismatchedTreeNodeException(expecting:int, input:TreeNodeStream) {
DRecognitionException.as30 import org.antlr.runtime.tree.TreeNodeStream;
110 if ( input is TreeNodeStream ) {
124 var nodes:TreeNodeStream = TreeNodeStream(input);
171 else if ( input is TreeNodeStream ) {
172 var nodes:TreeNodeStream = TreeNodeStream(input);
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dexceptions.py117 from antlr3.tree import TreeNodeStream
124 if isinstance(self.input, TreeNodeStream):
181 from antlr3.tree import TreeNodeStream
186 elif isinstance(self.input, TreeNodeStream):
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DRecognitionException.js40 if ( input instanceof org.antlr.runtime.tree.TreeNodeStream ) {
172 else if ( this.input instanceof org.antlr.runtime.tree.TreeNodeStream ) {
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Ddebug.rb111 class TreeNodeStream class
/external/antlr/antlr-3.4/runtime/JavaScript/build/
Dantlr3.properties39 org/antlr/runtime/tree/TreeNodeStream.js,\
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DLeftRecursiveRuleAnalyzer.java7 import org.antlr.runtime.tree.TreeNodeStream;
33 public LeftRecursiveRuleAnalyzer(TreeNodeStream input, Grammar g, String ruleName) { in LeftRecursiveRuleAnalyzer()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCTP.java41 public SimpleCTP(TreeNodeStream input) { in SimpleCTP()
44 public SimpleCTP(TreeNodeStream input, RecognizerSharedState state) { in SimpleCTP()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCTP.java41 public SimpleCTP(TreeNodeStream input) { in SimpleCTP()
44 public SimpleCTP(TreeNodeStream input, RecognizerSharedState state) { in SimpleCTP()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java35 import org.antlr.runtime.tree.TreeNodeStream;
378 … Class[] treeParArgTypes = new Class[]{TreeNodeStream.class}; // assign type to tree parser's args in execTreeParser()

12