Signature
public struct Signature : Hashable, Codable
extension Function.Signature: ExpressibleBySyntax
extension Function.Signature: CustomStringConvertible
A function signature.
-
The function inputs.
Declaration
Swift
public let input: [Parameter]
-
The function output, if any.
Declaration
Swift
public let output: String?
-
The
throws
orrethrows
keyword, if any.Declaration
Swift
public let throwsOrRethrowsKeyword: String?
-
Creates an instance initialized with the given syntax node.
Declaration
Swift
public init(_ node: FunctionSignatureSyntax)
-
Declaration
Swift
public var description: String { get }