Structure
ATLLiteralExpression
Represents literal value expressions in ATL.
struct ATLLiteralExpression
Overview
Literal expressions provide direct access to constant values within ATL transformations, including primitive types, strings, collections, and special values like null. They form the foundation for constant data within transformation specifications.
Example Usage
// String literal
let stringLiteral = ATLLiteralExpression(value: "Hello, World!")
// Number literal
let numberLiteral = ATLLiteralExpression(value: 42)
// Boolean literal
let boolLiteral = ATLLiteralExpression(value: true)
// Null literal
let nullLiteral = ATLLiteralExpression(value: nil)
Topics
Operators
?
Initializers
?
init(value:)
Creates a new literal expression.
Instance Properties
V
value
The literal value represented by this expression.
Instance Methods
F
evaluate(in:)
Evaluates the expression within the specified execution context.
Default Implementations
Relationships
Conforms To
See Also
Expressions
P
ATLExpression
Protocol for ATL expressions that can be evaluated within transformation contexts.
S
ATLNavigationExpression
Represents property navigation expressions in ATL.
S
ATLCollectionExpression
Represents an ATL collection operation expression.