Lines Matching defs:program
54 type program struct { struct
55 ctx *linter.Context
57 fset *token.FileSet
59 loadedPackages []*packages.Package
61 infoList []*linter.CheckerInfo
63 checkers []*linter.Checker
65 packages []string
67 foundIssues bool
69 checkerParams boundCheckerParams
71 filters struct {
78 workDir string
79 gopath string
80 goroot string
82 exitCode int
83 checkTests bool
84 checkGenerated bool
85 shorterErrLocation bool
86 coloredOutput bool
87 verbose bool
90 func (p *program) exit() error {
97 func (p *program) runCheckers() error {
109 func (p *program) checkPackage(pkg *packages.Package) {
124 func (p *program) checkFile(f *ast.File) {
168 func (p *program) initCheckers() error {
241 func (p *program) loadProgram() error {
275 func (p *program) loadPlugin() error {
292 func (p *program) bindCheckerParams() error {
320 func (p *program) checkerParamKey(info *linter.CheckerInfo, pname string) string {
325 func (p *program) bindDefaultEnabledList() error {
340 func (p *program) parseArgs() error {
386 func (p *program) assignCheckerParams() error {
412 func (p *program) isGenerated(f *ast.File) bool {
417 func (p *program) getFilename(f *ast.File) string {
422 func (p *program) shortenLocation(loc string) string {
443 func printWarning(p *program, rule, loc, warn string) {