Documentation ¶
Index ¶
- func DoUnmarshal(filename string)
- func IdentName(f ast.Foo2) string
- func IdentName2(f ast.Foo2) string
- func TypeName(f ast.Foo2) string
- func TypeName2(f ast.Foo2) string
- type CreateCopyVisitor
- func (v *CreateCopyVisitor) VisitField(t *ast.Table, s *ast.Scope, sn *ast.Ident, st *ast.StructType, pos int, ...)
- func (v *CreateCopyVisitor) VisitFieldTypeStar(t *ast.Table, s *ast.Scope, sn *ast.Ident, st *ast.StructType, pos int, ...)
- func (v *CreateCopyVisitor) VisitInterfaceType(t *ast.Table, s *ast.Scope, name *ast.Ident, st *ast.InterfaceType)
- func (v *CreateCopyVisitor) VisitScope(t *ast.Table, s *ast.Scope)
- func (v *CreateCopyVisitor) VisitStructIdent(t *ast.Table, s *ast.Scope, st *ast.StructType, i *ast.Ident)
- func (v *CreateCopyVisitor) VisitStructType(t *ast.Table, s *ast.Scope, name *ast.Ident, st *ast.StructType)
- func (v *CreateCopyVisitor) VisitTypeSpec(t *ast.Table, s *ast.Scope, st *ast.TypeSpec)
- func (v *CreateCopyVisitor) VisitTypeSpecIdent(t *ast.Table, s *ast.Scope, st *ast.TypeSpec, i *ast.Ident)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoUnmarshal ¶
func DoUnmarshal(filename string)
func IdentName2 ¶
Types ¶
type CreateCopyVisitor ¶
type CreateCopyVisitor struct { }
func (*CreateCopyVisitor) VisitField ¶
func (*CreateCopyVisitor) VisitFieldTypeStar ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.