alias Pegmatite::Pattern::MatchOK

Overview

A successful match returns zero, one, or many tokens. We treat zero (Nil) and one (Token) as special cases so that we don't have to pay to allocate an Array(Token) on every single match method call.

Alias Definition

Array({Symbol, Int32, Int32}) | {Symbol, Int32, Int32} | Nil

Defined in:

pegmatite/pattern.cr