Structure
ATLVariableExpression
Represents a variable reference expression in ATL.
struct ATLVariableExpression
Overview
Variable expressions provide access to named variables within the current execution scope, including rule parameters, pattern variables, helper parameters, and local variable bindings. They form the foundation for data flow within ATL transformations.
Example Usage
// Reference to source pattern variable
let sourceRef = ATLVariableExpression(name: "s")
// Reference to helper parameter
let paramRef = ATLVariableExpression(name: "inputValue")
Topics
Initializers
?
init(name:)
Creates a new variable reference expression.
Instance Properties
V
name
The name of the variable to reference.
Instance Methods
F
evaluate(in:)
Evaluates the expression within the specified execution context.