Lines Matching defs:start_index
224 attr_accessor :start_index
377 | start = #{ start_index.inspect }
382 freshen( start_index )
475 @start_index = -1
481 @start_index = payload.start_index
525 def start_index
526 @start_index == -1 and @token and return @token.index
527 return @start_index
535 alias token_start_index= start_index=
537 alias token_start_index start_index
546 @start_index .. @stop_index
560 if empty? and @start_index < 0 || @stop_index < 0
561 @start_index = @stop_index = @token.index rescue -1
565 return if @start_index >= 0 and @stop_index >= 0
567 @start_index = first.start_index
573 @start_index < 0 or @stop_index < 0
784 tree.start_index = start
1207 start_index = @adaptor.token_start_index( start )
1208 return @token_stream.extract_text( start_index, stop_index )
1210 start_index = @nodes.index( start ) || @nodes.length
1213 @nodes[ start_index .. stop_index ].map do | n |