Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Function_Signature

mattt edited this page Jan 22, 2020 · 8 revisions

Function.Signature

A function signature.

public struct Signature: Hashable, Codable

Inheritance

Hashable, Codable, CustomStringConvertible, ExpressibleBySyntax


Initializers

init(_:)

Creates an instance initialized with the given syntax node.

public init(_ node: FunctionSignatureSyntax)

Properties

input

The function inputs.

let input: [Parameter]

output

The function output, if any.

let output: String?

throwsOrRethrowsKeyword

The throws or rethrows keyword, if any.

let throwsOrRethrowsKeyword: String?

description

var description: String