Home
last modified time | relevance | path

Searched refs:MIN_TOKEN_INDEX (Results 1 – 8 of 8) sorted by relevance

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js80 MIN_TOKEN_INDEX: 0 property
163 programs[programName] = is.slice(trs.MIN_TOKEN_INDEX, this.instructionIndex);
170 this.rollback(programName, trs.MIN_TOKEN_INDEX);
360 start = trs.MIN_TOKEN_INDEX;
367 for (i=start; i>=trs.MIN_TOKEN_INDEX && i<=end && i<this.tokens.length; i++) {
377 start = trs.MIN_TOKEN_INDEX;
381 start = trs.MIN_TOKEN_INDEX;
399 while ( tokenCursor>=trs.MIN_TOKEN_INDEX &&
446 start = trs.MIN_TOKEN_INDEX;
454 for (i=start; i>=trs.MIN_TOKEN_INDEX && i<=end && i<this.tokens.length; i++) {
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs98 public const int MIN_TOKEN_INDEX = 0; field in Antlr.Runtime.TokenRewriteStream
221 for (int i = MIN_TOKEN_INDEX; i <= instructionIndex; i++) in Rollback()
234 Rollback(programName, MIN_TOKEN_INDEX); in DeleteProgram()
364 return ToOriginalString(MIN_TOKEN_INDEX, Count - 1); in ToOriginalString()
369 for (int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++) { in ToOriginalString()
378 return ToString(MIN_TOKEN_INDEX, Count - 1); in ToString()
383 return ToString(programName, MIN_TOKEN_INDEX, Count - 1); in ToString()
604 return ToDebugString(MIN_TOKEN_INDEX, Count - 1); in ToDebugString()
609 for (int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++) { in ToDebugString()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs102 public const int MIN_TOKEN_INDEX = 0; field in Antlr.Runtime.TokenRewriteStream
250 for ( int i = MIN_TOKEN_INDEX; i <= instructionIndex; i++ ) in Rollback()
265 Rollback( programName, MIN_TOKEN_INDEX ); in DeleteProgram()
421 return ToOriginalString( MIN_TOKEN_INDEX, Count - 1 ); in ToOriginalString()
427 for ( int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++ ) in ToOriginalString()
438 return ToString( MIN_TOKEN_INDEX, Count - 1 ); in ToString()
444 return ToString(programName, MIN_TOKEN_INDEX, Count - 1); in ToString()
716 return ToDebugString( MIN_TOKEN_INDEX, Count - 1 ); in ToDebugString()
722 for ( int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++ ) in ToDebugString()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java86 public static final int MIN_TOKEN_INDEX = 0; field in TokenRewriteStream
198 programs.put(programName, is.subList(MIN_TOKEN_INDEX,instructionIndex)); in rollback()
208 rollback(programName, MIN_TOKEN_INDEX); in deleteProgram()
336 return toOriginalString(MIN_TOKEN_INDEX, size()-1); in toOriginalString()
341 for (int i=start; i>=MIN_TOKEN_INDEX && i<=end && i<tokens.size(); i++) { in toOriginalString()
349 return toString(MIN_TOKEN_INDEX, size()-1); in toString()
354 return toString(programName, MIN_TOKEN_INDEX, size()-1); in toString()
580 return toDebugString(MIN_TOKEN_INDEX, size()-1); in toDebugString()
585 for (int i=start; i>=MIN_TOKEN_INDEX && i<=end && i<tokens.size(); i++) { in toDebugString()
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dstreams.py1079 MIN_TOKEN_INDEX = 0 variable in TokenRewriteStream
1113 p[self.MIN_TOKEN_INDEX:instructionIndex])
1119 self.rollback(programName, self.MIN_TOKEN_INDEX)
1240 start = self.MIN_TOKEN_INDEX
1246 while i >= self.MIN_TOKEN_INDEX and i <= end and i < len(self.tokens):
1260 start = self.MIN_TOKEN_INDEX
1265 start = self.MIN_TOKEN_INDEX
1274 start = self.MIN_TOKEN_INDEX
1512 start = self.MIN_TOKEN_INDEX
1518 while i >= self.MIN_TOKEN_INDEX and i <= end and i < len(self.tokens):
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTokenRewriteStream.m37 static NSInteger MIN_TOKEN_INDEX = 0;
276 [self rollback:programName Index:MIN_TOKEN_INDEX];
429 return [self toOriginalString:MIN_TOKEN_INDEX End:[tokens count]-1];
435 for (int i = start; i >= MIN_TOKEN_INDEX && i <= end && i< [tokens count]; i++) {
445 return [self toStringFromStart:MIN_TOKEN_INDEX ToEnd:[tokens count]-1];
451 …return [self toString:programName FromStart:MIN_TOKEN_INDEX ToEnd:[[programs objectAtIndex:MIN_TOK…
680 return [self toDebugStringFromStart:MIN_TOKEN_INDEX ToEnd:[tokens count]-1];
686 for (int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < [tokens count]; i++) {
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as85 public static const MIN_TOKEN_INDEX:int = 0; constant in org.antlr.runtime.TokenRewriteStream
108 programs[programName] = isn.slice(MIN_TOKEN_INDEX,instructionIndex);
114 rollback(MIN_TOKEN_INDEX, programName);
202 return toOriginalStringWithRange(MIN_TOKEN_INDEX, size-1);
207 for (var i:int=start; i>=MIN_TOKEN_INDEX && i<=end && i<tokens.length; i++) {
214 return toStringWithRange(MIN_TOKEN_INDEX, size-1);
420 return toDebugStringWithRange(MIN_TOKEN_INDEX, size-1);
425 for (var i:int=start; i>=MIN_TOKEN_INDEX && i<=end && i<tokens.length; i++) {
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas2538 MIN_TOKEN_INDEX = 0;
5847 Rollback(ProgramName, MIN_TOKEN_INDEX);
6138 FPrograms[ProgramName] := InstructionStream.GetRange(MIN_TOKEN_INDEX,
6139 InstructionIndex - MIN_TOKEN_INDEX);
6150 Result := ToDebugString(MIN_TOKEN_INDEX, Size - 1);
6160 if (Start >= MIN_TOKEN_INDEX) then
6170 Result := ToOriginalString(MIN_TOKEN_INDEX, Size - 1);
6181 if (Start >= MIN_TOKEN_INDEX) then
6192 Result := ToString(MIN_TOKEN_INDEX, Size - 1);
6197 Result := ToString(ProgramName, MIN_TOKEN_INDEX, Size - 1);