Failure
The failure case of ParseResult
: contains an error-message and the remaining input.
Parsing will back-track when a failure occurs.
- Value parameters:
- msg
An error message string describing the failure.
- next
The parser's unconsumed input at the point where the failure occurred.
trait Serializable
trait Product
trait Equals
class NoSuccess
class ParseResult[Nothing]
class Object
trait Matchable
class Any
Value members
Concrete methods
Inherited methods
def filterWithError(p: Nothing => Boolean, error: Nothing => String, position: Input): ParseResult[Nothing]
- Inherited from:
- NoSuccess