Lines Matching refs:stop
182 public IList<SlimToken> GetTokens( int start, int stop ) in GetTokens() argument
184 return GetTokens( start, stop, (BitSet)null ); in GetTokens()
193 public IList<SlimToken> GetTokens( int start, int stop, BitSet types ) in GetTokens() argument
199 if ( stop >= tokens.Count ) in GetTokens()
201 stop = tokens.Count - 1; in GetTokens()
207 if ( start > stop ) in GetTokens()
214 for ( int i = start; i <= stop; i++ ) in GetTokens()
229 public IList<SlimToken> GetTokens( int start, int stop, IList<int> types ) in GetTokens() argument
231 return GetTokens( start, stop, new BitSet( types ) ); in GetTokens()
234 public IList<SlimToken> GetTokens( int start, int stop, int ttype ) in GetTokens() argument
236 return GetTokens( start, stop, BitSet.Of( ttype ) ); in GetTokens()
397 public virtual string ToString( int start, int stop ) in ToString() argument
399 if ( start < 0 || stop < 0 ) in ToString()
407 if ( stop >= tokens.Count ) in ToString()
409 stop = tokens.Count - 1; in ToString()
412 for ( int i = start; i <= stop; i++ ) in ToString()
429 public virtual string ToString( IToken start, IToken stop ) in ToString() argument
431 if ( start != null && stop != null ) in ToString()
433 return ToString( start.TokenIndex, stop.TokenIndex ); in ToString()