parsley.debugger

Members list

Type members

Classlikes

trait DebugTree extends Iterable[DebugTree]

The tree representing a parser's parse tree (its parser execution path).

The tree representing a parser's parse tree (its parser execution path).

Initially unpopulated, it will be populated with information regarding the parser, such as what it is (if it is a primitive such as parsley.internal.deepembedding.singletons.Pure, or a user-defined named parser if names are collected) as the parser itself runs on some input.

Any tree node will store the input it has parsed (or attempted to parse) as well as its success state as an optional ParseAttempt instance.

Although this trait is unsealed, it is not useful to make a subtype of this trait, as this trait's sole purpose is to provide safe methods into handling the frozen trees produced by the debugger.

Attributes

Since

4.5.0

Companion
object
Source
DebugTree.scala
Supertypes
object DebugTree

Attributes

Companion
trait
Source
DebugTree.scala
Supertypes
class Object
trait Matchable
class Any
Self type
DebugTree.type
final class ParseAttempt

A representation of the attempts a parser has made during parse-time.

A representation of the attempts a parser has made during parse-time.

Attributes

Since

4.5.0

Source
ParseAttempt.scala
Supertypes
class Object
trait Matchable
class Any
object combinator

This object contains the two main debug combinators, attachDebugger and attachWithFrontend.

This object contains the two main debug combinators, attachDebugger and attachWithFrontend.

Attributes

Since

4.5.0

Source
combinator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
combinator.type