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

Function_Signature

Mattt edited this page Aug 2, 2020 · 8 revisions

Function.Signature

A function signature.

public struct Signature:​ Hashable, Codable

Inheritance

Codable, CustomStringConvertible, ExpressibleBySyntax, Hashable

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
Clone this wiki locally