Documentation ¶
Index ¶
Constants ¶
View Source
const ArgumentCheck = "argument"
View Source
const AssignCheck = "assign"
View Source
const CaseCheck = "case"
View Source
const ConditionCheck = "condition"
View Source
const OperationCheck = "operation"
View Source
const ReturnCheck = "return"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentAnalyzer ¶
type ArgumentAnalyzer struct {
// contains filtered or unexported fields
}
func NewArgumentAnalyzer ¶
func NewArgumentAnalyzer(pass *analysis.Pass, config *config.Config) *ArgumentAnalyzer
func (*ArgumentAnalyzer) Check ¶
func (a *ArgumentAnalyzer) Check(n ast.Node)
func (*ArgumentAnalyzer) NodeFilter ¶
func (a *ArgumentAnalyzer) NodeFilter() []ast.Node
type AssignAnalyzer ¶
type AssignAnalyzer struct {
// contains filtered or unexported fields
}
func NewAssignAnalyzer ¶
func NewAssignAnalyzer(pass *analysis.Pass, config *config.Config) *AssignAnalyzer
func (*AssignAnalyzer) Check ¶
func (a *AssignAnalyzer) Check(n ast.Node)
func (*AssignAnalyzer) NodeFilter ¶
func (a *AssignAnalyzer) NodeFilter() []ast.Node
type CaseAnalyzer ¶
type CaseAnalyzer struct {
// contains filtered or unexported fields
}
func NewCaseAnalyzer ¶
func NewCaseAnalyzer(pass *analysis.Pass, config *config.Config) *CaseAnalyzer
func (*CaseAnalyzer) Check ¶
func (a *CaseAnalyzer) Check(n ast.Node)
func (*CaseAnalyzer) NodeFilter ¶
func (a *CaseAnalyzer) NodeFilter() []ast.Node
type ConditionAnalyzer ¶
type ConditionAnalyzer struct {
// contains filtered or unexported fields
}
func NewConditionAnalyzer ¶
func NewConditionAnalyzer(pass *analysis.Pass, config *config.Config) *ConditionAnalyzer
func (*ConditionAnalyzer) Check ¶
func (a *ConditionAnalyzer) Check(n ast.Node)
func (*ConditionAnalyzer) NodeFilter ¶
func (a *ConditionAnalyzer) NodeFilter() []ast.Node
type OperationAnalyzer ¶
type OperationAnalyzer struct {
// contains filtered or unexported fields
}
func NewOperationAnalyzer ¶
func NewOperationAnalyzer(pass *analysis.Pass, config *config.Config) *OperationAnalyzer
func (*OperationAnalyzer) Check ¶
func (a *OperationAnalyzer) Check(n ast.Node)
func (*OperationAnalyzer) NodeFilter ¶
func (a *OperationAnalyzer) NodeFilter() []ast.Node
type ReturnAnalyzer ¶
type ReturnAnalyzer struct {
// contains filtered or unexported fields
}
func NewReturnAnalyzer ¶
func NewReturnAnalyzer(pass *analysis.Pass, config *config.Config) *ReturnAnalyzer
func (*ReturnAnalyzer) Check ¶
func (a *ReturnAnalyzer) Check(n ast.Node)
func (*ReturnAnalyzer) NodeFilter ¶
func (a *ReturnAnalyzer) NodeFilter() []ast.Node
Click to show internal directories.
Click to hide internal directories.