parser List Of
fun <S, A : Any, B : Any> parserListOf(parser: Parser<S, A>, separator: Parser<S, B>): Parser<S, List<A>>
Creates a parser that matches a list of parser
s separated by separator
s.
Return
A parser that matches a list of parser
s separated by separator
s.
Parameters
parser
The parser to match.
separator
The parser for the separator.