debug
This module contains the very useful debugging combinator, as well as breakpoints.
Attributes
- Source
- debug.scala
- Graph
-
- Supertypes
- Self type
-
debug.type
Members list
Grouped members
Debug Combinator Extension Methods
These are the debugging combinators, which are enabled by bringing these implicit classes into scope.
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.
Type parameters
- P
-
the type of base value that this class is used on (the conversion to
Parsley
) is summoned automatically.
Value parameters
- con
-
a conversion that allows values convertible to parsers to be used.
- p
-
the value that this class is enabling methods on.
Attributes
- Constructor
-
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
- Source
- debug.scala
- Supertypes
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.
Type parameters
- P
-
the type of base value that this class is used on (the conversion to
Parsley
) is summoned automatically.
Value parameters
- con
-
a conversion that allows values convertible to parsers to be used.
- p
-
the value that this class is enabling methods on.
Attributes
- Constructor
-
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
- Source
- debug.scala
Debug Control
These methods can control how the debug mechanism functions in a general way.
This method can be used to disable the coloured debug output for terminals that don't support it.
This method can be used to disable the coloured debug output for terminals that don't support it.
Attributes
- Source
- debug.scala
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.
Base trait for breakpoints.
Break on entry to the combinator, require user input to advance.
Break on entry to the combinator, require user input to advance.
Attributes
- Source
- debug.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Breakpointclass Objecttrait Matchableclass AnyShow all
- Self type
-
EntryBreak.type
Break on exit to the combinator, require user input to advance.
Break on exit to the combinator, require user input to advance.
Attributes
- Source
- debug.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Breakpointclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExitBreak.type
Break on both entry and exit to the combinator, require user input to advance in both cases.
Break on both entry and exit to the combinator, require user input to advance in both cases.
Attributes
- Source
- debug.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Breakpointclass Objecttrait Matchableclass AnyShow all
- Self type
-
FullBreak.type
Indicates that no breaking should occur.
Indicates that no breaking should occur.
Attributes
- Source
- debug.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Breakpointclass Objecttrait Matchableclass AnyShow all
- Self type
-
NoBreak.type