Class CalculatorCompiler.DecimalIdivDecimal

  • Enclosing class:
    CalculatorCompiler

    public static class CalculatorCompiler.DecimalIdivDecimal
    extends CalculatorCompiler
    Arithmetic: decimal % decimal (including types that promote to decimal, that is, integer)
    • Constructor Detail

      • DecimalIdivDecimal

        public DecimalIdivDecimal()
    • Method Detail

      • compute

        public void compute​(Generator ga,
                            javax.xml.transform.SourceLocator locator)
        Description copied from class: CalculatorCompiler
        Generate bytecode to compute the result of the arithmetic expression
        Specified by:
        compute in class CalculatorCompiler
        Parameters:
        ga - the code generator
        locator - the location of the arithmetic expression