TypeName
Describes name of the type used in typed declaration (variable, method parameter or return value etc.)
-
-
Type name used in declaration
-
The generics of this TypeName
-
Whether this TypeName is generic
-
Whether this TypeName is protocol composition
-
Actual type name if given type name is a typealias
-
Type name attributes, i.e.
@escaping
-
Modifiers, i.e.
escaping
-
Whether type is optional
-
Whether type is implicitly unwrapped optional
-
Type name without attributes and optional type information
-
Whether type is void (
Void
or()
) -
Whether type is a tuple
-
Tuple type data
-
Whether type is an array
-
Array type data
-
Whether type is a dictionary
-
Dictionary type data
-
Whether type is a closure
-
Closure type data
-
Prints typename as it would appear on definition
-
-
-
-
-