WrappedTypeName
class WrappedTypeName
Wrapped types of sourcery types
-
Undocumented
Declaration
Swift
internal init(name: String, actualName: String, isOptional: Bool, isArray: Bool, isVoid: Bool, isPrimitive: Bool)
-
name of type
Declaration
Swift
var name: String
-
name of actual type
Declaration
Swift
var actualName: String
-
true if type is optional
Declaration
Swift
var isOptional: Bool
-
true if type is array
Declaration
Swift
var isArray: Bool
-
true if type is void
Declaration
Swift
var isVoid: Bool
-
true if type is primitive
Declaration
Swift
var isPrimitive: Bool
-
true if type is a type alias
Declaration
Swift
var isTypeAlias: Bool { get }
-
true if type is a primitive type
Declaration
Swift
var isPrimitiveType: Bool { get }
-
Undocumented
Declaration
Swift
convenience init(from: TypeName)
-
maps the publisher success type from api to facade type
Declaration
Swift
var mappedPublisherType: String { get }
-
success type without
AnyPublisher
wrapperDeclaration
Swift
var mappedPublisherSuccessType: String { get }
-
removes optional and collection characters from type name
Declaration
Swift
var underlyingType: String { get }