Documentation ¶
Index ¶
- func Join(tokens []*TypeToken, f func(t *TypeToken) string) string
- type FuncToken
- type TypeToken
- func (tt TypeToken) ArgDeclaration(importingPkg string) string
- func (tt TypeToken) DeclSignature(importingPkg string) string
- func (tt TypeToken) NewInstance(importingPkg string) string
- func (tt TypeToken) SameType(t types.Type, strict bool) bool
- func (tt TypeToken) SimpleSignature(importingPkg string) string
- func (tt TypeToken) String() string
- func (tt TypeToken) VarName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TypeToken ¶
type TypeToken struct { FullSignature string Name string Signature string // temp export IsPtr, IsSlice bool VarType *types.Var }
func NewTypeToken ¶
func (TypeToken) ArgDeclaration ¶ added in v0.1.8
func (TypeToken) DeclSignature ¶
func (TypeToken) NewInstance ¶
func (TypeToken) SimpleSignature ¶
returns declaration signature without pointer details
Click to show internal directories.
Click to hide internal directories.