Documentation
Language: Swift
ATL
Essentials
Getting Started with ATL
Understanding ATL
Transformation Execution
C
ATLVirtualMachine
Initializers
M
init(module: ATLModule, enableDebugging: Bool)
Instance Properties
P
let module: ATLModule
P
var statistics: ATLExecutionStatistics
Instance Methods
M
func enableDebugging(Bool) async
M
func execute(sources: OrderedDictionary<String, Resource>, targets: OrderedDictionary<String, Resource>) async throws
M
func executeCalledRule(String, arguments: [(any EcoreValue)?]) async throws -> [any EObject]
M
func getStatistics() -> ATLExecutionStatistics
C
ATLExecutionContext
Initializers
M
init(module: ATLModule, sources: OrderedDictionary<String, Resource>, targets: OrderedDictionary<String, Resource>, executionEngine: ECoreExecutionEngine, commandStack: CommandStack?)
Instance Properties
P
var debug: Bool
P
let executionEngine: ECoreExecutionEngine
P
let module: ATLModule
P
var sources: OrderedDictionary<String, Resource>
P
var targets: OrderedDictionary<String, Resource>
Instance Methods
M
func addLazyBinding(ATLLazyBinding)
M
func addLazyBindingWithContext(targetElement: EUUID, property: String, expression: any ATLExpression)
M
func addSource(String, resource: Resource) async
M
func addTarget(String, resource: Resource) async
M
func addTraceLink(ruleName: String, sourceElement: EUUID, targetElements: [EUUID])
M
func callHelper(String, arguments: [(any EcoreValue)?]) async throws -> (any EcoreValue)?
M
func clearCaches() async
M
func clearErrorContext()
M
func createElement(type: String, in: String) async throws -> any EObject
M
func findElement(EUUID) async -> (any EObject)?
M
func findElementsOfType(String) async throws -> [any EObject]
M
func getCacheStatistics() async -> [String : Int]
M
func getErrorContext() -> ATLErrorContext
M
func getSource(String) -> Resource?
M
func getTarget(String) -> Resource?
M
func getTraceLinks(for: EUUID) -> [ATLTraceLink]
M
func getVariable(String) throws -> (any EcoreValue)?
M
func navigate(from: (any EcoreValue)?, property: String) async throws -> (any EcoreValue)?
M
func popScope()
M
func pushScope()
M
func registerHelper(any ATLHelperType)
M
func resolveLazyBindings() async throws
M
func setVariable(String, value: (any EcoreValue)?)
S
ATLExecutionStatistics
Initializers
M
init()
Instance Properties
P
var calledRulesExecuted: Int
P
var completedPhases: Set<String>
P
var currentPhase: String?
P
var elementsCreated: Int
P
var elementsProcessed: Int
P
var endTime: Date?
P
var executionId: UUID?
P
var executionTime: TimeInterval
P
var helperExecutionTimes: [String : TimeInterval]
P
var helperInvocations: Int
P
var lastError: Error?
P
var lazyBindingsResolved: Int
P
var navigationOperations: Int
P
var peakMemoryUsage: Int
P
var performanceMetrics: ATLPerformanceMetrics
P
var phaseExecutionTimes: [String : TimeInterval]
P
var ruleExecutionTimes: [String : TimeInterval]
P
var rulesExecuted: Int
P
var startTime: Date?
P
var successful: Bool
P
var traceLinksCreated: Int
P
var warnings: [String]
Instance Methods
M
func addWarning(String)
M
func beginExecution(id: UUID)
M
func beginPhase(String)
M
func completeExecution(success: Bool, error: Error?)
M
func detailedSummary() -> String
M
func efficiency() -> String
M
func endPhase(String)
M
func recordHelperInvocation(String, duration: TimeInterval)
M
func recordNavigation()
M
func recordRuleExecution(String, duration: TimeInterval)
M
func reset()
M
func summary() -> String
M
func updateMemoryUsage(Int)
Modules and Rules
S
ATLModule
Operators
static func == (ATLModule, ATLModule) -> Bool
Initializers
M
init(name: String, sourceMetamodels: OrderedDictionary<String, EPackage>, targetMetamodels: OrderedDictionary<String, EPackage>, helpers: OrderedDictionary<String, any ATLHelperType>, matchedRules: [ATLMatchedRule], calledRules: OrderedDictionary<String, ATLCalledRule>)
Instance Properties
P
let calledRules: OrderedDictionary<String, ATLCalledRule>
P
let helpers: OrderedDictionary<String, any ATLHelperType>
P
let matchedRules: [ATLMatchedRule]
P
let name: String
P
let sourceMetamodels: OrderedDictionary<String, EPackage>
P
let targetMetamodels: OrderedDictionary<String, EPackage>
Instance Methods
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLMatchedRule
Operators
static func == (ATLMatchedRule, ATLMatchedRule) -> Bool
Initializers
M
init(name: String, sourcePattern: ATLSourcePattern, targetPatterns: [ATLTargetPattern], guard: (any ATLExpression)?)
Instance Properties
P
let `guard`: (any ATLExpression)?
P
let name: String
P
let sourcePattern: ATLSourcePattern
P
let targetPatterns: [ATLTargetPattern]
Instance Methods
M
func hash(into: inout Hasher)
Default Implementations
ATLRuleType Implementations
Instance Methods
M
func toECoreExpressions() -> [ECoreExpression]
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLCalledRule
Operators
static func == (ATLCalledRule, ATLCalledRule) -> Bool
Initializers
M
init(name: String, parameters: [ATLParameter], targetPatterns: [ATLTargetPattern], body: [any ATLStatement])
Instance Properties
P
let body: [any ATLStatement]
P
let name: String
P
let parameters: [ATLParameter]
P
let targetPatterns: [ATLTargetPattern]
Instance Methods
M
func hash(into: inout Hasher)
Default Implementations
ATLRuleType Implementations
Instance Methods
M
func toECoreExpressions() -> [ECoreExpression]
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLHelper
Operators
static func == (ATLHelper<BodyExpression>, ATLHelper<BodyExpression>) -> Bool
Initializers
M
init(name: String, contextType: String?, returnType: String, parameters: [ATLParameter], body: BodyExpression)
Instance Properties
P
let body: BodyExpression
P
let contextType: String?
P
let name: String
P
let parameters: [ATLParameter]
P
let returnType: String
Instance Methods
M
func hash(into: inout Hasher)
M
func hashValue() -> Int
M
func isEqual(to: any ATLHelperType) -> Bool
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
Expressions
Pr
ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func toECoreExpression() -> ECoreExpression
S
ATLNavigationExpression
Operators
static func == (ATLNavigationExpression, ATLNavigationExpression) -> Bool
Initializers
M
init(source: any ATLExpression, property: String)
Instance Properties
P
let property: String
P
let source: any ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLCollectionExpression
Operators
static func == (ATLCollectionExpression, ATLCollectionExpression) -> Bool
Initializers
M
init(source: any ATLExpression, operation: ATLCollectionOperation, iterator: String?, body: (any ATLExpression)?)
Instance Properties
P
let body: (any ATLExpression)?
P
let iterator: String?
P
let operation: ATLCollectionOperation
P
let source: any ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLLiteralExpression
Operators
static func == (ATLLiteralExpression, ATLLiteralExpression) -> Bool
Initializers
M
init(value: (any EcoreValue)?)
Instance Properties
P
let value: (any EcoreValue)?
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
Parsing
C
ATLParser
Initializers
M
init(enableDebugging: Bool)
Instance Methods
M
func parse(URL) async throws -> ATLModule
M
func parseContent(String, filename: String, searchPaths: [String], continueAfterErrors: Bool) async throws -> ATLModule
Default Implementations
Actor Implementations
Instance Methods
M
func assertIsolated(@autoclosure () -> String, file: StaticString, line: UInt)
M
func assumeIsolated<T>((isolated Self) throws -> T, file: StaticString, line: UInt) rethrows -> T
M
func preconditionIsolated(@autoclosure () -> String, file: StaticString, line: UInt)
Model Adapters
S
ATLSourceModel
Initializers
M
init(resource: Resource, alias: String, metamodel: EPackage)
Instance Properties
P
let alias: String
P
var isTarget: Bool
P
let metamodel: EPackage
P
var referenceModel: IReferenceModel
P
let resource: Resource
Instance Methods
M
func createElement(ofType: EClass) throws -> any EObject
M
func findElements(matching: (any EObject) async -> Bool) async -> OrderedSet<EUUID>
M
func getAllElements() async -> OrderedSet<EUUID>
M
func getElementsByType(EClass) async -> OrderedSet<EUUID>
M
func isModelOf(any EObject) async -> Bool
S
ATLTargetModel
Initializers
M
init(resource: Resource, alias: String, metamodel: EPackage)
Instance Properties
P
let alias: String
P
var isTarget: Bool
P
let metamodel: EPackage
P
var referenceModel: IReferenceModel
P
let resource: Resource
Instance Methods
M
func addElement(any EObject) async throws
M
func clearCreationTracking() async
M
func createElement(EClass) async throws -> any EObject
M
func createElement(ofType: EClass) throws -> any EObject
M
func getCreationStatistics() async -> ElementCreationStatistics
M
func getElementsByType(EClass) async -> OrderedSet<EUUID>
M
func isModelOf(any EObject) async -> Bool
M
func removeElement(any EObject) async throws
S
ATLModelAdapterFactory
Type Methods
M
static func createModelsForEngine(from: ATLExecutionContext) -> [String : IModel]
M
static func createSourceModels(from: ATLExecutionContext) -> [String : ATLSourceModel]
M
static func createTargetModels(from: ATLExecutionContext) -> [String : ATLTargetModel]
Errors
E
ATLExecutionError
Enumeration Cases
E
case divisionByZero
E
case helperNotFound(String)
E
case invalidOperation(String)
E
case runtimeError(String)
E
case typeError(String)
E
case unsupportedOperation(String)
E
case variableNotFound(String)
Instance Properties
P
var errorDescription: String?
Default Implementations
Error Implementations
Instance Properties
P
var localizedDescription: String
LocalizedError Implementations
Instance Properties
P
var failureReason: String?
P
var helpAnchor: String?
P
var recoverySuggestion: String?
E
ATLParseError
Enumeration Cases
E
case fileNotFound(String)
E
case invalidEncoding
E
case invalidExpression(String)
E
case invalidModuleName(String)
E
case invalidSyntax(String)
E
case metamodelNotFound(String)
E
case missingModule
E
case unexpectedToken(String)
E
case unsupportedConstruct(String)
Default Implementations
Error Implementations
Instance Properties
P
var localizedDescription: String
Classes
C
ATLResource
Initializers
M
init(uri: String)
M
init(uri: String, module: ATLModule)
Instance Properties
P
let ecoreResource: Resource
P
var module: ATLModule?
P
var resourceSet: ResourceSet?
P
let uri: String
Instance Methods
M
func load() async throws
M
func save() async throws
M
func setResourceSet(ResourceSet?) async
Protocols
Pr
ATLHelperType
Instance Properties
P
var contextType: String?
P
var name: String
P
var parameters: [ATLParameter]
P
var returnType: String
Instance Methods
M
func hashValue() -> Int
M
func isEqual(to: any ATLHelperType) -> Bool
Pr
ATLRuleType
Instance Properties
P
var name: String
Instance Methods
M
func toECoreExpressions() -> [ECoreExpression]
Pr
ATLStatement
Instance Methods
M
func execute(in: ATLExecutionContext) async throws
Structures
S
ATLBinaryExpression
Operators
static func == (ATLBinaryExpression, ATLBinaryExpression) -> Bool
Initializers
M
init(left: any ATLExpression, operator: ATLBinaryOperator, right: any ATLExpression)
Instance Properties
P
let left: any ATLExpression
P
let `operator`: ATLBinaryOperator
P
let right: any ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLCollectionLiteralExpression
Operators
static func == (ATLCollectionLiteralExpression, ATLCollectionLiteralExpression) -> Bool
Initializers
M
init(collectionType: String, elements: [any ATLExpression])
Instance Properties
P
let collectionType: String
P
let elements: [any ATLExpression]
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLConditionalExpression
Operators
static func == (ATLConditionalExpression, ATLConditionalExpression) -> Bool
Initializers
M
init(condition: any ATLExpression, thenExpression: any ATLExpression, elseExpression: any ATLExpression)
Instance Properties
P
let condition: any ATLExpression
P
let elseExpression: any ATLExpression
P
let thenExpression: any ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLErrorContext
Operators
static func == (ATLErrorContext, ATLErrorContext) -> Bool
Instance Properties
P
var errors: [String]
P
var hasErrors: Bool
P
var hasWarnings: Bool
P
var timeline: [(Date, String)]
P
var warnings: [String]
Instance Methods
M
func summary() -> String
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLExpressionXMIParser
Initializers
M
init()
Instance Methods
M
func parse(String) throws -> any ATLExpression
S
ATLExpressionXMISerializer
Initializers
M
init()
Instance Methods
M
func serialize(any ATLExpression, indent: Int) -> String
S
ATLHelperCallExpression
Operators
static func == (ATLHelperCallExpression, ATLHelperCallExpression) -> Bool
Initializers
M
init(helperName: String, arguments: [any ATLExpression])
Instance Properties
P
let arguments: [any ATLExpression]
P
let helperName: String
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLHelperWrapper
Operators
static func == (ATLHelperWrapper, ATLHelperWrapper) -> Bool
Initializers
M
init(name: String, contextType: String?, returnType: String, parameters: [ATLParameter], body: any ATLExpression)
Instance Properties
P
let bodyExpression: any ATLExpression
P
let contextType: String?
P
let name: String
P
let parameters: [ATLParameter]
P
let returnType: String
Instance Methods
M
func evaluate(with: [(any EcoreValue)?], in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
M
func hashValue() -> Int
M
func isEqual(to: any ATLHelperType) -> Bool
M
func toECoreExpression() -> ECoreExpression
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLIterateExpression
Operators
static func == (ATLIterateExpression, ATLIterateExpression) -> Bool
Initializers
M
init(source: any ATLExpression, parameter: String, accumulator: String, accumulatorType: String?, defaultValue: any ATLExpression, body: any ATLExpression)
Instance Properties
P
let accumulator: String
P
let accumulatorType: String?
P
let body: any ATLExpression
P
let defaultValue: any ATLExpression
P
let parameter: String
P
let source: any ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLLambdaExpression
Operators
static func == (ATLLambdaExpression, ATLLambdaExpression) -> Bool
Initializers
M
init(parameter: String, body: any ATLExpression)
Instance Properties
P
let body: any ATLExpression
P
let parameter: String
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func evaluateWith(parameterValue: (any EcoreValue)?, in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLLazyBinding
Initializers
M
init(targetElement: EUUID, property: String, expression: any ATLExpression, capturedVariables: [String : (any EcoreValue)?])
Instance Properties
P
let capturedVariables: [String : (any EcoreValue)?]
P
let expression: any ATLExpression
P
let property: String
P
let targetElement: EUUID
S
ATLLetExpression
Operators
static func == (ATLLetExpression, ATLLetExpression) -> Bool
Initializers
M
init(variableName: String, variableType: String?, initExpression: any ATLExpression, inExpression: any ATLExpression)
Instance Properties
P
let inExpression: any ATLExpression
P
let initExpression: any ATLExpression
P
let variableName: String
P
let variableType: String?
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLMethodCallExpression
Operators
static func == (ATLMethodCallExpression, ATLMethodCallExpression) -> Bool
Initializers
M
init(receiver: any ATLExpression, methodName: String, arguments: [any ATLExpression])
Instance Properties
P
let arguments: [any ATLExpression]
P
let methodName: String
P
let receiver: any ATLExpression
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLOperationExpression
Operators
static func == (ATLOperationExpression, ATLOperationExpression) -> Bool
Initializers
M
init(source: (any ATLExpression)?, operationName: String, arguments: [any ATLExpression])
Instance Properties
P
let arguments: [any ATLExpression]
P
let operationName: String
P
let source: (any ATLExpression)?
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLParameter
Initializers
M
init(name: String, type: String)
Instance Properties
P
let name: String
P
let type: String
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLPerformanceMetrics
Structures
S
ATLPerformanceMetrics.HelperMetrics
Instance Properties
P
var averageDuration: TimeInterval
P
var invocationCount: Int
P
var totalDuration: TimeInterval
Instance Methods
M
func finalize()
M
func recordInvocation(duration: TimeInterval)
M
func summary() -> String
S
ATLPerformanceMetrics.MemoryMetrics
Instance Properties
P
var allocationCount: Int
P
var peakUsage: Int
P
var totalAllocatedBytes: Int
Instance Methods
M
func finalize()
M
func summary() -> String
S
ATLPerformanceMetrics.NavigationMetrics
Instance Properties
P
var averageOperationsPerSecond: Double
P
var operationCount: Int
Instance Methods
M
func finalize()
M
func recordOperation()
M
func summary() -> String
S
ATLPerformanceMetrics.RuleMetrics
Instance Properties
P
var averageDuration: TimeInterval
P
var executionCount: Int
P
var maxDuration: TimeInterval
P
var minDuration: TimeInterval
P
var totalDuration: TimeInterval
Instance Methods
M
func finalize()
M
func recordExecution(duration: TimeInterval)
M
func summary() -> String
Instance Properties
P
var helperMetrics: [String : HelperMetrics]
P
var memoryMetrics: ATLPerformanceMetrics.MemoryMetrics
P
var navigationMetrics: ATLPerformanceMetrics.NavigationMetrics
P
var ruleMetrics: [String : RuleMetrics]
Instance Methods
M
func finalize()
M
func recordHelperInvocation(String, duration: TimeInterval)
M
func recordNavigation()
M
func recordRuleExecution(String, duration: TimeInterval)
M
func reset()
M
func summary() -> String
S
ATLPropertyBinding
Operators
static func == (ATLPropertyBinding, ATLPropertyBinding) -> Bool
Initializers
M
init(property: String, expression: any ATLExpression)
Instance Properties
P
let expression: any ATLExpression
P
let property: String
Instance Methods
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLSourcePattern
Operators
static func == (ATLSourcePattern, ATLSourcePattern) -> Bool
Initializers
M
init(variableName: String, type: String, guard: (any ATLExpression)?)
Instance Properties
P
let `guard`: (any ATLExpression)?
P
let type: String
P
let variableName: String
Instance Methods
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLTargetPattern
Operators
static func == (ATLTargetPattern, ATLTargetPattern) -> Bool
Initializers
M
init(variableName: String, type: String, bindings: [ATLPropertyBinding])
Instance Properties
P
let bindings: [ATLPropertyBinding]
P
let type: String
P
let variableName: String
Instance Methods
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLTraceLink
Initializers
M
init(ruleName: String, sourceElement: EUUID, targetElements: [EUUID])
Instance Properties
P
let ruleName: String
P
let sourceElement: EUUID
P
let targetElements: [EUUID]
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLTupleExpression
Operators
static func == (ATLTupleExpression, ATLTupleExpression) -> Bool
Initializers
M
init(fields: [TupleField])
Instance Properties
P
let fields: [TupleField]
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Type Aliases
T
ATLTupleExpression.TupleField
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLTypeLiteralExpression
Operators
static func == (ATLTypeLiteralExpression, ATLTypeLiteralExpression) -> Bool
Initializers
M
init(typeName: String)
Instance Properties
P
let typeName: String
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLUnaryExpression
Operators
static func == (ATLUnaryExpression, ATLUnaryExpression) -> Bool
Initializers
M
init(operator: ATLUnaryOperator, operand: any ATLExpression)
Instance Properties
P
let operand: any ATLExpression
P
let `operator`: ATLUnaryOperator
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
M
func hash(into: inout Hasher)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLVariableExpression
Initializers
M
init(name: String)
Instance Properties
P
let name: String
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
S
ATLXMIParser
Initializers
M
init()
Instance Methods
M
func parse(String) throws -> ATLModule
S
ATLXMISerializer
Initializers
M
init()
Instance Methods
M
func serialize(ATLModule) throws -> String
S
ElementCreationStatistics
Instance Properties
P
let createdElements: Int
P
let creationRatio: Double
P
var description: String
P
let totalElements: Int
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
Enumerations
E
ATLBinaryOperator
Enumeration Cases
E
case and
E
case difference
E
case divide
E
case equals
E
case excludes
E
case greaterThan
E
case greaterThanOrEqual
E
case implies
E
case includes
E
case intersection
E
case lessThan
E
case lessThanOrEqual
E
case minus
E
case modulo
E
case multiply
E
case notEquals
E
case or
E
case plus
E
case union
Initializers
M
init?(rawValue: String)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
RawRepresentable Implementations
Instance Properties
P
var hashValue: Int
Instance Methods
M
func hash(into: inout Hasher)
E
ATLCollectionOperation
Enumeration Cases
E
case any
E
case asBag
E
case asSequence
E
case asSet
E
case collect
E
case difference
E
case excluding
E
case exists
E
case first
E
case flatten
E
case forAll
E
case including
E
case intersection
E
case isEmpty
E
case iterate
E
case last
E
case notEmpty
E
case one
E
case reject
E
case select
E
case size
E
case sortedBy
E
case union
Initializers
M
init?(rawValue: String)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
RawRepresentable Implementations
Instance Properties
P
var hashValue: Int
Instance Methods
M
func hash(into: inout Hasher)
E
ATLExpressionNever
Instance Methods
M
func evaluate(in: ATLExecutionContext) async throws -> (any EcoreValue)?
Default Implementations
ATLExpression Implementations
Instance Methods
M
func toECoreExpression() -> ECoreExpression
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
E
ATLModelError
Enumeration Cases
E
case elementNotFound(EUUID)
E
case invalidOperation(String)
E
case readOnlyModel(String)
E
case typeNotInMetamodel(String, String)
Instance Properties
P
var description: String
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
Error Implementations
Instance Properties
P
var localizedDescription: String
E
ATLResourceError
Enumeration Cases
E
case invalidURI(String)
E
case noModule(String)
E
case parsingError(String)
E
case serializationError(String)
E
case unsupportedFormat(String)
Instance Properties
P
var errorDescription: String?
Default Implementations
Error Implementations
Instance Properties
P
var localizedDescription: String
LocalizedError Implementations
Instance Properties
P
var failureReason: String?
P
var helpAnchor: String?
P
var recoverySuggestion: String?
E
ATLUnaryOperator
Enumeration Cases
E
case minus
E
case not
Initializers
M
init?(rawValue: String)
Default Implementations
Equatable Implementations
Operators
static func != (Self, Self) -> Bool
RawRepresentable Implementations
Instance Properties
P
var hashValue: Int
Instance Methods
M
func hash(into: inout Hasher)
E
ExpressionParseError
Enumeration Cases
E
case invalidXML(String)
E
case missingAttribute(String)
E
case noExpression(String)
E
case parsingFailed(String)
E
case unsupportedType(String)
Instance Properties
P
var errorDescription: String?
Default Implementations
Error Implementations
Instance Properties
P
var localizedDescription: String
LocalizedError Implementations
Instance Properties
P
var failureReason: String?
P
var helpAnchor: String?
P
var recoverySuggestion: String?
/
ATL
/
ATLCalledRule
Framework
Equatable Implementations
Topics
Operators
?
!=(_:_:)