• Make a parser that matches 1 or more values interleaved with separators.

    A nonmatch is returned if no single value was matched.

    Implementation is based on ab, many and right.

    Type Parameters

    • TToken

    • TOptions

    • TValue

    • TSep

    Parameters

    • pValue: Parser<TToken, TOptions, TValue>

      A parser for values.

    • pSep: Parser<TToken, TOptions, TSep>

      A parser for separators.

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

Generated using TypeDoc