modeltype ECORE uses "http://www.eclipse.org/emf/2002/Ecore"; | |
transformation nested(inout model : ECORE); | |
main() { | |
var p :=object EPackage {}; | |
object EClass { | |
name := 'from composite'; | |
eStructuralFeatures += late resolveoneIn(toEAttribute, EAttribute); | |
}; | |
map toEAttribute(); | |
} | |
mapping toEAttribute() : EAttribute { | |
name := 'attr from composite'; | |
} |