MethodParameter
Describes method parameter
-
Parameter external name
Declaration
Swift
public var argumentLabel: String?
-
Parameter internal name
Declaration
Swift
public let name: String
-
Parameter type name
Declaration
Swift
public let typeName: TypeName
-
Parameter flag whether it’s inout or not
Declaration
Swift
public let `inout`: Bool
-
Parameter type, if known
Declaration
Swift
public var type: Type?
-
Parameter type attributes, i.e.
@escaping
Declaration
Swift
public var typeAttributes: [String: Attribute]
-
Method parameter default value expression
Declaration
Swift
public var defaultValue: String?
-
Annotations, that were created with // sourcery: annotation1, other =
annotation value
, alterantive = 2Declaration
Swift
public var annotations: [String: NSObject] = [:]