Documentation Language: Swift

Method

dispatchThisModuleAttribute(_:)

Dispatch a thisModule.attribute navigation to a context-free helper.

@MainActor func dispatchThisModuleAttribute(_ name: String) async throws -> (any EcoreValue)?

Parameters

name

Attribute name (maps to a helper name)

Return Value

The result of evaluating the helper

Discussion

Rejects contextual helpers (they require a receiver object). Calls the matching context-free helper with no arguments.