chain1
inline fun <T, S> ParserState.chain1(crossinline p: Parser<T>, crossinline separator: Parser<S>): Chain<T, S>
Content copied to clipboard
Parses one or more instances of p, separated by separator, and returns the elements with their respective separators.
inline fun <T, S> chain1(crossinline p: Parser<T>, crossinline separator: Parser<S>): ParserState.() -> Chain<T, S>
Content copied to clipboard
Creates a ParserState.chain1 parser.