public abstract class CalculatorCompiler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CalculatorCompiler.AnyDivAny
Arithmetic: anyAtomicType div AnyAtomicType
|
static class |
CalculatorCompiler.AnyIdivAny
Arithmetic: anyAtomicType idiv AnyAtomicType
|
static class |
CalculatorCompiler.AnyMinusAny
Arithmetic: anyAtomicType - AnyAtomicType
|
static class |
CalculatorCompiler.AnyModAny |
static class |
CalculatorCompiler.AnyPlusAny
Arithmetic: anyAtomicType + AnyAtomicType
|
static class |
CalculatorCompiler.AnyTimesAny
Arithmetic: anyAtomicType * AnyAtomicType
|
static class |
CalculatorCompiler.DecimalDivDecimal
Arithmetic: decimal / decimal (including types that promote to decimal, that is, integer)
|
static class |
CalculatorCompiler.DecimalIdivDecimal
Arithmetic: decimal % decimal (including types that promote to decimal, that is, integer)
|
static class |
CalculatorCompiler.DecimalMinusDecimal
Arithmetic: decimal - decimal (including types that promote to decimal, that is, integer)
|
static class |
CalculatorCompiler.DecimalModDecimal
Arithmetic: decimal % decimal (including types that promote to decimal, that is, integer)
|
static class |
CalculatorCompiler.DecimalPlusDecimal
Arithmetic: decimal + decimal (including types that promote to decimal, that is, integer)
|
static class |
CalculatorCompiler.DecimalTimesDecimal
Arithmetic: decimal * decimal (including types that promote to decimal, that is, integer)
|
static class |
CalculatorCompiler.DoubleDivDouble
Arithmetic: double / double (including types that promote to double)
|
static class |
CalculatorCompiler.DoubleMinusDouble
Arithmetic: double - double (including types that promote to double)
|
static class |
CalculatorCompiler.DoubleModDouble
Arithmetic: double % double (including types that promote to double)
|
static class |
CalculatorCompiler.DoublePlusDouble
Arithmetic: double + double (including types that promote to double)
|
static class |
CalculatorCompiler.DoubleTimesDouble
Arithmetic: double * double (including types that promote to double)
|
static class |
CalculatorCompiler.FloatDivFloat
Arithmetic: float div float (including types that promote to float)
|
static class |
CalculatorCompiler.FloatIdivFloat
Arithmetic: float idiv float (including types that promote to float)
|
static class |
CalculatorCompiler.FloatMinusFloat
Arithmetic: float - float (including types that promote to float)
|
static class |
CalculatorCompiler.FloatModFloat
Arithmetic: float mod float (including types that promote to float)
|
static class |
CalculatorCompiler.FloatPlusFloat
Arithmetic: float + float (including types that promote to float))
|
static class |
CalculatorCompiler.FloatTimesFloat
Arithmetic: float * float (including types that promote to float)
|
static class |
CalculatorCompiler.IntegerDivInteger |
static class |
CalculatorCompiler.IntegerIdivInteger |
static class |
CalculatorCompiler.IntegerMinusInteger |
static class |
CalculatorCompiler.IntegerModInteger |
static class |
CalculatorCompiler.IntegerPlusInteger |
static class |
CalculatorCompiler.IntegerTimesInteger |
Constructor and Description |
---|
CalculatorCompiler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
compute(Generator ga,
SourceLocator locator)
Generate bytecode to compute the result of the arithmetic expression
|
void |
setCompilerService(CompilerService compiler) |
void |
setExpressions(Expression oper0,
Expression oper1) |
public void setCompilerService(CompilerService compiler)
public void setExpressions(Expression oper0, Expression oper1)
public abstract void compute(Generator ga, SourceLocator locator)
ga
- the code generatorlocator
- the location of the arithmetic expressionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.