vendor/bundle/ruby/2.5.0/gems/parslet-1.5.0/lib/parslet/source.rb
# Consumes n characters from the input, returning them as a slice of the
# input. 
#
Consumes n characters from the input, returning them as a slice of the
input.
Consumes n characters from the input returning them as a slice of the input .
def consume(n)
      slice_str = @str.slice(@pos, n)
      slice = Parslet::Slice.new(
        slice_str, 
        pos,
        @line_cache)
      @pos += slice_str.size
      return slice
    end
def consume ( n ) slice_str = @str . slice ( @pos , n ) slice = Parslet :: Slice . new ( slice_str , pos , @line_cache ) @pos += slice_str . size return slice end
Consumes n characters from the input, returning them as a slice of the
input.
Consumes n characters from the input returning them as a slice of the input .
n
<not_specific>