abstract class Pegmatite::Pattern

Included Modules

Direct Known Subclasses

Defined in:

pegmatite/pattern.cr

Instance Method Summary

Instance methods inherited from module Pegmatite::DSL::Methods

>>(other) >>, ^(other) ^, |(other) |, ~ ~, dynamic_pop(label) dynamic_pop, dynamic_push(label) dynamic_push, maybe maybe, named(label, tokenize = true) named, repeat(min = 0, max = nil) repeat, repeat_exactly(times) repeat_exactly, then_eof then_eof

Instance Method Detail

abstract def _match(source, offset, state) : MatchResult #

[View source]
def match(source, offset, state) : MatchResult #

[View source]