Function sepBy1

  • Parses many instances of the parser separated by separator. The parser needs to succeed at least once, otherwise sepBy fails. To not require at least one instance, use sepBy.

    Type Parameters

    • S
    • P

    Parameters

    Returns Parser<P[]>

    a parser that runs the given parser one to many times, separated by the separator parser.

Generated using TypeDoc