parsley.debug
Members list
Packages
Type members
Classlikes
An encoder-decoder for A
and a string representation
An encoder-decoder for A
and a string representation
Type parameters
- A
-
the type being encoded and decoded
Attributes
- Companion
- object
- Source
- Codec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- Codec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Codec.type
A common interface for a rendering view for a debugger to present the debug tree.
A common interface for a rendering view for a debugger to present the debug tree. Inherit from one of the two provided subtraits to use.
Any compliant implementation that handles all nodes of a parsley.debugger.DebugTree
can be used in place of any other implementation (e.g. a serialiser to JSON, a GUI, etc.).
If a view is reusable, one can implement it as either an object
or a class
, but an object
is recommended. Either way, it should inherit DebugView.Reusable.
If a view is single-use (e.g. it has some non-reusable state), never implement it as an object
. Always implement single-use views as a class
of some sort inheriting from DebugView.SingleUse.
Attributes
- Since
-
5.0.0
- Companion
- object
- Source
- DebugView.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- DebugView.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DebugView.type
A (reusable) pretty-printer for the debugger which outputs to the console.
A (reusable) pretty-printer for the debugger which outputs to the console.
It is recommended that all memory-heavy types (e.g. closures) are not stored explicitly. Consult the documentation on attaching debuggers to find out how to prevent that.
Attributes
- Since
-
5.0.0
- Source
- PrintView.scala
- Supertypes
- Self type
-
PrintView.type
Attributes
- Companion
- object
- Source
- Codec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Codec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RefCodec.type
This object contains the combinators for attaching debuggers to parsers.
This object contains the combinators for attaching debuggers to parsers.
Attributes
- Since
-
5.0.0
- Source
- combinator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
combinator.type