Method
executeCalledRule(_:arguments:)
Executes a called rule with the specified parameters.
@MainActor func executeCalledRule(_ ruleName: String, arguments: [(any EcoreValue)?]) async throws -> [any EObject]
Parameters
ruleName-
The name of the called rule to execute
arguments-
The argument values to pass to the rule
Return Value
The created target elements
Discussion
Called rules provide imperative transformation capabilities within the otherwise declarative ATL framework. They are invoked explicitly with parameters and can create multiple target elements.