debug

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled   bool
	Lexer     bool
	Parser    bool
	Evaluator bool
}

Config holds debug configuration settings

func NewConfig

func NewConfig() *Config

NewConfig creates a new debug configuration with default values

func (*Config) EnableAll

func (c *Config) EnableAll()

EnableAll enables all debug options

func (*Config) ShouldDebugEvaluator

func (c *Config) ShouldDebugEvaluator() bool

ShouldDebugEvaluator returns true if evaluator debugging is enabled

func (*Config) ShouldDebugLexer

func (c *Config) ShouldDebugLexer() bool

ShouldDebugLexer returns true if lexer debugging is enabled

func (*Config) ShouldDebugParser

func (c *Config) ShouldDebugParser() bool

ShouldDebugParser returns true if parser debugging is enabled

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL