1 23 24 package com.sun.el.parser; 25 26 import javax.el.ELException; 27 28 import com.sun.el.lang.ELArithmetic; 29 import com.sun.el.lang.EvaluationContext; 30 31 35 public final class AstMod extends ArithmeticNode { 36 public AstMod(int id) { 37 super(id); 38 } 39 40 public Object getValue(EvaluationContext ctx) 41 throws ELException { 42 Object obj0 = this.children[0].getValue(ctx); 43 Object obj1 = this.children[1].getValue(ctx); 44 return ELArithmetic.mod(obj0, obj1); 45 } 46 } 47 | Popular Tags |