• Utility function that provides a bit cleaner interface for running a Matcher.

    Returns

    A matched value.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    Parameters

    • matcher: Matcher<TToken, TOptions, TValue>

      A matcher to run.

    • tokens: TToken[]

      Input tokens.

    • options: TOptions

      Parser options.

    Returns TValue

Generated using TypeDoc