Classes
The following classes are available globally.
-
Utility to measure the time spent in each custom rule.
See moreDeclaration
Swift
public final class CustomRuleTimer
-
A persisted cache for storing and retrieving linter results.
See moreDeclaration
Swift
public final class LinterCache
-
Container to register and look up SwiftLint rules.
See moreDeclaration
Swift
public final class RuleRegistry
-
A storage mechanism for aggregating the results of
See moreCollectingRule
s.Declaration
Swift
public class RuleStorage : CustomStringConvertible
-
A unit of Swift source code, either on disk or in memory.
See moreDeclaration
Swift
public final class SwiftLintFile
extension SwiftLintFile: Equatable, Hashable
-
A specialized
See moreViolationsSyntaxVisitor
that tracks declared identifiers per scope while traversing the AST.Declaration
Swift
open class DeclaredIdentifiersTrackingVisitor : ViolationsSyntaxVisitor
-
A SwiftSyntax
See moreSyntaxVisitor
that produces absolute positions where violations should be reported.Declaration
Swift
open class ViolationsSyntaxVisitor : SyntaxVisitor