Home
last modified time | relevance | path

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

1234

/external/antlr/runtime/ObjC/Framework/
DTreeParser.h34 id<TreeNodeStream> input;
37 @property (retain, getter=input, setter=setInput:) id<TreeNodeStream> input;
39 + (id) newTreeParser:(id<TreeNodeStream>)anInput;
40 + (id) newTreeParser:(id<TreeNodeStream>)anInput State:(RecognizerSharedState *)state;
42 - (id) initWithStream:(id<TreeNodeStream>)theInput;
43 - (id) initWithStream:(id<TreeNodeStream>)theInput
47 - (id<TreeNodeStream>)input;
48 - (void) setInput:(id<TreeNodeStream>)anInput;
50 - (void) setTreeNodeStream:(id<TreeNodeStream>) anInput;
51 - (id<TreeNodeStream>) getTreeNodeStream;
DDebugTreeNodeStream.h32 @interface DebugTreeNodeStream : NSObject <TreeNodeStream> {
35 id<TreeNodeStream> input;
39 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream debugListener:(id<DebugEventListener>)d…
44 - (id<TreeNodeStream>) input;
45 - (void) setInput: (id<TreeNodeStream>) aTreeNodeStream;
50 #pragma mark TreeNodeStream conformance
DTreeParser.m33 + (id) newTreeParser:(id<TreeNodeStream>)anInput
38 + (id) newTreeParser:(id<TreeNodeStream>)anInput State:(RecognizerSharedState *)theState
43 - (id) initWithStream:(id<TreeNodeStream>)theInput
51 - (id) initWithStream:(id<TreeNodeStream>)theInput State:(RecognizerSharedState *)theState
80 [mte setNode:[((id<TreeNodeStream>)aStream) LT:1]];
84 - (void) setTreeNodeStream:(id<TreeNodeStream>) anInput
89 - (id<TreeNodeStream>) getTreeNodeStream
101 return [(id<TreeNodeStream>)anInput LT:1];
110 //id<TreeAdaptor> anAdaptor = (id<TreeAdaptor>)[((id<TreeNodeStream>)e.input) getTreeAdaptor];
171 … CommonTreeAdaptor *adaptor = (CommonTreeAdaptor *)[((id<TreeNodeStream>)e.input) getTreeAdaptor];
DTreeRewriter.h58 + (TreeRewriter *) newTreeRewriter:(id<TreeNodeStream>)anInput;
59 + (TreeRewriter *) newTreeRewriter:(id<TreeNodeStream>)anInput State:(RecognizerSharedState *)aStat…
60 - (id)initWithStream:(id<TreeNodeStream>)anInput;
61 - (id)initWithStream:(id<TreeNodeStream>)anInput State:(RecognizerSharedState *)aState;
DDebugTreeParser.h36 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream;
37 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream
40 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream
DTreeFilter.h178 + (id) newTreeFilter:(id<TreeNodeStream>)input;
180 + (id) newTreeFilter:(id<TreeNodeStream>)input State:(RecognizerSharedState *)state;
182 - (id) initWithStream:(id<TreeNodeStream>)anInput State:(RecognizerSharedState *)aState;
DDebugTreeNodeStream.m32 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream debugListener:(id<DebugEventListener>)d…
81 - (id<TreeNodeStream>) input
86 - (void) setInput:(id<TreeNodeStream>) aTreeNodeStream
90 [(id<TreeNodeStream,NSObject>)aTreeNodeStream retain];
96 #pragma mark TreeNodeStream conformance
DDebugTreeParser.m32 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream
37 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream
43 - (id) initWithTreeNodeStream:(id<TreeNodeStream>)theStream
48 id<TreeNodeStream> treeNodeStream = nil;
DRecognitionException.m30 #import "TreeNodeStream.h"
83 } else if ([inputClass conformsToProtocol:@protocol(TreeNodeStream)]) {
84 [self setNode:[(id<TreeNodeStream>)input LT:1]];
104 if ( [input conformsToProtocol:objc_getProtocol("TreeNodeStream")] ) {
141 - (void) extractInformationFromTreeNodeStream:(id<TreeNodeStream>)anInput
143 id<TreeNodeStream> nodes = anInput;
/external/antlr/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()
70 public void setTreeNodeStream(TreeNodeStream input) { in setTreeNodeStream()
74 public TreeNodeStream getTreeNodeStream() { in getTreeNodeStream()
85 return ((TreeNodeStream)input).LT(1); in getCurrentInputSymbol()
96 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getMissingSymbol()
141 throw new MismatchedTreeNodeException(ttype, (TreeNodeStream)input); in recoverFromMismatchedToken()
160 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()
/external/antlr/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java41 public TreeNodeStream newStream(Object t) { in newStream()
45 public String toTokenTypeString(TreeNodeStream stream) { in toTokenTypeString()
52 TreeNodeStream stream = newStream(t); in testSingleNode()
69 TreeNodeStream stream = newStream(t); in test4Nodes()
92 TreeNodeStream stream = newStream(root); in testList()
109 TreeNodeStream stream = newStream(root); in testFlatList()
124 TreeNodeStream stream = newStream(root); in testListWithOneNode()
138 TreeNodeStream stream = newStream(t); in testAoverB()
155 TreeNodeStream stream = newStream(t); in testLT()
183 TreeNodeStream stream = newStream(r0); in testMarkRewindEntire()
[all …]
DTestBufferedTreeNodeStream.java34 import org.antlr.runtime.tree.TreeNodeStream;
43 public TreeNodeStream newStream(Object t) { in newStream()
48 public String toTokenTypeString(TreeNodeStream stream) { in toTokenTypeString()
66 TreeNodeStream stream = newStream(r0); in testSeek()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DRecognitionException.java110 if ( input instanceof TreeNodeStream ) { in RecognitionException()
124 TreeNodeStream nodes = (TreeNodeStream)input; in extractInformationFromTreeNodeStream()
187 else if ( input instanceof TreeNodeStream ) { in getUnexpectedType()
188 TreeNodeStream nodes = (TreeNodeStream)input; in getUnexpectedType()
DMismatchedTreeNodeException.java30 import org.antlr.runtime.tree.TreeNodeStream;
40 public MismatchedTreeNodeException(int expecting, TreeNodeStream input) { in MismatchedTreeNodeException()
/external/antlr/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/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;
/external/antlr/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/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/runtime/Python3/antlr3/
Dexceptions.py117 from .tree import TreeNodeStream
124 if isinstance(self.input, TreeNodeStream):
181 from .tree import TreeNodeStream
186 elif isinstance(self.input, TreeNodeStream):
/external/antlr/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/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 ) {

1234