Documentation Language: Swift

Structure

ATLTupleExpression

Represents an ATL/OCL tuple expression with typed fields.

struct ATLTupleExpression

Overview

Tuple expressions create structured composite values with named fields, following the OCL syntax:

Tuple{field1 : Type1 = value1, field2 : Type2 = value2, ...}

Example Usage

let tupleExpr = ATLTupleExpression(
    fields: [
        ("author", "String", ATLNavigationExpression(...)),
        ("pages", "Integer", ATLNavigationExpression(...))
    ]
)

Topics

Operators

Initializers

?
init(fields:)

Creates a new tuple expression.

Instance Properties

V
fields

The fields of the tuple.

Instance Methods

F
evaluate(in:)

Evaluates the expression within the specified execution context.

Type Aliases

T
ATLTupleExpression.TupleField

Tuple field definition.

Default Implementations

Relationships

Conforms To