The result value from the parser invocation.
Returns the result value from the parser invocation if the parser succeeded or otherwise the specified fallback value.
Returns the result value from the parser invocation if the parser succeeded or otherwise the specified fallback value.
Indicates whether this results represents an unsuccessful parser invocation.
Indicates whether this results represents an unsuccessful
parser invocation. The get
method will throw on instances
where this method returns true
.
Indicates whether this results represents a successful parser invocation.
Builds a new Parsed
instance by applying the specified function
to the result of this instance.
The context representing the remaining input left over by the parser that produced this result.
Returns this Parsed
instance if the parser suceeded or
otherwise the specified fallback instance.
Returns this Parsed
instance if the parser suceeded or
otherwise the specified fallback instance.
The success case of
Parsed
containing the result and the remaining input.