NoSuccess

sealed abstract class NoSuccess(val msg: String, val next: Input) extends ParseResult[Nothing]
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

Methods

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

Fields

val msg: String
val successful: Boolean

Inherited methods

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