Typed
public protocol Typed
Descibes typed declaration, i.e. variable, method parameter, tuple element, enum case associated value
-
Type, if known
Declaration
Swift
var type: Type?
-
Type name
Declaration
Swift
var typeName: TypeName
-
Whether type is optional
Declaration
Swift
var isOptional: Bool
-
Whether type is implicitly unwrapped optional
Declaration
Swift
var isImplicitlyUnwrappedOptional: Bool
-
Type name without attributes and optional type information
Declaration
Swift
var unwrappedTypeName: String