use of de.be4.classicalb.core.parser.node.PImportPackage in project probparsers by bendisposto.
the class ReferencedMachines method caseAPackageParseUnit.
@Override
public void caseAPackageParseUnit(APackageParseUnit node) {
determineRootDirectory(node.getPackage(), node);
List<PImportPackage> copy = new ArrayList<>(node.getImports());
for (PImportPackage e : copy) {
e.apply(this);
}
node.getParseUnit().apply(this);
// delete this node
node.replaceBy(node.getParseUnit());
}
use of de.be4.classicalb.core.parser.node.PImportPackage in project probparsers by bendisposto.
the class RulesReferencesFinder method caseAPackageParseUnit.
@Override
public void caseAPackageParseUnit(APackageParseUnit node) {
determineRootDirectory(node.getPackage(), node);
List<PImportPackage> copy = new ArrayList<>(node.getImports());
for (PImportPackage e : copy) {
e.apply(this);
}
node.getParseUnit().apply(this);
// delete this node
node.replaceBy(node.getParseUnit());
}
Aggregations