parsley.debug

package parsley.debug

Members list

Packages

Type members

Classlikes

trait Codec[A]

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 Object
trait Matchable
class Any
object Codec

Attributes

Companion
trait
Source
Codec.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Codec.type
sealed trait DebugView

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 Object
trait Matchable
class Any
Known subtypes
trait Manageable
trait Pauseable
trait Reusable
object PrintView
trait SingleUse
object DebugView

Attributes

Companion
trait
Source
DebugView.scala
Supertypes
class Object
trait Matchable
class Any
Self type
DebugView.type
object PrintView extends Reusable

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
trait Reusable
trait DebugView
class Object
trait Matchable
class Any
Self type
PrintView.type
abstract class RefCodec

Attributes

Companion
object
Source
Codec.scala
Supertypes
class Object
trait Matchable
class Any
object RefCodec

Attributes

Companion
class
Source
Codec.scala
Supertypes
class Object
trait Matchable
class Any
Self type
RefCodec.type
object combinator

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 Object
trait Matchable
class Any
Self type
combinator.type