object debug
This module contains the very useful debugging combinator, as well as breakpoints.
- Source
- debug.scala
- Grouped
- Alphabetic
- By Inheritance
- debug
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait Breakpoint extends AnyRef
Base trait for breakpoints.
- implicit class DebugCombinators[P, A] extends AnyRef
This class enables the
debug
combinator on parsers.This class enables the
debug
combinator on parsers.This extension class operates on values that are convertible to parsers. It enables the use of the
debug
combinator, which can be used to trace the execution through a parser.- P
the type of base value that this class is used on (the conversion to
Parsley
) is summoned automatically.
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def disableColourRendering(): Unit
This method can be used to disable the coloured debug output for terminals that don't support it.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object EntryBreak extends Breakpoint with Product with Serializable
Break on entry to the combinator, require user input to advance.
- case object ExitBreak extends Breakpoint with Product with Serializable
Break on exit to the combinator, require user input to advance.
- case object FullBreak extends Breakpoint with Product with Serializable
Break on both entry and exit to the combinator, require user input to advance in both cases.
- case object NoBreak extends Breakpoint with Product with Serializable
Indicates that no breaking should occur.
Debug Combinator Extension Methods
These are the debugging combinators, which are enabled by bringing these implicit classes into scope.
Debug Control
These methods can control how the debug mechanism functions in a general way.
Breakpoints
These can be used to control how the debug
combinator operates: when a breakpoint is used
it can halt the execution of the combinator and print out information about the parsers state.