Lines Matching refs:stop
283 public virtual List<IToken> GetTokens(int start, int stop) { in GetTokens() argument
284 return GetTokens(start, stop, default(BitSet)); in GetTokens()
291 public virtual List<IToken> GetTokens(int start, int stop, BitSet types) { in GetTokens() argument
294 if (stop >= _tokens.Count) in GetTokens()
295 stop = _tokens.Count - 1; in GetTokens()
298 if (start > stop) in GetTokens()
303 for (int i = start; i <= stop; i++) { in GetTokens()
315 public virtual List<IToken> GetTokens(int start, int stop, IEnumerable<int> types) { in GetTokens() argument
316 return GetTokens(start, stop, new BitSet(types)); in GetTokens()
319 public virtual List<IToken> GetTokens(int start, int stop, int ttype) { in GetTokens() argument
320 return GetTokens(start, stop, BitSet.Of(ttype)); in GetTokens()
331 public virtual string ToString(int start, int stop) { in ToString() argument
332 if (start < 0 || stop < 0) in ToString()
336 if (stop >= _tokens.Count) in ToString()
337 stop = _tokens.Count - 1; in ToString()
340 for (int i = start; i <= stop; i++) { in ToString()
350 public virtual string ToString(IToken start, IToken stop) { in ToString() argument
351 if (start != null && stop != null) { in ToString()
352 return ToString(start.TokenIndex, stop.TokenIndex); in ToString()