Documentation
¶
Index ¶
- type API
- type Method
- type Param
- type TSVar
- type Type
- type TypeLookup
- func (tl *TypeLookup) Aliases() map[string]Type
- func (tl *TypeLookup) CastToTypesScript(src types.Type) TSVar
- func (tl *TypeLookup) CommentLookup(handler func(pos token.Pos) string)
- func (tl *TypeLookup) Custom(srcType string, ts TSVar)
- func (tl *TypeLookup) Objects() map[string][]Param
- func (tl *TypeLookup) RegisterType(obj *types.Named) string
- func (tl *TypeLookup) ScanAPI(obj *types.Named) API
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Method ¶
type TypeLookup ¶
type TypeLookup struct {
// contains filtered or unexported fields
}
func New ¶
func New() *TypeLookup
func (*TypeLookup) Aliases ¶
func (tl *TypeLookup) Aliases() map[string]Type
func (*TypeLookup) CastToTypesScript ¶
func (tl *TypeLookup) CastToTypesScript(src types.Type) TSVar
func (*TypeLookup) CommentLookup ¶
func (tl *TypeLookup) CommentLookup(handler func(pos token.Pos) string)
func (*TypeLookup) Custom ¶ added in v1.3.2
func (tl *TypeLookup) Custom(srcType string, ts TSVar)
func (*TypeLookup) Objects ¶
func (tl *TypeLookup) Objects() map[string][]Param
func (*TypeLookup) RegisterType ¶
func (tl *TypeLookup) RegisterType(obj *types.Named) string
Click to show internal directories.
Click to hide internal directories.