Versions in this module Expand all Collapse all v0 v0.5.0 Nov 10, 2023 Changes in this version + type Analysis struct + func NewAnalysis() *Analysis + func (a *Analysis) AddConst(name string, expr string) + func (a *Analysis) AddFunc(fun *Func) error + func (a *Analysis) AddGoType(typ Type) error + func (a *Analysis) AddImport(alias string, imp string) error + func (a *Analysis) AddStruct(st *Struct) error + func (a *Analysis) Dump() + func (a *Analysis) Emit(w *bytes.Buffer) + func (a *Analysis) GetGoType(name string) (Type, bool) + func (a *Analysis) SetPackage(name string) + type Func struct + Name string + Signatures []*Signature + func (s *Func) DFA() *FuncDFA + func (s *Func) GetSignatureIndex(v *Signature) int + func (s *Func) String() string + type FuncDFA struct + MinArgs int + type FuncNFAData struct + Param Param + Signature *Signature + type GoType struct + Name string + Package string + Ref bool + Struct bool + func (t GoType) NoRef() GoType + func (t GoType) String() string + type Param struct + DefaultExpr string + HasDefault bool + Name string + Type Type + VarArg bool + type Signature struct + Params []Param + Rets []Type + func (s *Signature) String() string + type Struct struct + Fields []*StructField + Name string + type StructField struct + Name string + Type Type + type Type struct + GoType GoType + Iter bool + Name string + Nilable bool + func (t Type) String() string