pretty

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(node tree.Node) string

func FormatColored

func FormatColored(node tree.Node) string

func Print

func Print(node tree.Node)

Print prints a pretty representation of the AST node.

func PrintColored

func PrintColored(node tree.Node)

PrintColored prints a pretty representation of the AST node, that uses colors to highlight the output in a way that makes it easier to read.

Types

type Printing

type Printing struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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