Commit 4f4da020 authored by Anders Nilsson's avatar Anders Nilsson
Browse files

Synching

parent 29019af5
......@@ -332,15 +332,19 @@ aspect GenMisc {
pStream.println(ind(2)+"return b.toString().trim();");
pStream.println(ind(1)+"}");
pStream.println();
// SimpleElement.value()
pStream.println(ind(1)+"syn String SimpleElement.value() = \"\";");
pStream.println(ind(1)+"eq StringElement.value() = getIDENTIFIER();");
pStream.println(ind(1)+"eq IntElement.value() = getINTEGER_LITERAL();");
pStream.println(ind(1)+"eq FloatElement.value() = getFLOAT_LITERAL();");
// Thing.isTopElement()
pStream.println(ind(1)+"boolean Thing.isTopElement() {");
pStream.println(ind(2)+"return getParent().getParent() instanceof Start;");
pStream.println(ind(1)+"}");
// ASTNode.getStart()
pStream.println(ind(1)+"Start ASTNode.getStart() {");
pStream.println(ind(2)+"return getParent().getStart();");
pStream.println(ind(1)+"}");
......@@ -348,6 +352,7 @@ aspect GenMisc {
pStream.println(ind(2)+"return this;");
pStream.println(ind(1)+"}");
// ComplexElement.name()
pStream.println(ind(1)+"String ComplexElement.name() {");
pStream.println(ind(2)+"return getOwlIdentifier().getIDENTIFIER();");
pStream.println(ind(1)+"}");
......@@ -355,6 +360,8 @@ aspect GenMisc {
pStream.println(ind(2)+"return getValue().getSTRING_LITERAL();");
pStream.println(ind(1)+"}");
// ClassUse.decl()
super.genMisc(pStream);
pStream.println("}");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment