Protocol
ATLStatement
Protocol for imperative statements in ATL called rules.
protocol ATLStatement : Sendable
Overview
ATL statements provide imperative control flow within the otherwise declarative ATL framework. They are primarily used within called rules to perform sequential operations that cannot be expressed through pattern-based transformations.
Overview
Statement types include:
-
Assignment statements: Variable and property assignments
-
Conditional statements: If-then-else control structures
-
Loop statements: Iteration over collections
-
Expression statements: Standalone expression evaluation
Implementation Notes
Statements maintain Sendable conformance to enable safe concurrent execution within ATL virtual machines operating across multiple actors.
Topics
Instance Methods
F
execute(in:)
Executes the statement within the specified execution context.