vardecl

package
v0.0.0-...-5f7cd32 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2016 License: BSD-3-Clause Imports: 9 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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