Lines Matching refs:stop
259 public virtual IList<IToken> GetTokens( int start, int stop ) in GetTokens() argument
261 return GetTokens( start, stop, (BitSet)null ); in GetTokens()
270 public virtual IList<IToken> GetTokens( int start, int stop, BitSet types ) in GetTokens() argument
276 if ( stop >= tokens.Count ) in GetTokens()
278 stop = tokens.Count - 1; in GetTokens()
284 if ( start > stop ) in GetTokens()
291 for ( int i = start; i <= stop; i++ ) in GetTokens()
306 public virtual IList<IToken> GetTokens( int start, int stop, IList<int> types ) in GetTokens() argument
308 return GetTokens( start, stop, new BitSet( types ) ); in GetTokens()
311 public virtual IList<IToken> GetTokens( int start, int stop, int ttype ) in GetTokens() argument
313 return GetTokens( start, stop, BitSet.Of( ttype ) ); in GetTokens()
494 public virtual string ToString( int start, int stop ) in ToString() argument
496 if ( start < 0 || stop < 0 ) in ToString()
504 if ( stop >= tokens.Count ) in ToString()
506 stop = tokens.Count - 1; in ToString()
509 for ( int i = start; i <= stop; i++ ) in ToString()
517 public virtual string ToString( IToken start, IToken stop ) in ToString() argument
519 if ( start != null && stop != null ) in ToString()
521 return ToString( start.TokenIndex, stop.TokenIndex ); in ToString()