Modules / Transformations

Transformations are defined in transformation specifications, located in files. A transformation is defined using the keywork textmodule or texttransformation.
A texttransformation defines the name of the module, which can be any name chosen, independent of file name.

It defines the input metamodel in terms of a parameter.

texttransformation testAnnotations (in uml:"http://www.eclipse.org/uml2/1.0.0/UML")  {

     // transformation rules

}

The body of a transformation contain rules. Curly brackets may be used to group rules in a transformations, but this is optional.