WrappedStruct
class WrappedStruct : Modifiable
extension WrappedStruct: NSCopying
Wraps struct types of Sourcery
-
Declaration
Swift
var annotation: Annotation?
-
Declaration
Swift
var id: String { get }
-
Declaration
Swift
var modified: Bool
-
Declaration
Swift
func modify(change: Change)
-
Undocumented
Declaration
Swift
internal init(localName: String, variables: [WrappedVariable], methods: [WrappedMethod])
-
Undocumented
Declaration
Swift
convenience init(from: SourceryRuntime.Struct)
-
contains additional imports besides Foundation if necessary
Declaration
Swift
var specialImports: Set<String>
-
name of struct
Declaration
Swift
var localName: String
-
variables of struct
Declaration
Swift
var variables: [WrappedVariable]
-
methods of struct
Declaration
Swift
var methods: [WrappedMethod]
-
handle renaming an endpoint
Declaration
Swift
internal func handleEndpointRenameChange(_ change: RenameChange)
Parameters
change
RenameChange affecting this endpoint
-
handle deleting an endpoint
Declaration
Swift
internal func handleEndpointDeletedChange(_ change: DeleteChange)
Parameters
change
DeleteChange affecting this endpoint
-
Undocumented
Declaration
Swift
func copy(with zone: NSZone? = nil) -> Any