Lines Matching refs:stop
234 public virtual IList<IToken> GetTokens(int start, int stop) { in GetTokens() argument
235 return GetTokens(start, stop, (BitSet)null); in GetTokens()
244 public virtual IList<IToken> GetTokens(int start, int stop, BitSet types) { in GetTokens() argument
248 if (stop >= tokens.Count) { in GetTokens()
249 stop = tokens.Count - 1; in GetTokens()
254 if (start > stop) { in GetTokens()
260 for (int i = start; i <= stop; i++) { in GetTokens()
272 public virtual IList<IToken> GetTokens(int start, int stop, IList<int> types) { in GetTokens() argument
273 return GetTokens(start, stop, new BitSet(types)); in GetTokens()
276 public virtual IList<IToken> GetTokens(int start, int stop, int ttype) { in GetTokens() argument
277 return GetTokens(start, stop, BitSet.Of(ttype)); in GetTokens()
428 public virtual string ToString(int start, int stop) { in ToString() argument
429 if (start < 0 || stop < 0) { in ToString()
435 if (stop >= tokens.Count) { in ToString()
436 stop = tokens.Count - 1; in ToString()
439 for (int i = start; i <= stop; i++) { in ToString()
446 public virtual string ToString(IToken start, IToken stop) { in ToString() argument
447 if (start != null && stop != null) { in ToString()
448 return ToString(start.TokenIndex, stop.TokenIndex); in ToString()