Method: JMESPath::TokenStream#lookahead

Defined in:
lib/jmespath/token_stream.rb

#lookahead(count) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



30
31
32
# File 'lib/jmespath/token_stream.rb', line 30

def lookahead(count)
  @tokens[@position + count] || Token::NULL_TOKEN
end