Home | History | Annotate | Download | only in api

Lines Matching refs:Pkg

146 		for _, pkg := range strings.Fields(string(stds)) {
147 if !internalPkg.MatchString(pkg) {
148 pkgNames = append(pkgNames, pkg)
172 pkg, _ := w.Import(name)
173 w.export(pkg)
228 func (w *Walker) export(pkg *types.Package) {
230 log.Println(pkg)
232 pop := w.pushScope("pkg " + pkg.Path())
233 w.current = pkg
234 scope := pkg.Scope()
430 pkg := w.imported[name]
431 if pkg != nil {
432 if pkg == &importing {
435 return pkg, nil
462 if pkg := pkgCache[key]; pkg != nil {
463 w.imported[name] = pkg
464 return pkg, nil
474 log.Fatalf("pkg %q, dir %q: ScanDir: %v", name, dir, err)
503 pkg, err = conf.Check(name, fset, files, nil)
513 pkgCache[key] = pkg
516 w.imported[name] = pkg
517 return pkg, nil
633 pkg := obj.Pkg()
634 if pkg != nil && pkg != w.current {
635 buf.WriteString(pkg.Name())