prast

package module
v0.0.0-...-84c9797 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2014 License: MIT Imports: 7 Imported by: 0

README

prast

pretty print go asts

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prast

type Prast interface {
	// FilterByType filters all AST nodes to only include those with the
	// given nodeType (and those nodes' descendents).
	FilterByType(nodeType reflect.Type)
	// FilterByName filters all AST nodes to only include those
	// with the given name (and those nodes' descendents).
	FilterByName(name string)
	// Print prints out the current state that Prast has inspected.
	Print()
	String() string
}

func NewPrast

func NewPrast(name string) (Prast, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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