blob: fb93b7c88d502e70643b0f7e6ce30d05100a0476 [file] [log] [blame]
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;
}