pretty

package
Version: v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Package pretty provides functions for pretty-printing parse trees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Braces

func Braces(w io.Writer, n *peg.Node) error

Braces pretty-prints a parse tree using ( ), [ ], { }, and < > show the nesting structure.

func Tree

func Tree(w io.Writer, n *peg.Node) error

Tree writes a pretty representation of the tree.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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