Home | History | Annotate | Download | only in bpdoc

Lines Matching refs:Package

0 package bpdoc
23 pkgFiles map[string][]string // Map of package name to source files, provided by constructor
26 pkgs map[string]*doc.Package // Map of package name to parsed Go AST, protected by mutex
33 pkgs: make(map[string]*doc.Package),
39 // format <package path>.<type name>
61 return nil, fmt.Errorf("package %q type %q not found", pkgPath, name)
327 // Package AST generation and storage
328 func (c *Context) pkg(pkgPath string) (*doc.Package, error) {
340 return nil, fmt.Errorf("unknown package %q", pkgPath)
346 func (c *Context) getPackage(pkgPath string) *doc.Package {
353 func (c *Context) putPackage(pkgPath string, pkg *doc.Package) *doc.Package {
365 func NewPackageAST(files []string) (*ast.Package, error) {