Commit e5a44589 authored by Anders Nilsson's avatar Anders Nilsson
Browse files

Synching

parent dea65328
......@@ -130,6 +130,11 @@ aspect GenPrettyPrinter {
pStream.println(" getChild(i).prettyPrint(indent,pStream);");
pStream.println(" }");
pStream.println(" }\n");
pStream.println(" public void Start.prettyPrint(String indent, PrintStream pStream) {");
pStream.println(" for (int i=0; i<getNumElement(); i++) {");
pStream.println(" getElement(i).prettyPrint(indent,pStream);");
pStream.println(" }");
pStream.println(" }\n");
super.genPrettyPrinter(ind,pStream);
pStream.println("}\n");
}
......@@ -143,6 +148,10 @@ aspect GenPrettyPrinter {
// }
pStream.println(">\");");
pStream.println(" String childIndent = indent + \" \";");
Restrictions restr = getRestrictions();
for (int i=0; i<restr.getNumRestriction(); i++) {
}
pStream.println(" for (int i=0; i<getNumElement(); i++) {");
pStream.println(" getElement(i).prettyPrint(childIndent,pStream);");
pStream.println(" }");
......
......@@ -82,6 +82,6 @@ abstract OwlValuesFrom: ComplexElement;
Properties ::= Property:Element*;
//Restrictions ::= OwlRestriction*;
Restrictions ::= OwlRestriction*;
abstract OwlProperty : ComplexElement;
This diff is collapsed.
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