Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anders Nilsson
OwlCompiler
Commits
3b2e13a8
Commit
3b2e13a8
authored
Jul 14, 2008
by
Anders Nilsson
Browse files
Fixed bug(?)
parent
b7465562
Changes
1
Hide whitespace changes
Inline
Side-by-side
CompilerGeneration.jrag
View file @
3b2e13a8
...
...
@@ -348,7 +348,7 @@ aspect GenRewrites {
// Rearrange device nodes on the AST to get away from the
// current diagonal style from Protege
pStream.println(ind(1)+"rewrite "+name()+" {");
pStream.println(ind(2)+"when (!isTopElement() && getAttribute(0) instanceof RdfId)");
pStream.println(ind(2)+"when (!isTopElement() &&
!(
getAttribute(0) instanceof RdfId)
)
");
pStream.println(ind(2)+"to ClassUse {");
pStream.println(ind(3)+"ClassUse use = new ClassUse();");
pStream.println(ind(3)+"use.setOwlIdentifier(new OwlIdentifier(\""+name()+"\"));");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment