Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Grind

func Grind(ctxt *grinder.Context, pkg *grinder.Package)

func PrintVars

func PrintVars(fset *token.FileSet, vars []*Var) []byte

Types

type Def

type Def struct {
	Block *block.Block
	Start token.Pos
	End   token.Pos
	Init  ast.Node
}

type Var

type Var struct {
	Obj  *ast.Object
	Decl *ast.DeclStmt
	Defs []*Def
}

Source Files