Description Usage Arguments Details Value
Creates a parser that accepts input that is accepted by any one of a number of simpler parsers.
1 |
tag |
a class name or a function of a single argument that constructs an object representing the result of the parse. |
... |
Alternative simpler parsers. |
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 result of the first alternative
parser satisfied by the input.
Returns a parser.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.