class Merlin::Debugger(IdentT, NodeT)
- Merlin::Debugger(IdentT, NodeT)
- Reference
- Object
Defined in:
debugger/debugger.crConstant Summary
-
ANSI_HIGHLIGHT =
"\e[38;2;253;134;42;3m"
-
ANSI_RESET =
"\e[m"
-
SEPARATOR =
"│"
Constructors
Instance Method Summary
- #fancy_padding
- #fancy_padding=(fancy_padding : Bool)
- #filter_parent_group
- #filter_parent_group=(filter_parent_group : String)
-
#filter_stack_depth
filters
-
#filter_stack_depth=(filter_stack_depth : Int32)
filters
- #filter_token_name
- #filter_token_name=(filter_token_name : String)
- #filter_token_number
- #filter_token_number=(filter_token_number : Int32)
- #filter_token_position
- #filter_token_position=(filter_token_position : Int32)
- #highlight_backtracked
- #highlight_backtracked=(highlight_backtracked : Bool)
- #highlight_failed
- #highlight_failed=(highlight_failed : Bool)
- #highlight_matched
- #highlight_matched=(highlight_matched : Bool)
-
#highlight_trying_group
ansi highlights
-
#highlight_trying_group=(highlight_trying_group : Bool)
ansi highlights
- #initialize_inspector
- #log_backtracked(to_key : IdentT, from_lr : Bool) : Nil
- #log_failed(pattern_target_key : IdentT, group_key : IdentT, lr : Bool = false) : Nil
- #log_halted_backtracking
- #log_matched(key : IdentT, lr : Bool = false, from_cache : Bool = false) : Nil
- #log_trying(key : IdentT, lr : Bool = false) : Nil
- #pad_steps
- #pad_steps=(pad_steps : Bool)
- #show_ast
- #show_ast=(show_ast : Bool)
-
#show_steps
actions
-
#show_steps=(show_steps : Bool)
actions
- #show_tokenization
- #show_tokenization=(show_tokenization : Bool)
- #step_field_backtracked
- #step_field_backtracked=(step_field_backtracked : Bool)
- #step_field_failed
- #step_field_failed=(step_field_failed : Bool)
- #step_field_matched
- #step_field_matched=(step_field_matched : Bool)
-
#step_field_stack_depth
step fields
-
#step_field_stack_depth=(step_field_stack_depth : Bool)
step fields
- #step_field_token_name
- #step_field_token_name=(step_field_token_name : Bool)
- #step_field_token_number
- #step_field_token_number=(step_field_token_number : Bool)
- #step_field_token_position
- #step_field_token_position=(step_field_token_position : Bool)
- #step_field_trying_group
- #step_field_trying_group=(step_field_trying_group : Bool)
Constructor Detail
Instance Method Detail
def log_failed(pattern_target_key : IdentT, group_key : IdentT, lr : Bool = false) : Nil
#