gnu.xquery.util
public class ArithOp extends Procedure1or2 implements CanInline, Inlineable
Field Summary | |
---|---|
static ArithOp | add |
static ArithOp | div |
static ArithOp | idiv |
static ArithOp | minus |
static ArithOp | mod |
static ArithOp | mul |
static ArithOp | plus |
static ArithOp | sub |
Method Summary | |
---|---|
Object | apply1(Object arg1) |
Object | apply2(Object arg1, Object arg2) |
void | compile(ApplyExp exp, Compilation comp, Target target) |
static BigDecimal | div(BigDecimal d1, BigDecimal d2) |
Type | getReturnType(Expression[] args) |
Expression | inline(ApplyExp exp, ExpWalker walker) |