• This overload makes a Matcher that acts like a given one but doesn't consume input.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    Parameters

    • p: Matcher<TToken, TOptions, TValue>

      A matcher.

    Returns Matcher<TToken, TOptions, TValue>

  • Make a parser that acts like a given one but doesn't consume input.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    Parameters

    • p: Parser<TToken, TOptions, TValue>

      A parser.

    Returns Parser<TToken, TOptions, TValue>

Generated using TypeDoc