Documentation Language: Swift

Method

evaluate(in:)

Evaluates the lambda expression in the standard context.

@MainActor func evaluate(in context: ATLExecutionContext) async throws -> (any EcoreValue)?

Parameters

context

The execution context

Return Value

The evaluation result

Discussion

This method provides compatibility with the general ATLExpression protocol but lambda expressions are typically evaluated using evaluateWith instead.