object Mutable
- Alphabetic
- By Inheritance
- Mutable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Failure
[Elem, Repr](input: ParserInput[Elem, Repr], fullStack: Buffer[Frame], index: Int, lastParser: Parser[_, Elem, Repr], originalParser: Parser[_, Elem, Repr], originalIndex: Int, traceIndex: Int, traceParsers: Set[Parser[_, Elem, Repr]], cut: Boolean) extends Mutable[Nothing, Elem, Repr] with Product with Serializable
A mutable version of Parsed.Failure with extra data.
A mutable version of Parsed.Failure with extra data.
- originalParser
the original parser that was attempted and failed. Used to repeat the parse with tracing when generating error messages
- originalIndex
The original index that originalParser was attemped at
- traceIndex
The index at which parser traces are required; -1 if empty
- traceParsers
If a
traceIndex
is provided, this will contain any parsers within this Failure that failed at exactly that index, which will be used for error reporting. If you are writing your own custom Parser and it contains sub-parsers, you should generally aggregate any the traceParsers of any of their results.
-
case class
Success
[T, Elem, Repr](value: T, index: Int, traceParsers: Set[Parser[_, Elem, Repr]], cut: Boolean = false) extends Mutable[T, Elem, Repr] with Product with Serializable
A mutable version of Parsed.Success with extra data.
A mutable version of Parsed.Success with extra data.
- traceParsers
If a
traceIndex
is provided, this will contain any parsers within this Success that failed at exactly that index, which will be used for error reporting. If you are writing your own custom Parser and it contains sub-parsers, you should generally aggregate any the traceParsers of any of their results.- cut
Whether or not this parser crossed a cut and can not longer backtrack
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( ... )