Documentation Language: Swift

Structure

ATLNavigationExpression

Represents property navigation expressions in ATL.

struct ATLNavigationExpression

Overview

Navigation expressions provide access to object properties and references, enabling traversal of model structures according to metamodel specifications. They support both single-valued and multi-valued property access with automatic collection handling.

Overview

Navigation expressions handle several navigation patterns:

Example Usage

// Navigate to firstName property
let firstNameExpr = ATLNavigationExpression(
    source: ATLVariableExpression(name: "member"),
    property: "firstName"
)

// Navigate to family reference
let familyExpr = ATLNavigationExpression(
    source: ATLVariableExpression(name: "member"),
    property: "family"
)

Topics

Operators

Initializers

?
init(source:property:)

Creates a new navigation expression.

Instance Properties

V
property

The property name to navigate to.

V
source

The source expression to navigate from.

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
ATLCollectionExpression

Represents an ATL collection operation expression.

S
ATLLiteralExpression

Represents literal value expressions in ATL.