class Merlin::Debugger(IdentT, NodeT)

Defined in:

debugger/debugger.cr

Constant Summary

ANSI_HIGHLIGHT = "\e[38;2;253;134;42;3m"
ANSI_RESET = "\e[m"
SEPARATOR = "│"

Constructors

Instance Method Summary

Constructor Detail

def self.new(parser : Parser(IdentT, NodeT)) #

[View source]

Instance Method Detail

def enabled #

[View source]
def enabled=(enabled : Bool) #

[View source]
def exclude_groups #

[View source]
def exclude_groups=(exclude_groups : Array(String)) #

[View source]
def fancy_padding #

[View source]
def fancy_padding=(fancy_padding : Bool) #

[View source]
def highlight #

[View source]
def highlight=(highlight : Bool) #

[View source]
def initialize_inspector #

[View source]
def log_backtracked(to_key : IdentT, from_lr : Bool) : Nil #

[View source]
def log_failed(pattern_target_key : IdentT, group_key : IdentT, lr : Bool = false) : Nil #

[View source]
def log_halted_backtracking #

[View source]
def log_line(line : String) : Nil #

[View source]
def log_matched(key : IdentT, lr : Bool = false, from_cache : Bool = false) : Nil #

[View source]
def log_trying(key : IdentT, lr : Bool = false) : Nil #

[View source]
def max_depth #

[View source]
def max_depth=(max_depth : Int32) #

[View source]
def only_groups #

[View source]
def only_groups=(only_groups : Array(String)) #

[View source]
def padding #

[View source]
def padding=(padding : Bool) #

[View source]
def show_backtracked #

[View source]
def show_backtracked=(show_backtracked : Bool) #

[View source]
def show_current_token #

[View source]
def show_current_token=(show_current_token : Bool) #

[View source]
def show_failed #

[View source]
def show_failed=(show_failed : Bool) #

[View source]
def show_matched #

[View source]
def show_matched=(show_matched : Bool) #

[View source]
def show_trying #

[View source]
def show_trying=(show_trying : Bool) #

[View source]