EffectDeclaration

struct EffectDeclaration

A declared effect and its function-shaped interface.

Properties

let signature: String

The complete source-spelled declaration header without visibility.

let name: String

The effect name without its leading quote.

let generics: [DocumentableID]

The generic parameters in declaration order.

let params: [DocumentableID]

The operation parameters in declaration order.