class Rattler::Parsers::Predicate
A Predicate
is a parser that either succeeds or fails and never consumes any input or captures any parse results.
Public Instance Methods
capturing?()
click to toggle source
(see Parser#capturing?
)
# File lib/rattler/parsers/predicate.rb, line 16 def capturing? false end
capturing_decidable?()
click to toggle source
(see Parser#capturing_decidable?
)
# File lib/rattler/parsers/predicate.rb, line 21 def capturing_decidable? true end