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
- All
Type Members
-
sealed
trait
Breakpoint extends AnyRef
Base trait for breakpoints.
-
implicit
class
DebugCombinators[P, A] extends AnyRef
This class enables the
debugcombinator on parsers.This class enables the
debugcombinator on parsers.This extension class operates on values that are convertible to parsers. It enables the use of the
debugcombinator, 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( ... ) @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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
EntryBreak extends Breakpoint with Product with Serializable
Break on entry to the combinator, require user input to advance.
-
object
ExitBreak extends Breakpoint with Product with Serializable
Break on exit to the combinator, require user input to advance.
-
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.
-
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.