Class/Object

fastparse.Parsed

TracedFailure

Related Docs: object TracedFailure | package Parsed

Permalink

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)

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aggregateMsg: String

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. val failure: Failure

    Permalink

    The raw failure object

  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def groupAggregateString: String

    Permalink
  11. val groups: Msgs

    Permalink

    A list of all the highest level parsers which could have succeeded at the given failure index.

    A list of all the highest level parsers which could have succeeded at the given failure index. These give you a good

  12. def index: Int

    Permalink
  13. def input: ParserInput

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def label: String

    Permalink
  16. def longAggregateMsg: String

    Permalink

    A version of aggregateMsg that includes the parse stack

  17. def longMsg: String

    Permalink

    A version of msg that includes the parse stack

  18. def longTerminalsMsg: String

    Permalink

    A version of terminalsMsg that includes the parse stack.

  19. def msg: String

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def stack: List[(String, Int)]

    Permalink
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def terminalAggregateString: String

    Permalink
  26. val terminals: Msgs

    Permalink

    A list of all the lowest level parsers which could have succeeded at the failure index.

    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.

  27. def terminalsMsg: String

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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

    Permalink
    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