debug

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatNode

func FormatNode(node *ts.Node) string

func FormatPoint

func FormatPoint(p ts.Point) string

func FormatRange

func FormatRange(r ts.Range) string

Types

type Print

type Print struct {
	AnonNodes  bool
	IndentSize uint
}

func (Print) Indent

func (p Print) Indent(depth uint) string

func (Print) Inner

func (p Print) Inner(node *ts.Node, depth uint) string

func (Print) Print

func (p Print) Print(node *ts.Node) string

Jump to

Keyboard shortcuts

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