Pegmatite::Pattern::Sequence
Inherits Pegmatite::Pattern < Pegmatite::DSL::Methods < Reference < Object
Pattern::Sequence is used to specify a consecutive sequence of patterns.
Parsing will fail if any child pattern fails, returning that failure result. Otherwise, succeeds and consumes all bytes from all child patterns.
Constructors
Instance methods
_match(source, offset, state) : MatchResult
Sourcedescription
Sourcedsl_name
Sourceinspect(io)
Source