Versions in this module Expand all Collapse all v0 v0.1.0 Jan 16, 2019 Changes in this version + func GenCFFI(w io.Writer, fset *token.FileSet, pkg *Package, vm string, lang int) error + func GenCPython(w io.Writer, fset *token.FileSet, pkg *Package, vm string, lang int) error + func GenGo(w io.Writer, fset *token.FileSet, pkg *Package, lang int, vm, capi string) error + type Const struct + func (c Const) Doc() string + func (c Const) GoName() string + func (c Const) GoType() types.Type + func (c Const) ID() string + type ErrorList []error + func (list ErrorList) Error() string + type Func struct + func (f Func) Doc() string + func (f Func) GoName() string + func (f Func) GoType() types.Type + func (f Func) ID() string + func (f Func) Package() *Package + func (f Func) Return() types.Type + func (f Func) Signature() *Signature + type Object interface + Doc func() string + GoName func() string + ID func() string + Package func() *Package + type Package struct + func NewPackage(pkg *types.Package, doc *doc.Package) (*Package, error) + func (p *Package) ImportPath() string + func (p *Package) Lookup(o types.Object) (Object, bool) + func (p *Package) Name() string + type Protocol int + const ProtoStringer + type Signature struct + func (sig *Signature) Params() []*Var + func (sig *Signature) Recv() *Var + func (sig *Signature) Results() []*Var + type Struct struct + func (s Struct) Doc() string + func (s Struct) GoName() string + func (s Struct) GoType() types.Type + func (s Struct) ID() string + func (s Struct) Package() *Package + func (s Struct) Struct() *types.Struct + type Type interface + GoType func() types.Type + type Var struct + func (v *Var) CGoType() string + func (v *Var) CType() string + func (v *Var) GoType() types.Type + func (v *Var) Name() string + func (v *Var) PyCode() string