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

	public String toXML(){
		String result=  ""  ;
		result += "<" + trigOperator + ">";
		result += coverageExpr.toXML() ;
		result += "</" + trigOperator + ">";
		return result;
	}
}