Home
last modified time | relevance | path

Searched defs:DocCollector (Results 1 – 1 of 1) sorted by relevance

/build/blueprint/bootstrap/bpdoc/
Dbpdoc.go22 type DocCollector struct { struct
23 pkgFiles map[string][]string // Map of package name to source files, provided by constructor
25 mutex sync.Mutex
26 pkgDocs map[string]*doc.Package // Map of package name to parsed Go AST, protected by mutex
27 docs map[string]*PropertyStructDocs // Map of type name to docs, protected by mutex
40 …nc (dc *DocCollector) Docs(pkg, name string, defaults reflect.Value) (*PropertyStructDocs, error) {
70 func (dc *DocCollector) getDocs(pkg, name string) *PropertyStructDocs {
79 func (dc *DocCollector) putDocs(pkg, name string, docs *PropertyStructDocs) *PropertyStructDocs {
320 func (dc *DocCollector) packageDocs(pkg string) (*doc.Package, error) {
338 func (dc *DocCollector) getPackageDocs(pkg string) *doc.Package {
[all …]