From d2b0e006273d55c170ed6cd56f9509bc1eaa90eb Mon Sep 17 00:00:00 2001 From: Andrei Aiordachioaie Date: Mon, 8 Jun 2009 17:49:13 +0200 Subject: Implemented Condense Expression and Constant Coverage Expression. WCPS Grammar modified --- src/grammar/GeneralCondenseExpr.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/grammar/GeneralCondenseExpr.java') 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 = ""; result += op.toXML(); result += alist.toXML(); @@ -69,6 +69,7 @@ public class GeneralCondenseExpr implements IParseTreeNode } result += using.toXML(); + result += ""; return result; } -- cgit