• Make a Matcher that matches 0 or more values interleaved with separators.

    A match with an empty array is returned if no single value was matched.

    Implementation is based on sepBy1, otherwise and emit.

    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 Matcher<TToken, TOptions, TValue[]>

Generated using TypeDoc