gotools/go/analysis/passes/buildtag/buildtag.go

const Doc

var Analyzer

func runBuildTag(pass *analysis.Pass) (interface{}

func checkGoFile(pass *analysis.Pass, f *ast.File) {}

func checkOtherFile(pass *analysis.Pass, filename string) error {}

type checker

func (check *checker) init(pass *analysis.Pass) {}

func (check *checker) file(pos token.Pos, text string) {}

func (check *checker) comment(pos token.Pos, text string) {}

func (check *checker) goBuildLine(pos token.Pos, line string) {}

func (check *checker) plusBuildLine(pos token.Pos, line string) {}

func (check *checker) finish() {}

// tags reports issues in go versions in tags within the expression e.
func (check *checker) tags(pos token.Pos, e constraint.Expr) {}

// malformedGoTag returns true if a tag is likely to be a malformed
// go version constraint.
func malformedGoTag(tag string) bool {}

// validTag returns (valid, ok) where valid reports when a tag is valid,
// and ok reports determining if the tag is valid succeeded.
func validTag(tag string) (valid bool, ok bool) {}