use of abs.frontend.ast.StarExport in project abstools by abstools.
the class ABSUnitTestCaseTranslator method addImports.
private void addImports(ModuleDecl module) {
// export *;
// import * from AbsUnit;
// import * from AbsUnit.Hamcrest;
// import * from AbsUnit.Hamcrest.Core;
module.addExport(new StarExport());
module.addImport(new StarImport("AbsUnit"));
module.addImport(new StarImport("AbsUnit.Hamcrest"));
module.addImport(new StarImport("AbsUnit.Hamcrest.Core"));
for (String ip : importModules) {
module.addImport(new StarImport(ip));
}
}
Aggregations