-
Standard initializer.
Declaration
Swift
public init(name: String, type: String)Parameters
nameThe name of the argument
typeThe 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
View on GitHub
Install in Dash
Argument Structure Reference