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:
-
Modules: Top-level transformation units with metamodel references
-
Rules: Matched rules, called rules, and lazy rules
-
Helpers: Context-free and contextual helper functions
-
Patterns: Source patterns (from clauses) and target patterns (to clauses)
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.