Lines Matching refs:stop
322 public virtual List<IToken> GetTokens(int start, int stop) in GetTokens() argument
324 return GetTokens(start, stop, default(BitSet)); in GetTokens()
331 public virtual List<IToken> GetTokens(int start, int stop, BitSet types) in GetTokens() argument
335 if (stop >= _tokens.Count) in GetTokens()
336 stop = _tokens.Count - 1; in GetTokens()
339 if (start > stop) in GetTokens()
344 for (int i = start; i <= stop; i++) in GetTokens()
359 public virtual List<IToken> GetTokens(int start, int stop, IEnumerable<int> types) in GetTokens() argument
361 return GetTokens(start, stop, new BitSet(types)); in GetTokens()
364 public virtual List<IToken> GetTokens(int start, int stop, int ttype) in GetTokens() argument
366 return GetTokens(start, stop, BitSet.Of(ttype)); in GetTokens()
378 public virtual string ToString(int start, int stop) in ToString() argument
380 if (start < 0 || stop < 0) in ToString()
384 if (stop >= _tokens.Count) in ToString()
385 stop = _tokens.Count - 1; in ToString()
388 for (int i = start; i <= stop; i++) in ToString()
399 public virtual string ToString(IToken start, IToken stop) in ToString() argument
401 if (start != null && stop != null) in ToString()
403 return ToString(start.TokenIndex, stop.TokenIndex); in ToString()