NoSuccess

sealed abstract class NoSuccess(val msg: String, val next: Input) extends ParseResult[Nothing]

A common super-class for unsuccessful parse results.

A common super-class for unsuccessful parse results.

Companion
object
class ParseResult[Nothing]
class Object
trait Matchable
class Any
class Failure
class Error

Value members

Concrete methods

def filterWithError(p: Nothing => Boolean, error: Nothing => String, position: Input): ParseResult[Nothing]
def flatMapWithNext[U](f: Nothing => Input => ParseResult[U]): ParseResult[U]
def get: Nothing
def map[U](f: Nothing => U): ParseResult[U]
def mapPartial[U](f: PartialFunction[Nothing, U], error: Nothing => String): ParseResult[U]

Inherited methods

def append[U](a: => ParseResult[U]): ParseResult[U]
Inherited from
ParseResult
def getOrElse[B](default: => B): B
Inherited from
ParseResult
def isEmpty: Boolean
Inherited from
ParseResult

Concrete fields

val msg: String
override val next: Input
val successful: Boolean