mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
23 lines
500 B
Swift
23 lines
500 B
Swift
//
|
|
// Region.swift
|
|
// SwiftLint
|
|
//
|
|
// Created by JP Simard on 8/29/15.
|
|
// Copyright © 2015 Realm. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import SourceKittenFramework
|
|
|
|
public struct Region {
|
|
let start: Location
|
|
let end: Location
|
|
let disabledRuleIdentifiers: Set<String>
|
|
|
|
public init(start: Location, end: Location, disabledRuleIdentifiers: Set<String>) {
|
|
self.start = start
|
|
self.end = end
|
|
self.disabledRuleIdentifiers = disabledRuleIdentifiers
|
|
}
|
|
}
|