This is the class that encapsulates the act of parsing and running an object of this class with parse
will
parse the string given as input to parse
.
This is the class that encapsulates the act of parsing and running an object of this class with parse
will
parse the string given as input to parse
.
Note: In order to construct an object of this class you must use the combinators; the class itself is abstract
- Authors
Jamie Willis
- Version
1
- Companion
- object
Value members
Concrete methods
Forces the compilation of a parser as opposed to the regular lazy evaluation.
Forces the compilation of a parser as opposed to the regular lazy evaluation.
Provides an indicator that this parser is likely to stack-overflow
Provides an indicator that this parser is likely to stack-overflow
This method is responsible for actually executing parsers. Given an input
array, will parse the string with the parser. The result is either a Success
or a Failure
.
This method is responsible for actually executing parsers. Given an input
array, will parse the string with the parser. The result is either a Success
or a Failure
.
- Value Params
- input
The input to run against
- Returns
Either a success with a value of type
A
or a failure with error message- Since
3.0.0