diff options
| author | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2009-06-08 17:49:13 +0200 |
|---|---|---|
| committer | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2009-07-07 10:55:14 +0200 |
| commit | d2b0e006273d55c170ed6cd56f9509bc1eaa90eb (patch) | |
| tree | b778bcbf3211d2ff5d5a0dee8daaad480095aa8c /src/grammar/GeneralCondenseExpr.java | |
| parent | e60efdbfb39124b6a36465e17fe2ad349580c18b (diff) | |
Implemented Condense Expression and Constant Coverage Expression. WCPS Grammar modified
Diffstat (limited to 'src/grammar/GeneralCondenseExpr.java')
| -rw-r--r-- | src/grammar/GeneralCondenseExpr.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/grammar/GeneralCondenseExpr.java b/src/grammar/GeneralCondenseExpr.java index 50529e5..f78a557 100644 --- a/src/grammar/GeneralCondenseExpr.java +++ b/src/grammar/GeneralCondenseExpr.java @@ -34,7 +34,7 @@ public class GeneralCondenseExpr implements IParseTreeNode {
AxisIteratorList alist;
CondenseOperation op;
- ScalarExpr using;
+ CoverageExpr using;
BooleanScalarExpr where;
public GeneralCondenseExpr(CondenseOperation op, AxisIteratorList al)
@@ -51,14 +51,14 @@ public class GeneralCondenseExpr implements IParseTreeNode where = bse;
}
- public void setUsing(ScalarExpr se)
+ public void setUsing(CoverageExpr se)
{
using = se;
}
public String toXML()
{
- String result = "";
+ String result = "<condense>";
result += op.toXML();
result += alist.toXML();
@@ -69,6 +69,7 @@ public class GeneralCondenseExpr implements IParseTreeNode }
result += using.toXML();
+ result += "</condense>";
return result;
}
|
