class Pegmatite::Pattern::Sequence
- Pegmatite::Pattern::Sequence
- Pegmatite::Pattern
- Reference
- Object
Overview
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.
Defined in:
pegmatite/pattern/sequence.crConstructors
Instance Method Summary
-
#>>(other)
Override this DSL operator to accrue into the existing sequence.
- #_match(source, offset, state) : MatchResult
- #description
- #dsl_name
- #inspect(io)