Lines Matching refs:IToken
61 protected List<IToken> tokens;
86 tokens = new List<IToken>(500); in LegacyCommonTokenStream()
133 IToken t = _tokenSource.NextToken(); in FillBuffer()
188 while (i < n && ((IToken)tokens[i]).Channel != channel) { in SkipOffTokenChannels()
195 while (i >= 0 && ((IToken)tokens[i]).Channel != channel) { in SkipOffTokenChannelsReverse()
227 public virtual IList<IToken> GetTokens() { in GetTokens()
234 public virtual IList<IToken> GetTokens(int start, int stop) { in GetTokens()
244 public virtual IList<IToken> GetTokens(int start, int stop, BitSet types) { in GetTokens()
259 IList<IToken> filteredTokens = new List<IToken>(); in GetTokens()
261 IToken t = tokens[i]; in GetTokens()
272 public virtual IList<IToken> GetTokens(int start, int stop, IList<int> types) { in GetTokens()
276 public virtual IList<IToken> GetTokens(int start, int stop, int ttype) { in GetTokens()
285 public virtual IToken LT(int k) { in LT()
315 return (IToken)tokens[i]; in LT()
319 protected virtual IToken LB(int k) { in LB()
342 return (IToken)tokens[i]; in LB()
350 public virtual IToken Get(int i) { in Get()
351 return (IToken)tokens[i]; in Get()
356 public virtual List<IToken> Get(int start, int count) in Get()
366 return new List<IToken>(tokens.Skip(start).Take(count)); in Get()
440 IToken t = tokens[i]; in ToString()
446 public virtual string ToString(IToken start, IToken stop) { in ToString()