Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IgnoreAnnotation ¶
type IgnoreAnnotation struct {
// List of error codes to ignore (e.g., ["CODE1", "CODE2"])
Codes []string
// Start position of the ignore directive (comment position)
StartPos token.Pos
// End position where ignore directive ends
// For now, this is the position of the next statement after the comment
EndPos token.Pos
}
IgnoreAnnotation represents parsed @ignore CODE1, CODE2 annotation @immutable @implements &util.IgnoreAnnotation @constructor parseIgnoreAnnotation
func (*IgnoreAnnotation) GetCodes ¶
func (a *IgnoreAnnotation) GetCodes() []string
GetCodes returns the list of error codes
func (*IgnoreAnnotation) GetEndPos ¶
func (a *IgnoreAnnotation) GetEndPos() token.Pos
GetEndPos returns the end position
func (*IgnoreAnnotation) GetStartPos ¶
func (a *IgnoreAnnotation) GetStartPos() token.Pos
GetStartPos returns the start position
type IgnoreResult ¶
IgnoreResult is the result type returned by IgnoreReader analyzer It contains all @ignore annotations found in the package using optimized IgnoreSet @immutable
Click to show internal directories.
Click to hide internal directories.