Method
evaluateExpression(_:)
Evaluates an MTL expression using the AQL evaluator.
@MainActor func evaluateExpression(_ expr: MTLExpression) async throws -> (any EcoreValue)?
Parameters
expr-
The expression to evaluate
Return Value
The result of evaluating the expression, or nil if the result is null
Discussion
The expression is evaluated in the current context with access to all variables in the current and enclosing scopes.