A common super-class for unsuccessful parse results.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
Returns the embedded result.
Returns the embedded result.
Attributes
Functional composition of ParseResults.
Functional composition of ParseResults.
Value parameters
- f
-
the function to be lifted over this result
Attributes
- Returns
-
fapplied to the result of thisParseResult, packaged up as a newParseResult
Partial functional composition of ParseResults.
Partial functional composition of ParseResults.
Value parameters
- error
-
a function that takes the same argument as
fand produces an error message to explain whyfwasn't applicable (it is called when this is the case) - f
-
the partial function to be lifted over this result
Attributes
- Returns
-
if
ff is defined at the result in thisParseResult,fapplied to the result of thisParseResult, packaged up as a newParseResult. Iffis not defined,Failure.
Inherited methods
Attributes
- Inherited from:
- ParseResult
Attributes
- Inherited from:
- ParseResult
Attributes
- Inherited from:
- ParseResult