-
Declaration
Swift
var annotation: Annotation?
-
Declaration
Swift
var id: String { get }
-
Declaration
Swift
var modified: Bool
-
contains additional imports besides Foundation if necessary
Declaration
Swift
var specialImports: Set<String>
-
Declaration
Swift
func modify(change: Change)
-
Undocumented
Declaration
Swift
internal init( ignore: Bool, isOfType: Bool, localName: String, name: String, parentName: String? = nil, inheritedTypes: [String], cases: [WrappedEnumCase] )
-
Undocumented
Declaration
Swift
convenience init(from: Enum)
-
true if stated in source code
Declaration
Swift
var ignore: Bool
-
true if stated in source code
Declaration
Swift
var isOfType: Bool
-
local name of enum
Declaration
Swift
var localName: String
-
name of enum
Declaration
Swift
var name: String
-
name of parent of enum (for internal enums)
Declaration
Swift
var parentName: String?
-
list of inherited protocols
Declaration
Swift
var inheritedTypes: [String]
-
list of enum cases
Declaration
Swift
var cases: [WrappedEnumCase]
-
Default enum representation for internal enums
Declaration
Swift
lazy var defaultInternal: () -> String { get set }
-
Default enum body representation for external enums
Declaration
Swift
lazy var externalEnum: () -> String { get set }
-
Compares the cases between to enums so that differences can be detected and the corresponding change types can be created.
Declaration
Swift
func compareCases(_ rhs: WrappedEnum) -> [Change]
Parameters
rhs
comparing enum
Return Value
list of changes
-
body of error enum
Declaration
Swift
var errorEnum: String { get }
-
handle replacing the parent of an internal enum
Declaration
Swift
internal func handleReplacedParentChange(change: ReplaceChange)
Parameters
change
ReplaceChange affecting this internal enum
-
handle replacing an enum
Declaration
Swift
internal func handleReplacedChange(change: ReplaceChange)
Parameters
change
ReplaceChange affecting this enum
-
handle renaming an enum
Declaration
Swift
internal func handleRenameChange(change: RenameChange)
Parameters
change
RenameChange affecting this enum
-
handle deleting an enum
Declaration
Swift
internal func handleDeletedChange(change: DeleteChange)
Parameters
change
DeleteChange affecting this enum
-
En-/Decoding for ofType internal enums
Declaration
Swift
var ofTypeCoding: String { get }
-
Default representation of ofType internal enums
Declaration
Swift
var ofInternal: String { get }
-
Declaration string for enum cases
Declaration
Swift
var casesString: String { get }
-
Representation of an internal enum
Declaration
Swift
var internalEnum: String { get }