Structure
Function.Signature
public struct Signature: Hashable, Codable
A function signature.
Relationships
Member Of
Function
A function declaration.
Conforms To
ExpressibleBySyntax
A type that can be initialized with a Swift syntax node.
Codable
CustomStringConvertible
Hashable
Initializers
init(_:)
public init(_ node: FunctionSignatureSyntax)
Creates an instance initialized with the given syntax node.
Properties
input
let input: [Parameter]
The function inputs.
output
let output: String?
The function output, if any.
throwsOrRethrowsKeyword
let throwsOrRethrowsKeyword: String?
The throws
or rethrows
keyword, if any.
description
var description: String