Class | Parslet::Atoms::Lookahead |
In: |
lib/parslet/atoms/lookahead.rb
lib/parslet/atoms/visitor.rb |
Parent: | Parslet::Atoms::Base |
Either positive or negative lookahead, doesn‘t consume its input.
Example:
str('foo').present? # matches when the input contains 'foo', but leaves it
bound_parslet | [R] | |
positive | [R] |