blob: 2f6d89e16b8dc0d8d6bfdda77140c6dc37a7326e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package syntaxParser;
/* Author: Sorin Stancu-Mara
* Date: 8 Feb 2008
*/
class CoverageConstructorExpr implements IParseTreeNode {
String name;
VariableList variables;
ScalarExpr expr;
public CoverageConstructorExpr(String name, VariableList vl, ScalarExpr expr) {
this.name = name;
this.variables = vl;
this.expr = expr;
}
public String toXML() {
return "<construct><coverage>" + name + "</coverage>" + variables.toXML() + expr.toXML() + "</construct>";
}
}
|