• This overload makes a Matcher that applies three matchers one after another and returns the middle result.

    Implementation is based on abc.

    Type Parameters

    • TToken

    • TOptions

    • TValueA

    • TValueB

    • TValueC

    Parameters

    • pa: Matcher<TToken, TOptions, TValueA>

      First matcher (result is discarded).

    • pb: Matcher<TToken, TOptions, TValueB>

      Second matcher (result is returned).

    • pc: Matcher<TToken, TOptions, TValueC>

      Third matcher (result is discarded).

    Returns Matcher<TToken, TOptions, TValueB>

  • Make a parser that tries three parsers one after another and returns the middle result if all three matched.

    A nonmatch is returned if any of three parsers did not match.

    Implementation is based on abc.

    Type Parameters

    • TToken

    • TOptions

    • TValueA

    • TValueB

    • TValueC

    Parameters

    • pa: Parser<TToken, TOptions, TValueA>

      First parser (result is discarded).

    • pb: Parser<TToken, TOptions, TValueB>

      Second parser (result is returned).

    • pc: Parser<TToken, TOptions, TValueC>

      Third parser (result is discarded).

    Returns Parser<TToken, TOptions, TValueB>

Generated using TypeDoc