Home
last modified time | relevance | path

Searched refs:markDepth (Results 1 – 23 of 23) sorted by relevance

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRStringStream.js38 this.markDepth = 0;
85 this.markDepth = 0;
160 this.markDepth++;
162 if ( this.markDepth>=this.markers.length ) {
167 state = this.markers[this.markDepth];
172 this.lastMarker = this.markDepth;
173 return this.markDepth;
214 this.markDepth = marker;
216 this.markDepth--;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRStringStream.m39 @synthesize markDepth;
69 markDepth = 0;
87 markDepth = 0;
104 markDepth = 0;
121 markDepth = 0;
159 copy.markDepth = markDepth;
175 markDepth = 0;
232 if (debug > 1) NSLog(@"mark entry -- markers=%x, markDepth=%d\n", (int)markers, markDepth);
236 markDepth = markers.ptr;
238 markDepth++;
[all …]
DLookaheadStream.h51 protected int markDepth = 0; variable
72 if ( p == data.size() && markDepth==0 ) { in remove()
139 markDepth++; in mark()
149 markDepth--; in rewind()
DANTLRLookaheadStream.m44 @synthesize markDepth;
53 markDepth = 0;
88 if ( p == [data count] && markDepth==0 ) {
161 markDepth++;
173 markDepth--;
221 return markDepth;
226 markDepth = anInt;
DANTLRLookaheadStream.h42 NSInteger markDepth; variable
51 @property (assign, getter=getMarkDepth, setter=setMarkDepth:) NSInteger markDepth;
DANTLRStringStream.h39 NSInteger markDepth; variable
103 @property (assign) NSInteger markDepth;
DLookaheadStream.m51 protected int markDepth = 0;
72 if ( p == data.size() && markDepth==0 ) {
139 markDepth++;
149 markDepth--;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimStringStream.cs67 protected int markDepth = 0; field in Antlr.Runtime.SlimStringStream
186 markDepth = 0; in Reset()
256 markDepth++; in Mark()
258 if ( markDepth >= markers.Count ) in Mark()
265 state = markers[markDepth]; in Mark()
272 lastMarker = markDepth; in Mark()
273 return markDepth; in Mark()
296 markDepth = marker; in Release()
298 markDepth--; in Release()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRStringStream.java54 protected int markDepth = 0; field in ANTLRStringStream
94 markDepth = 0; in reset()
155 markDepth++; in mark()
157 if ( markDepth>=markers.size() ) { in mark()
162 state = (CharStreamState)markers.get(markDepth); in mark()
167 lastMarker = markDepth; in mark()
168 return markDepth; in mark()
186 markDepth = marker; in release()
188 markDepth--; in release()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRStringStream.cs63 protected int markDepth = 0; field in Antlr.Runtime.ANTLRStringStream
149 markDepth = 0; in Reset()
204 markDepth++; in Mark()
206 if (markDepth >= markers.Count) { in Mark()
210 state = markers[markDepth]; in Mark()
215 lastMarker = markDepth; in Mark()
216 return markDepth; in Mark()
240 markDepth = marker; in Release()
242 markDepth--; in Release()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRStringStream.cs65 protected int markDepth = 0; field in Antlr.Runtime.ANTLRStringStream
165 markDepth = 0; in Reset()
233 markDepth++; in Mark()
235 if ( markDepth >= markers.Count ) in Mark()
242 state = markers[markDepth]; in Mark()
247 lastMarker = markDepth; in Mark()
248 return markDepth; in Mark()
275 markDepth = marker; in Release()
277 markDepth--; in Release()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DANTLRStringStream.as47 protected var markDepth:int = 0;
51 * move through the input stream. Indexed from 1..markDepth.
80 markDepth = 0;
132 markDepth++;
134 if ( markDepth>=markers.length ) {
139 state = CharStreamState(markers[markDepth]);
144 lastMarker = markDepth;
145 return markDepth;
163 markDepth = marker;
165 markDepth--;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DLookaheadStream.java58 protected int markDepth = 0; field in LookaheadStream
81 if ( p == data.size() && markDepth==0 ) { in remove()
130 markDepth++; in mark()
140 markDepth--; in rewind()
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dteststreams.py159 self.failUnlessEqual(stream.markDepth, 1)
164 self.failUnlessEqual(stream.markDepth, 2)
179 self.failUnlessEqual(stream.markDepth, 1)
183 self.failUnlessEqual(stream.markDepth, 1)
201 self.failUnlessEqual(stream.markDepth, 1)
216 self.failUnlessEqual(stream.markDepth, 0)
238 self.failUnlessEqual(stream.markDepth, 1)
264 self.failUnlessEqual(stream.markDepth, 1)
287 self.failUnlessEqual(stream.markDepth, 1)
314 self.failUnlessEqual(stream.markDepth, 1)
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRLookaheadStream.h42 NSInteger markDepth; variable
48 @property (assign, getter=getMarkDepth, setter=setMarkDepth) NSInteger markDepth;
DANTLRStringStream.h39 NSInteger markDepth; variable
51 @property (getter=getMarkDepth,setter=setMarkDepth:) NSInteger markDepth;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRLookaheadStream.h42 NSInteger markDepth; variable
48 @property (assign, getter=getMarkDepth, setter=setMarkDepth) NSInteger markDepth;
DANTLRStringStream.h39 NSInteger markDepth; variable
51 @property (getter=getMarkDepth,setter=setMarkDepth:) NSInteger markDepth;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRLookaheadStream.h42 NSInteger markDepth; variable
48 @property (assign, getter=getMarkDepth, setter=setMarkDepth) NSInteger markDepth;
DANTLRStringStream.h39 NSInteger markDepth; variable
51 @property (getter=getMarkDepth,setter=setMarkDepth:) NSInteger markDepth;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3inputstream.c268 input->markDepth = 0; /* Reset markers */ in antlr3InputReset()
454 input->markDepth++; in antlr38BitMark()
459 if (input->markDepth > input->markers->count) in antlr38BitMark()
469 state = (pANTLR3_LEX_STATE)input->markers->get(input->markers, input->markDepth - 1); in antlr38BitMark()
484 is->lastMarker = input->markDepth; in antlr38BitMark()
488 return input->markDepth; in antlr38BitMark()
559 input->markDepth = (ANTLR3_UINT32)(mark - 1); in antlr38BitRelease()
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dstreams.py366 self.markDepth = 0
446 self._markers[self.markDepth] = state
449 self.markDepth += 1
451 self.lastMarker = self.markDepth
472 self.markDepth = marker-1
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3input.h114 ANTLR3_UINT32 markDepth; member