Documentation ¶
Index ¶
- type BaseTypes
- type Package
- func (p *Package) DefinedFuncs() map[*ast.Ident]*types.Func
- func (p *Package) FormatFuncs() string
- func (p *Package) FormatParticipation() string
- func (p *Package) Participation() map[*ast.Ident][]*ast.Ident
- func (p *Package) SourceFilePaths() []string
- func (p *Package) TypeDefs() map[*ast.Ident]*types.TypeName
- func (p *Package) UsedSignatures() map[*ast.Ident]*types.Signature
- type Project
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTypes ¶
type BaseTypes struct {
// contains filtered or unexported fields
}
func NewBaseTypes ¶
func NewBaseTypes() *BaseTypes
type Package ¶
type Package struct { Name string Project *Project Package *types.Package Types map[ast.Expr]types.TypeAndValue Defs map[*ast.Ident]types.Object Uses map[*ast.Ident]types.Object Implicits map[ast.Node]types.Object Selections map[*ast.SelectorExpr]*types.Selection }
Package is the collection of compiled data for the package.
func (*Package) DefinedFuncs ¶
DefinedFuncs are all the functions and methods in this package.
func (*Package) FormatFuncs ¶
PrintFuncs formats the functions for a package.
func (*Package) FormatParticipation ¶
FormatParticipation formats the participantion results for a package.
func (*Package) Participation ¶
Participation gets all the functions which each type definition from the main package has participated in.
func (*Package) SourceFilePaths ¶
SourceFilePaths gets the list source file paths for this package.
type Project ¶
Project is the collection of compiled data for the project.
func (*Project) FormatFuncs ¶
PrintFuncs formats the functions for a project
func (*Project) FormatParticipation ¶
FormatParticipation formats the participantion results for a project.
func (*Project) PrintFuncs ¶
func (p *Project) PrintFuncs()
PrintFuncs formats and prints the functions.
func (*Project) PrintParticipation ¶
func (p *Project) PrintParticipation()
PrintParticipation formats and prints the participantion results.