Specify several alternate patterns in "OR" relation.

Hierarchy (View Summary)

Constructors

Properties

choices: Pattern[] = []

Methods

  • Recognize part of the input name.

    Parameters

    • state: MatchState

    Returns Iterable<MatchState, any, any>

    Iterable of potential matches.

  • Build part of an output name.

    Parameters

    Returns Iterable<BuildState, any, any>

    Iterable of potential constructions.