Packages

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TracedFailure
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val failure: Failure
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def groupAggregateString: String
  11. val groups: Msgs
  12. def index: Int
  13. def input: ParserInput
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def label: String
  16. def longAggregateMsg: String

    A version of aggregateMsg that includes the parse stack

  17. def longMsg: String

    A version of msg that includes the parse stack

  18. def longTerminalsMsg: String

    A version of terminalsMsg that includes the parse stack.

  19. 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

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def stack: List[(String, Int)]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def terminalAggregateString: String
  26. val terminals: Msgs
  27. 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.

  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def trace: String
    Annotations
    @deprecated
    Deprecated

    Use .msg instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped