DebugCombinators

class DebugCombinators[P, A](val p: P)(val con: P => Parsley[A])

This class enables the debug combinator on parsers

This class enables the debug combinator on parsers

class Object
trait Matchable
class Any

Value members

Concrete methods

def debug(name: String, break: Breakpoint, coloured: Boolean): Parsley[A]

Using this method enables debugging functionality for this parser. When it is entered a snapshot is taken and presented on exit. It will signify when a parser is entered and exited as well. Use the break parameter to halt execution on either entry, exit, both or neither.

Using this method enables debugging functionality for this parser. When it is entered a snapshot is taken and presented on exit. It will signify when a parser is entered and exited as well. Use the break parameter to halt execution on either entry, exit, both or neither.

Value Params
break

The breakpoint properties of this parser, defaults to NoBreak

coloured

Whether to render with colour (default true: render colours)

name

The name to be assigned to this parser

Concrete fields

val p: P

Implicits

Implicits

implicit val con: P => Parsley[A]