Versions in this module Expand all Collapse all v0 v0.1.0 Nov 23, 2024 Changes in this version + const CallTypeBuiltin + const CallTypeExternal + const CallTypeInternal + const CallTypePackage + const CallTypeStd + var Builtins = map[string]byte + var Libs = map[string]byte type Abstract + func (a *Abstract) LookupName() string + func (a *Abstract) SetupID() type Call + Dep string + Pos string + func (c *Call) LookupName() string + func (c *Call) SetupID() type Callable + func (c *Callable) LookupName() string + func (c *Callable) SetupID() + type Dep struct + ID string + Name string + Typ string + func NewDep(name string, imp *ast.ImportSpec) *Dep + func NewPkgDep(name string, pkg *Pkg) *Dep + func (d *Dep) SetupID() type File + func (f *File) LookupAbstract(name string) *Abstract + func (f *File) LookupCallable(name string) *Callable + func (f *File) LookupDepByScope(scope string) *Dep + func (f *File) LookupName() string + func (f *File) SetupID() type Pkg + Name string + func (p *Pkg) LookupAbstract(name string) *Abstract + func (p *Pkg) LookupCallable(name string) *Callable + func (p *Pkg) LookupName() string + func (p *Pkg) SetupID() type Project + Deps []*Dep + Directory string + Name string type SourceDir + Files int + Pkg bool type SourceFile + Error string v0.0.1 Nov 16, 2024 Changes in this version + type Abstract struct + Comment string + Fields []string + File int + ID string + Name string + Pkg int + Pos string + func NewAbstract(ident *ast.Ident, strtTyp *ast.StructType) *Abstract + func (a *Abstract) Complete() + type Call struct + Callee int + Caller int + File int + ID string + Signature string + Typ string + func NewCall(pos token.Pos, scope string, selector string, typ *parsedtypes.Type) *Call + func (c *Call) Complete() + type Callable struct + Abstract string + Comment string + Description string + File int + ID string + Method bool + Name string + Orphan bool + Parameters []string + Pkg int + Pos string + Private bool + Results []string + Syscalls []string + Typ string + func NewCallable(decl *ast.FuncDecl) *Callable + func (c *Callable) Complete() + type File struct + ID string + Name string + Path string + Pkg int + func NewSourceFile(sm *SourceMap, idx int, pkg *Pkg) File + func (f *File) BuildDeps(deps map[string]*Pkg) + func (f *File) EnumerateDecls() + func (f *File) SearchCalls() + type Pkg struct + ID string + Path string + func NewSourcePkg(sm *SourceMap, idx int) Pkg + func (p *Pkg) AbstractDefinition(name string) *Abstract + func (p *Pkg) Abstracts() []*Abstract + func (p *Pkg) CallableDefinition(name string) *Callable + func (p *Pkg) Callables() []*Callable + func (p *Pkg) Calls() []*Call + type Project struct + Abstracts []*Abstract + Callables []*Callable + Calls []*Call + Files []File + Pkgs []Pkg + func NewProject(project, directory string) *Project + func (p *Project) Initialize() + func (p *Project) Parse() + type SourceDir struct + CountGoFiles int + Path string + type SourceFile struct + AST *ast.File + Dir int + GoSource bool + Name string + Path string + Test bool + func (sf *SourceFile) Parse2AST(fset *token.FileSet) + type SourceMap struct + func NewSourceMap(project string, directory string) *SourceMap + func (sm *SourceMap) Dirs() []*SourceDir + func (sm *SourceMap) FileSet() *token.FileSet + func (sm *SourceMap) Files() []*SourceFile + func (sm *SourceMap) Module() string + func (sm *SourceMap) Path() string + func (sm *SourceMap) Scan()