Documentation ¶
Index ¶
- type 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
- type FuncDFA
- type FuncNFAData
- type GoType
- type Param
- type Signature
- type Struct
- type StructField
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct {
// contains filtered or unexported fields
}
func NewAnalysis ¶
func NewAnalysis() *Analysis
func (*Analysis) SetPackage ¶
type Func ¶
func (*Func) GetSignatureIndex ¶
type FuncNFAData ¶
type Struct ¶
type Struct struct { Name string Fields []*StructField }
type StructField ¶
Click to show internal directories.
Click to hide internal directories.