transformation nestednativeops; | |
import library Strings; | |
modeltype ECORE uses 'http://www.eclipse.org/emf/2002/Ecore'; | |
mapping main(in model: ecore::EPackage): ecore::EPackage { | |
init { | |
var s := 'abc'; | |
var newName := s.substring(1, s.indexOf('bc')) | |
} | |
name := newName; | |
} |