Documentation ¶
Index ¶
- func DeprecatedReceiverMethodSelectorExprAnalyzer(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, ...) *analysis.Analyzer
- func DeprecatedReceiverMethodSelectorExprRunner(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, ...) func(*analysis.Pass) (interface{}, error)
- func DeprecatedWithReplacementSelectorExprAnalyzer(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, ...) *analysis.Analyzer
- func DeprecatedWithReplacementSelectorExprRunner(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, ...) func(*analysis.Pass) (interface{}, error)
- func FunctionCallExprAnalyzer(analyzerName string, packageFunc func(ast.Expr, *types.Info, string) bool, ...) *analysis.Analyzer
- func FunctionCallExprRunner(packageFunc func(ast.Expr, *types.Info, string) bool, functionName string) func(*analysis.Pass) (interface{}, error)
- func ReceiverMethodAssignStmtAnalyzer(analyzerName string, ...) *analysis.Analyzer
- func ReceiverMethodAssignStmtRunner(packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, ...) func(*analysis.Pass) (interface{}, error)
- func ReceiverMethodCallExprAnalyzer(analyzerName string, ...) *analysis.Analyzer
- func ReceiverMethodCallExprRunner(packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, ...) func(*analysis.Pass) (interface{}, error)
- func ReceiverMethodSelectorExprAnalyzer(analyzerName string, ...) *analysis.Analyzer
- func ReceiverMethodSelectorExprRunner(packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, ...) func(*analysis.Pass) (interface{}, error)
- func SchemaAttributeReferencesAnalyzer(analyzerName string, fieldName string) *analysis.Analyzer
- func SchemaAttributeReferencesRunner(analyzerName string, fieldName string) func(*analysis.Pass) (interface{}, error)
- func SelectorExprAnalyzer(analyzerName string, packageFunc func(ast.Expr, *types.Info, string) bool, ...) *analysis.Analyzer
- func SelectorExprRunner(packageFunc func(ast.Expr, *types.Info, string) bool, selectorName string) func(*analysis.Pass) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeprecatedReceiverMethodSelectorExprAnalyzer ¶
func DeprecatedReceiverMethodSelectorExprAnalyzer(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, packageName, typeName, methodName string) *analysis.Analyzer
DeprecatedReceiverMethodSelectorExprAnalyzer returns an Analyzer for deprecated *ast.SelectorExpr
func DeprecatedReceiverMethodSelectorExprRunner ¶
func DeprecatedReceiverMethodSelectorExprRunner(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, packageName, typeName, methodName string) func(*analysis.Pass) (interface{}, error)
DeprecatedReceiverMethodSelectorExprRunner returns an Analyzer runner for deprecated *ast.SelectorExpr
func DeprecatedWithReplacementSelectorExprAnalyzer ¶
func DeprecatedWithReplacementSelectorExprAnalyzer(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, oldPackageName, oldSelectorName, newPackageName, newSelectorName string) *analysis.Analyzer
DeprecatedWithReplacementSelectorExprAnalyzer returns an Analyzer for deprecated *ast.SelectorExpr with replacement
func DeprecatedWithReplacementSelectorExprRunner ¶
func DeprecatedWithReplacementSelectorExprRunner(analyzerName string, selectorExprAnalyzer *analysis.Analyzer, oldPackageName, oldSelectorName, newPackageName, newSelectorName string) func(*analysis.Pass) (interface{}, error)
DeprecatedWithReplacementSelectorExprRunner returns an Analyzer runner for deprecated *ast.SelectorExpr with replacement
func FunctionCallExprAnalyzer ¶
func FunctionCallExprAnalyzer(analyzerName string, packageFunc func(ast.Expr, *types.Info, string) bool, packagePath string, functionName string) *analysis.Analyzer
FunctionCallExprAnalyzer returns an Analyzer for function *ast.CallExpr
func FunctionCallExprRunner ¶
func FunctionCallExprRunner(packageFunc func(ast.Expr, *types.Info, string) bool, functionName string) func(*analysis.Pass) (interface{}, error)
FunctionCallExprRunner returns an Analyzer runner for function *ast.CallExpr
func ReceiverMethodAssignStmtAnalyzer ¶
func ReceiverMethodAssignStmtAnalyzer(analyzerName string, packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, packagePath string, receiverName string, methodName string) *analysis.Analyzer
ReceiverMethodAssignStmtAnalyzer returns an Analyzer for receiver method *ast.AssignStmt
func ReceiverMethodAssignStmtRunner ¶
func ReceiverMethodAssignStmtRunner(packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, receiverName string, methodName string) func(*analysis.Pass) (interface{}, error)
ReceiverMethodAssignStmtRunner returns an Analyzer runner for receiver method *ast.AssignStmt
func ReceiverMethodCallExprAnalyzer ¶
func ReceiverMethodCallExprAnalyzer(analyzerName string, packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, packagePath string, receiverName string, methodName string) *analysis.Analyzer
ReceiverMethodCallExprAnalyzer returns an Analyzer for receiver method *ast.CallExpr
func ReceiverMethodCallExprRunner ¶
func ReceiverMethodCallExprRunner(packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, receiverName string, methodName string) func(*analysis.Pass) (interface{}, error)
ReceiverMethodCallExprRunner returns an Analyzer runner for receiver method *ast.CallExpr
func ReceiverMethodSelectorExprAnalyzer ¶
func ReceiverMethodSelectorExprAnalyzer(analyzerName string, packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, packagePath string, receiverName string, methodName string) *analysis.Analyzer
ReceiverMethodSelectorExprAnalyzer returns an Analyzer for receiver method *ast.SelectorExpr
func ReceiverMethodSelectorExprRunner ¶
func ReceiverMethodSelectorExprRunner(packageReceiverMethodFunc func(ast.Expr, *types.Info, string, string) bool, receiverName string, methodName string) func(*analysis.Pass) (interface{}, error)
ReceiverMethodSelectorExprRunner returns an Analyzer runner for receiver method *ast.SelectorExpr
func SchemaAttributeReferencesAnalyzer ¶ added in v0.12.0
SchemaAttributeReferencesAnalyzer returns an Analyzer for fields that use schema attribute references
func SchemaAttributeReferencesRunner ¶ added in v0.12.0
func SchemaAttributeReferencesRunner(analyzerName string, fieldName string) func(*analysis.Pass) (interface{}, error)
SchemaAttributeReferencesRunner returns an Analyzer runner for fields that use schema attribute references
Types ¶
This section is empty.