parsley.debug.DebugView
See theDebugView companion object
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
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
In this article