Description Usage Arguments Details Value
Create a parser that succeeds on input for which a simpler parser succeeds zero or more times in succession.
1 | pMany(tag, p)
|
tag |
a class name or a function of a single argument that constructs an object representing the result of the parse. |
p |
A parser to match zero or more times. |
The tag
argument should either be a string naming the class
of the result, or a function that constructs a object representing
the result of the parse given the list of results of the
constituent parser.
Return a parser.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.