case class TracedFailure(terminals: Msgs, groups: Msgs, 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.
- terminals
A list of all the lowest level parsers which could have succeeded at the failure index. These are things like literal string parsers, CharIn, CharPred, etc.
- groups
A list of all the highest level parsers which could have succeeded at the given failure index. These give you a good
- failure
The raw failure object
- Alphabetic
- By Inheritance
- TracedFailure
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TracedFailure(terminals: Msgs, groups: Msgs, failure: Failure)
- terminals
A list of all the lowest level parsers which could have succeeded at the failure index. These are things like literal string parsers, CharIn, CharPred, etc.
- groups
A list of all the highest level parsers which could have succeeded at the given failure index. These give you a good
- 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
-
def
aggregateMsg: String
Displays the aggregate failure message, excluding the parse stack.
Displays the aggregate failure message, excluding the parse stack. This includes a list of all highest-level parsers which could have succeeded at the failure index. This gives you a good high-level overview of what the parser expected, at the cost
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failure: Failure
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def groupAggregateString: String
- val groups: Msgs
- def index: Int
- def input: ParserInput
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def label: String
-
def
longAggregateMsg: String
A version of aggregateMsg that includes the parse stack
-
def
longMsg: String
A version of msg that includes the parse stack
-
def
longTerminalsMsg: String
A version of terminalsMsg that includes the parse stack.
-
def
msg: String
Displays the short failure message excluding the parse stack.
Displays the short failure message excluding the parse stack. This shows the last parser which failed causing the parse to fail. Note that this does not include other parsers which may have failed earlier; see terminalsMsg and aggregateMsg for more detailed errors
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def stack: List[(String, Int)]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def terminalAggregateString: String
- val terminals: Msgs
-
def
terminalsMsg: String
Displays the terminals failure message, excluding the parse stack.
Displays the terminals failure message, excluding the parse stack. This includes a list of all lowest-level parsers which could have succeeded at the failure index: literal strings, CharIn, CharPreds, etc. This gives you a detailed listing of how the parse could be corrected, though it can be verbose.
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )