Stereotypes
public struct Stereotypes : Codable
Stereotypes for entity types
-
create a new
Stereotypes
struct with default valuesDeclaration
Swift
public static var `default`: Stereotypes { get }
-
memberwise initializer
Declaration
Swift
public init(classStereotype: Stereotype? = nil, structStereotype: Stereotype? = nil, extensionStereotype: Stereotype? = nil, enumStereotype: Stereotype? = nil, protocolStereotype: Stereotype? = nil)
-
stereotype to be applied for all classes
Declaration
Swift
public var `class`: Stereotype?
-
stereotype to be applied for all structs
Declaration
Swift
public var `struct`: Stereotype?
-
stereotype to be applied for all extensions
Declaration
Swift
public var `extension`: Stereotype?
-
stereotype to be applied for all enums
Declaration
Swift
public var `enum`: Stereotype?
-
stereotype to be applied for all protocols
Declaration
Swift
public var `protocol`: Stereotype?