-
Standard initializer.
Declaration
Swift
public init(name: String, type: String)
Parameters
name
The name of the argument
type
The text representation of the function argument type
-
The name of the argument
Declaration
Swift
public let name: String
-
The text representation of the function argument type
Declaration
Swift
public let type: String
-
Undocumented
Declaration
Swift
@inlinable public func asParameter(documentation: String) -> Parameter
-
Renders this Argument as a string.
The String format is as follows:
"\(self.name): \(self.type)"
Declaration
Swift
@inlinable public func renderContent() -> String