Skip to content
Snippets Groups Projects
Commit 10c97b29 authored by Anders Nilsson's avatar Anders Nilsson
Browse files

Update

parent c1ed9884
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,22 @@ aspect MiscUtilities {
}
aspect RewriteClasses {
rewrite Declaration {
when (isClassDecl())
to ClassDeclaration {
ClassDeclaration c = new ClassDeclaration();
c.setElementList(getElementList());
return c;
}
when (isIndividualDecl())
to IndividualDeclaration {
IndividualDeclaration c = new IndividualDeclaration();
c.setElementList(getElementList());
return c;
}
}
rewrite OwlClass {
when (isTopLevel())
to OwlClassDecl {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment