We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A function signature.
public struct Signature: Hashable, Codable
Codable, CustomStringConvertible, ExpressibleBySyntax, Hashable
Codable
CustomStringConvertible
ExpressibleBySyntax
Hashable
init(_:)
Creates an instance initialized with the given syntax node.
public init(_ node: FunctionSignatureSyntax)
input
The function inputs.
let input: [Parameter]
output
The function output, if any.
let output: String?
throwsOrRethrowsKeyword
The throws or rethrows keyword, if any.
throws
rethrows
let throwsOrRethrowsKeyword: String?
description
var description: String