scala.util.parsing.combinator.RegexParsers

NoSuccess

class NoSuccess extends ParseResult[Nothing]

A common super-class for unsuccessful parse results

attributes: sealed abstract
definition classes: Parsers

Inherits

  1. ParseResult
  2. AnyRef
  3. Any

Value Members

  1. def append[U >: Nothing](a: ⇒ ParseResult[U]): ParseResult[U]

  2. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  3. def flatMapWithNext[U](f: (Nothing) ⇒ (Reader[Elem]) ⇒ ParseResult[U]): ParseResult[U]

  4. def get: Nothing

    Returns the embedded result

  5. def getOrElse[B >: Nothing](default: ⇒ B): B

  6. def hashCode(): Int

    Returns a hash code value for the object

  7. def isEmpty: Boolean

  8. def map[U](f: (Nothing) ⇒ U): NoSuccess

    Functional composition of ParseResults

  9. def mapPartial[U](f: PartialFunction[Nothing, U], error: (Nothing) ⇒ String): ParseResult[U]

    Partial functional composition of ParseResults

  10. val msg: String

  11. val next: Reader[Elem]

  12. val successful: Boolean

  13. def toString(): String

    Returns a string representation of the object

Instance constructors

  1. new NoSuccess(msg: String, next: Reader[Elem])

  2. new NoSuccess()