alias Pegmatite::Pattern::MatchResult

Overview

Calling a match method will return the number of bytes consumed, followed in the tuple by either MatchOK or a Pattern instance, the latter indicating that the indicated pattern failed to match.

Alias Definition

{Int32, Array({Symbol, Int32, Int32}) | Pegmatite::Pattern | {Symbol, Int32, Int32} | Nil}

Defined in:

pegmatite/pattern.cr