Documentation Language: Swift

Structure

ATLXMIParser

Parses Eclipse ATL XMI format into ATL modules.

struct ATLXMIParser

Overview

ATLXMIParser reads the standard Eclipse ATL XMI representation and reconstructs the ATL module structure, following the ATL metamodel defined at http://www.eclipse.org/gmt/2005/ATL.

Overview

The parser supports all ATL constructs:

Example Usage

let parser = ATLXMIParser()
let module = try parser.parse(xmiContent)
print("Loaded module: \(module.name)")

Topics

Initializers

?
init()

Creates a new ATL XMI parser.

Instance Methods

F
parse(_:)

Parses Eclipse ATL XMI format into an ATL module.