first

package
v0.0.0-...-ce37b04 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Filename string
	Package  *architecture.Package
	Fset     *token.FileSet
}

type DumpVisitor

type DumpVisitor struct {
}

func (DumpVisitor) Visit

func (visitor DumpVisitor) Visit(node ast.Node) ast.Visitor

type GenDeclVisitor

type GenDeclVisitor struct {
	Context
}

func NewGenDeclVisitor

func NewGenDeclVisitor(context Context) *GenDeclVisitor

func (GenDeclVisitor) Visit

func (visitor GenDeclVisitor) Visit(node ast.Node) ast.Visitor

type RootVisitor

type RootVisitor struct {
	Context
}

func NewRootVisitor

func NewRootVisitor(context Context) *RootVisitor

func (RootVisitor) Visit

func (visitor RootVisitor) Visit(node ast.Node) ast.Visitor

type TypeSpecVisitor

type TypeSpecVisitor struct {
	Context
	TypeSpec *ast.TypeSpec
}

func NewTypeSpecVisitor

func NewTypeSpecVisitor(context Context, typeSpec *ast.TypeSpec) *TypeSpecVisitor

func (TypeSpecVisitor) Visit

func (visitor TypeSpecVisitor) Visit(node ast.Node) ast.Visitor

Jump to

Keyboard shortcuts

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