1public
2class UnaryPlus extends UnaryExpr {
3
4
5
6 public
7 UnaryPlus(Expr operand) {
8 super(operand);
9 }
10
11
12
13 protected
14 Object op1(Object v1) {
15 return
16 v1;
17 }
18
19
20
21 public
22 String op1ToString() {
23 return
24 "+";
25 }
26}
27
28