Documentation ¶
Index ¶
- type Proj
- func (proj *Proj) AddFile(files ...*file.File)
- func (proj *Proj) GetFunc(pkg, name string) map[*file.File]*dst.FuncDecl
- func (proj *Proj) GetGlobalVar(pkg string) map[string]string
- func (proj *Proj) GetPkgWithImported(path string) (pkgs []*pkg.Pkg)
- func (proj *Proj) GetStruct(pkg, name string) (*dst.StructType, error)
- func (proj *Proj) GetVarsFromStmt(stmt interface{}, curPkg string, outVars map[string]string) map[string]string
- func (proj *Proj) Save() error
- func (proj *Proj) ScanDir(dir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proj ¶
type Proj struct {
// contains filtered or unexported fields
}
func (*Proj) GetPkgWithImported ¶
func (*Proj) GetVarsFromStmt ¶
Click to show internal directories.
Click to hide internal directories.