asAlternatives property

ElementSequence get asAlternatives

Returns the alternatives for backtracking: the sequence and an empty match.

Implementation

Iterable<Element> get asAlternatives => [sequence, EmptyElement(toString())];