object Parsed
- Alphabetic
- By Inheritance
- Parsed
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Failure
[Elem, Repr](lastParser: Parser[_, Elem, Repr], index: Int, extra: Extra[Elem, Repr]) extends Parsed[Nothing, Elem, Repr] with Product with Serializable
Simple information about a parse failure.
Simple information about a parse failure. Also contains the original parse information necessary to construct the traced failure. That contains more information but is more costly to compute and is thus computed lazily on demand.
- lastParser
The deepest parser in the parse which failed
- index
The index in the parse where this parse failed
- extra
Extra supplementary information (including trace information). For details see Parsed.Failure.Extra
-
case class
Success
[+T, Elem, Repr](value: T, index: Int) extends Parsed[T, Elem, Repr] with Product with Serializable
- value
The result of this parse
- index
The index where the parse completed; may be less than the length of input
-
case class
TracedFailure
[Elem, Repr](input: ParserInput[Elem, Repr], index: Int, fullStack: Vector[Frame], traceParsers: Set[Parser[_, Elem, Repr]]) extends Product with Serializable
A failure containing detailed information about a parse failure.
A failure containing detailed information about a parse failure. This is more expensive to compute than a simple error message and is thus not generated by default.
- fullStack
The entire stack trace where the parse failed, containing every parser in the stack and the index where the parser was used, excluding the final parser and index where the parse failed. Only set if
parse
is called withtrace = true
, otherwise empty- traceParsers
A list of parsers that could have succeeded at the location that this
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
- @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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
- @throws( ... )
- object Failure extends Serializable
- object TracedFailure extends Serializable