Lines Matching defs:pkg
182 type pkg struct { struct
183 fset *token.FileSet
184 files map[string]*file
186 typesPkg *types.Package
187 typesInfo *types.Info
190 sortable map[string]bool
192 main bool
194 problems []Problem
197 func (p *pkg) lint() []Problem {
212 pkg *pkg member
255 func (p *pkg) errorfAt(pos token.Position, confidence float64, args ...interface{}) *Problem {
290 func (p *pkg) typeCheck() error {
316 func (p *pkg) typeOf(expr ast.Expr) types.Type {
323 func (p *pkg) isNamedType(typ types.Type, importPath, name string) bool {
333 func (p *pkg) scopeOf(id *ast.Ident) *types.Scope {
352 func (p *pkg) scanSortable() {
384 func (p *pkg) isMain() bool {
1548 func isPkgDot(expr ast.Expr, pkg, name string) bool { argument