object Parsed
- Alphabetic
- By Inheritance
- Parsed
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class Extra(input: ParserInput, startIndex: Int, index: Int, originalParser: (ParsingRun[_]) ⇒ ParsingRun[_], stack: List[(String, Int)]) extends Product with Serializable
-
final
case class
Failure(label: String, index: Int, extra: Extra) extends Parsed[Nothing] with Product with Serializable
The outcome of a failed parse
The outcome of a failed parse
- label
A hint as to why the parse failed. Defaults to "", unless you set
verboseFailures = true
or call.trace()
on an existing failure- index
The index at which the parse failed
- extra
Metadata about the parse; useful for re-running the parse to trace out a more detailed error report
-
final
case class
Success[+T](value: T, index: Int) extends Parsed[T] with Product with Serializable
The outcome of a successful parse
The outcome of a successful parse
- value
The value returned by the parse
- index
The index at which the parse completed at
-
case class
TracedFailure(failureAggregate: Seq[String], failure: Failure) extends Product with Serializable
A decorated Failure with extra metadata; provides a much more detailed, through verbose, of the possible inputs that may have been expected at the index at which the parse failed.
A decorated Failure with extra metadata; provides a much more detailed, through verbose, of the possible inputs that may have been expected at the index at which the parse failed.
- failureAggregate
contains not just the parsers which were present when the parse finally failed, but also any other parsers which may have earlier been tried at the same index.
- failure
The raw failure object
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromParsingRun[T](p: ParsingRun[T]): Parsed[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- object Failure extends Serializable
- object TracedFailure extends Serializable