# File lib/parslet/slice.rb, line 32
  def initialize(string, offset, line_cache=nil)
    @str, @offset = string, offset
    @line_cache = line_cache
  end