Documentation Language: Swift

Method

dispatchThisModuleMethod(_:arguments:)

Dispatch a thisModule.method() call.

@MainActor func dispatchThisModuleMethod(_ name: String, arguments: [(any EcoreValue)?]) async throws -> (any EcoreValue)?

Parameters

name

The method name to dispatch.

arguments

The evaluated argument values.

Return Value

The result of the dispatched call, if any.

Discussion

Dispatch first checks built-in operations such as resolveTemp, then tries called rules through the owning virtual machine, and finally falls back to module helpers. This mirrors ATL’s mixed dispatch model while preserving the existing helper resolution path.