• Make a Matcher that returns all (0 or more) sequential matches of the same given parser.

    A match with empty array is produced if no single match was found.

    Use many1 if at least one match is required.

    Implementation is based on takeWhile.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    Parameters

    • p: Parser<TToken, TOptions, TValue>

      A parser to apply repeatedly.

    Returns Matcher<TToken, TOptions, TValue[]>

Generated using TypeDoc