Documentation ¶
Overview ¶
Package suppression defines an analyzer that identifies calls suppressed by a comment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "suppression", Doc: "This analyzer identifies ast nodes that are suppressed by comments.", Run: run, ResultType: reflect.TypeOf(new(ResultType)).Elem(), }
Functions ¶
This section is empty.
Types ¶
type ResultType ¶
ResultType is a set of nodes that are suppressed by a comment.
func (ResultType) IsSuppressed ¶
func (rt ResultType) IsSuppressed(n ast.Node) bool
IsSuppressed determines whether the given node is suppressed.
Click to show internal directories.
Click to hide internal directories.