Create a PiecewiseParser from a set of commands
Create a PiecewiseParser from a set of commands
a sequence of key-value pairs to extract from the input
Change the type of key that this builder requires, with the option of indicating an error condition
Change the type of key that this builder requires, with the option of indicating an error condition
3.1
Change the type of value that this builder requires, with the option of indicating an error condition
Change the type of value that this builder requires, with the option of indicating an error condition
Change the type of key that this builder requires
Change the type of key that this builder requires
Change the type of value that this builder requires
Change the type of value that this builder requires
Convert the input into a series of key-value pairs, insert those key-value pairs into builder
, return the value output by builder
Convert the input into a series of key-value pairs, insert those key-value pairs into builder
, return the value output by builder
a builder that consumes key-value pairs and produced a complex value.
the input to the parser - the implementation of parser determines what it uses as input
Parse the input into a Value.
Parse the input into a Value. Return a Right if Parser.parse would have returned a Primitive, else return a Left.
A parser which can be built piecewise
the key types
the primitive value types
the input to the parser
3.0