struct FunctionThe documented shape of a function declaration.
Properties
let signature: String
The complete source-spelled declaration header without visibility.
let name: String
The source-spelled function name.
let generics: [DocumentableID]
The generic parameters in declaration order.
let params: [DocumentableID]
The parameters in declaration order.
let effects: [DocumentableID]
The declared effects.
let returns: DocumentableID?
The return type, when one was declared.