Search in sources :

Example 1 with StarExport

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));
    }
}
Also used : StarImport(abs.frontend.ast.StarImport) StarExport(abs.frontend.ast.StarExport)

Aggregations

StarExport (abs.frontend.ast.StarExport)1 StarImport (abs.frontend.ast.StarImport)1