class Pegmatite::Pattern::EOF
- Pegmatite::Pattern::EOF
- Pegmatite::Pattern
- Reference
- Object
Overview
Pattern::EOF specifies that the end of the source must follow after the child pattern has been parsed successfully.
If the child pattern doesn't match, its result is returned. Fails if the cursor hasn't reached the end of the source. Otherwise, the result of the child pattern is returned.