01: /* Generated By:JJTree: Do not edit this line. AstMinus.java */
02:
03: package org.apache.el.parser;
04:
05: import javax.el.ELException;
06:
07: import org.apache.el.lang.ELArithmetic;
08: import org.apache.el.lang.EvaluationContext;
09:
10: /**
11: * @author Jacob Hookom [jacob@hookom.net]
12: * @version $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $
13: */
14: public final class AstMinus extends ArithmeticNode {
15: public AstMinus(int id) {
16: super (id);
17: }
18:
19: public Object getValue(EvaluationContext ctx) throws ELException {
20: Object obj0 = this .children[0].getValue(ctx);
21: Object obj1 = this .children[1].getValue(ctx);
22: return ELArithmetic.subtract(obj0, obj1);
23: }
24: }
|