66// Copyright © 2020 Parse. All rights reserved.
77//
88
9- //===----------------------------------------------------------------------===//
9+ // ===----------------------------------------------------------------------===//
1010//
1111// This source file is part of the Swift.org open source project
1212//
1616// See https://swift.org/LICENSE.txt for license information
1717// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1818//
19- //===----------------------------------------------------------------------===//
19+ // ===----------------------------------------------------------------------===//
2020
2121import Foundation
2222
23+ // swiftlint:disable type_name
24+
2325/// A marker protocol used to determine whether a value is a `String`-keyed `Dictionary`
2426/// containing `Encodable` values (in which case it should be exempt from key conversion strategies).
2527///
@@ -1117,9 +1119,9 @@ internal struct _ParseEncodingStorage {
11171119 }
11181120}
11191121
1120- //===----------------------------------------------------------------------===//
1122+ // ===----------------------------------------------------------------------===//
11211123// Error Utilities
1122- //===----------------------------------------------------------------------===//
1124+ // ===----------------------------------------------------------------------===//
11231125
11241126extension EncodingError {
11251127 /// Returns a `.invalidValue` error describing the given invalid floating-point value.
@@ -1143,9 +1145,9 @@ extension EncodingError {
11431145 }
11441146}
11451147
1146- //===----------------------------------------------------------------------===//
1148+ // ===----------------------------------------------------------------------===//
11471149// Shared Key Types
1148- //===----------------------------------------------------------------------===//
1150+ // ===----------------------------------------------------------------------===//
11491151
11501152private struct _JSONKey : CodingKey {
11511153 public var stringValue : String
@@ -1174,9 +1176,9 @@ private struct _JSONKey : CodingKey {
11741176 static let `super` = _JSONKey ( stringValue: " super " ) !
11751177}
11761178
1177- //===----------------------------------------------------------------------===//
1179+ // ===----------------------------------------------------------------------===//
11781180// Shared ISO8601 Date Formatter
1179- //===----------------------------------------------------------------------===//
1181+ // ===----------------------------------------------------------------------===//
11801182// swiftlint:disable:next line_length
11811183// NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
11821184@available ( macOS 10 . 12 , iOS 10 . 0 , watchOS 3 . 0 , tvOS 10 . 0 , * )
0 commit comments