summaryrefslogtreecommitdiffstats
path: root/src/syntaxParser/ExponentialExpr.java
blob: 469657e8c90670c31bbd5f8f9299f55df2d274b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package syntaxParser;
/**
 * ExponentialExpr
 * Creation date: (3/3/2003 2:28:43 AM)
 * @author: mattia parigiani, Sorin Stancu-Mara
 */
class ExponentialExpr implements IParseTreeNode {
	String expOperator;
	CoverageExpr coverageExpr;
	
	public ExponentialExpr( CoverageExpr ce,  String op){	
		expOperator = op;
		coverageExpr = ce;		
	}
	public String toXML(){
		String result=  ""  ;
		result += "<" + expOperator + ">";
		result += coverageExpr.toXML() ;
		result += "</" + expOperator + ">";
		return result;
	}
}