Lines Matching defs:pkg
137 type pkg struct { struct
138 fset *token.FileSet
139 files map[string]*file
141 typesPkg *types.Package
142 typesInfo *types.Info
145 sortable map[string]bool
147 main bool
149 problems []Problem
152 func (p *pkg) lint() []Problem {
186 pkg *pkg member
229 func (p *pkg) errorfAt(pos token.Position, confidence float64, args ...interface{}) *Problem {
264 func (p *pkg) typeCheck() error {
290 func (p *pkg) typeOf(expr ast.Expr) types.Type {
297 func (p *pkg) isNamedType(typ types.Type, importPath, name string) bool {
307 func (p *pkg) scopeOf(id *ast.Ident) *types.Scope {
326 func (p *pkg) scanSortable() {
358 func (p *pkg) isMain() bool {
1508 func isPkgDot(expr ast.Expr, pkg, name string) bool { argument