1 2 3 package org.apache.el.parser; 4 5 import javax.el.ELException; 6 7 import org.apache.el.lang.ELArithmetic; 8 import org.apache.el.lang.EvaluationContext; 9 10 11 15 public final class AstDiv extends ArithmeticNode { 16 public AstDiv(int id) { 17 super(id); 18 } 19 20 public Object getValue(EvaluationContext ctx) 21 throws ELException { 22 Object obj0 = this.children[0].getValue(ctx); 23 Object obj1 = this.children[1].getValue(ctx); 24 return ELArithmetic.divide(obj0, obj1); 25 } 26 } 27 | Popular Tags |