class Pegmatite::Pattern::Literal
- Pegmatite::Pattern::Literal
- Pegmatite::Pattern
- Reference
- Object
Overview
Pattern::Literal is used to consume a specific string.
Parsing will fail if the bytes in the stream don't exactly match the string. Otherwise, the pattern succeeds, consuming the matched bytes.