Type alias Match<TValue>

Match<TValue>: {
    matched: true;
    position: number;
    value: TValue;
}

Matched (successful) result from a Parser/Matcher.

Type Parameters

  • TValue

Type declaration

  • matched: true
  • position: number

    Parser position after this match.

  • value: TValue

    Matched value.

Generated using TypeDoc