Pegmatite::Pattern::DynamicMatch
Inherits Pegmatite::Pattern < Pegmatite::DSL::Methods < Reference < Object
Pattern::DynamicMatch is used to match against a stored dynamic match value and consume the string that matches the stored dynamic match.
Parsing will fail if the bytes in the stream don't exactly match the dynamic match. Otherwise, the pattern succeeds, consuming the matched bytes.
Constructors
Instance methods
_match(source, offset, state) : MatchResult
Sourcedescription
Sourcedsl_name
Sourceinspect(io)
Source