Method
evaluateWith(parameterValue:in:)
Evaluates the lambda expression with a parameter value bound.
@MainActor func evaluateWith(parameterValue: (any EcoreValue)?, in context: ATLExecutionContext) async throws -> (any EcoreValue)?
Parameters
parameterValue-
The value to bind to the lambda parameter
context-
The execution context
Return Value
The evaluation result
Discussion
This is the primary evaluation method for lambda expressions, used by collection operations to bind the iterator variable to collection elements.