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

    A nonmatch is returned if no single match was found.

    Use many in case zero matches are allowed.

    Implementation is based on ab and many.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    Parameters

    • p: Parser<TToken, TOptions, TValue>

      A parser to apply repeatedly.

    Returns Parser<TToken, TOptions, [TValue, ...TValue[]]>

Generated using TypeDoc