tests

package
v0.0.0-...-e06ea66 Latest Latest
Warning

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

Go to latest
Published: May 30, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoUnmarshal

func DoUnmarshal(filename string)

func IdentName

func IdentName(f ast.Foo2) string

func IdentName2

func IdentName2(f ast.Foo2) string

func TypeName

func TypeName(f ast.Foo2) string

func TypeName2

func TypeName2(f ast.Foo2) string

Types

type CreateCopyVisitor

type CreateCopyVisitor struct {
}

func (*CreateCopyVisitor) VisitField

func (v *CreateCopyVisitor) VisitField(t *ast.Table, s *ast.Scope, sn *ast.Ident, st *ast.StructType, pos int,
	f *ast.Field,
	pos2 int,
	fn *ast.Ident)

func (*CreateCopyVisitor) VisitFieldTypeStar

func (v *CreateCopyVisitor) VisitFieldTypeStar(
	t *ast.Table, s *ast.Scope, sn *ast.Ident, st *ast.StructType, pos int,
	f *ast.Field,
	pos2 int,
	fn *ast.Ident,
	ft *ast.Type)

func (*CreateCopyVisitor) VisitInterfaceType

func (v *CreateCopyVisitor) VisitInterfaceType(t *ast.Table, s *ast.Scope, name *ast.Ident, st *ast.InterfaceType)

func (*CreateCopyVisitor) VisitScope

func (v *CreateCopyVisitor) VisitScope(t *ast.Table, s *ast.Scope)

func (*CreateCopyVisitor) VisitStructIdent

func (v *CreateCopyVisitor) VisitStructIdent(t *ast.Table, s *ast.Scope, st *ast.StructType, i *ast.Ident)

func (*CreateCopyVisitor) VisitStructType

func (v *CreateCopyVisitor) VisitStructType(t *ast.Table, s *ast.Scope, name *ast.Ident, st *ast.StructType)

func (*CreateCopyVisitor) VisitTypeSpec

func (v *CreateCopyVisitor) VisitTypeSpec(t *ast.Table, s *ast.Scope, st *ast.TypeSpec)

func (*CreateCopyVisitor) VisitTypeSpecIdent

func (v *CreateCopyVisitor) VisitTypeSpecIdent(t *ast.Table, s *ast.Scope, st *ast.TypeSpec, i *ast.Ident)

Jump to

Keyboard shortcuts

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