Structure
AQLCallExpression
Represents method/operation calls in AQL.
struct AQLCallExpression
Overview
Call expressions invoke operations on objects or call standalone functions. This includes OCL standard library operations, custom queries, and services.
Call Types
Object Operations
// obj.toString()
AQLCallExpression(
source: objExpr,
methodName: "toString",
arguments: []
)
Standalone Functions
// max(value1, value2)
AQLCallExpression(
source: nil,
methodName: "max",
arguments: [value1Expr, value2Expr]
)
Standard Library
AQL provides standard operations on primitives and collections following OCL semantics.
Topics
Initializers
?
init(source:methodName:arguments:)
Creates a method call expression.
Instance Properties
V
arguments
Argument expressions passed to the method.
V
methodName
The method/function name to invoke.
V
source
Optional source object expression (nil for standalone functions).
Instance Methods
F
evaluate(in:)
Evaluates the expression within the specified execution context.