Home
last modified time | relevance | path

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

/external/antlr/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/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/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.m44 @synthesize markDepth;
53 markDepth = 0;
88 if ( p == [data count] && markDepth==0 ) {
161 markDepth++;
173 markDepth--;
221 return markDepth;
226 markDepth = anInt;
DLookaheadStream.h42 NSInteger markDepth; variable
51 @property (assign, getter=getMarkDepth, setter=setMarkDepth:) NSInteger markDepth;
DANTLRStringStream.h39 NSInteger markDepth; variable
108 @property (assign) NSInteger markDepth;
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRStringStream.java54 protected int markDepth = 0; field in ANTLRStringStream
94 markDepth = 0; in reset()
161 markDepth++; in mark()
163 if ( markDepth>=markers.size() ) { in mark()
168 state = markers.get(markDepth); in mark()
173 lastMarker = markDepth; in mark()
174 return markDepth; in mark()
195 markDepth = marker; in release()
197 markDepth--; in release()
/external/antlr/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/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/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/runtime/Java/src/main/java/org/antlr/runtime/misc/
DLookaheadStream.java58 protected int markDepth = 0; field in LookaheadStream
86 if ( p == data.size() && markDepth==0 ) { in remove()
137 markDepth++; in mark()
147 markDepth--; in rewind()
/external/antlr/runtime/Python3/unittests/
Dteststreams.py158 self.assertEqual(stream.markDepth, 1)
163 self.assertEqual(stream.markDepth, 2)
178 self.assertEqual(stream.markDepth, 1)
182 self.assertEqual(stream.markDepth, 1)
200 self.assertEqual(stream.markDepth, 1)
215 self.assertEqual(stream.markDepth, 0)
237 self.assertEqual(stream.markDepth, 1)
263 self.assertEqual(stream.markDepth, 1)
286 self.assertEqual(stream.markDepth, 1)
313 self.assertEqual(stream.markDepth, 1)
[all …]
/external/antlr/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/runtime/Python3/antlr3/
Dstreams.py364 self.markDepth = 0
382 self.markDepth = 0
442 if self.markDepth < len(self._markers):
443 self._markers[self.markDepth] = state
446 self.markDepth += 1
448 self.lastMarker = self.markDepth
469 self.markDepth = marker - 1
/external/antlr/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()
465 --input->markDepth; in antlr38BitMark()
475 state = (pANTLR3_LEX_STATE)input->markers->get(input->markers, input->markDepth - 1); in antlr38BitMark()
490 is->lastMarker = input->markDepth; in antlr38BitMark()
494 return input->markDepth; in antlr38BitMark()
566 input->markDepth = (ANTLR3_UINT32)(mark - 1); in antlr38BitRelease()
/external/antlr/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/runtime/C/include/
Dantlr3input.h114 ANTLR3_UINT32 markDepth; member
/external/antlr/runtime/Cpp/include/
Dantlr3input.hpp163 void set_markDepth( ANTLR_UINT32 markDepth );
Dantlr3input.inl228 ANTLR_INLINE void InputStream<ImplTraits>::set_markDepth( ANTLR_UINT32 markDepth ) argument
230 m_markDepth = markDepth;