Documentation Language: Swift

Initializer

init(module:sources:targets:executionEngine:commandStack:)

Creates a new ATL execution context.

@MainActor init(module: ATLModule, sources: OrderedDictionary<String, Resource> = [:], targets: OrderedDictionary<String, Resource> = [:], executionEngine: ECoreExecutionEngine, commandStack: CommandStack? = nil)

Parameters

module

The ATL module to execute

sources

Source models indexed by alias

targets

Target models indexed by alias

executionEngine

The ECore execution engine to delegate to

commandStack

Optional command stack for undo/redo support