sealed abstract class ParseResult[+T] extends AnyRef
A base class for parser results. A result is either successful or not
 (failure may be fatal, i.e., an Error, or not, i.e., a Failure). On
 success, provides a result of type T which consists of some result
 (and the rest of the input).
- Source
- Parsers.scala
- Alphabetic
- By Inheritance
- ParseResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
-  abstract def append[U >: T](a: => ParseResult[U]): ParseResult[U]
-  abstract def filterWithError(p: (T) => Boolean, error: (T) => String, position: Input): ParseResult[T]
-  abstract def flatMapWithNext[U](f: (T) => (Input) => ParseResult[U]): ParseResult[U]
-   abstract  def get: TReturns the embedded result. 
-   abstract  def map[U](f: (T) => U): ParseResult[U]Functional composition of ParseResults. Functional composition of ParseResults. - f
- the function to be lifted over this result 
- returns
- fapplied to the result of this- ParseResult, packaged up as a new- ParseResult
 
-   abstract  def mapPartial[U](f: PartialFunction[T, U], error: (T) => String): ParseResult[U]Partial functional composition of ParseResults. Partial functional composition of ParseResults. - f
- the partial function to be lifted over this result 
- error
- a function that takes the same argument as - fand produces an error message to explain why- fwasn't applicable (it is called when this is the case)
- returns
- if - ff is defined at the result in this- ParseResult,- fapplied to the result of this- ParseResult, packaged up as a new- ParseResult. If- fis not defined,- Failure.
 
-  abstract val next: Input
-  abstract val successful: Boolean
Concrete Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-  def getOrElse[B >: T](default: => B): B
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-  def isEmpty: Boolean
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()