mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
12c510c605
because this is only used in the missing docs rule which handles class declarations by checking the "override" keyword
23 lines
468 B
Swift
23 lines
468 B
Swift
//
|
|
// SwiftDeclarationKind+SwiftLint.swift
|
|
// SwiftLint
|
|
//
|
|
// Created by JP Simard on 2015-11-17.
|
|
// Copyright © 2015 Realm. All rights reserved.
|
|
//
|
|
|
|
import SourceKittenFramework
|
|
|
|
extension SwiftDeclarationKind {
|
|
internal static func variableKinds() -> [SwiftDeclarationKind] {
|
|
return [
|
|
.VarClass,
|
|
.VarGlobal,
|
|
.VarInstance,
|
|
.VarLocal,
|
|
.VarParameter,
|
|
.VarStatic
|
|
]
|
|
}
|
|
}
|