Class CalculatorCompiler.DoubleModDouble

  • Enclosing class:

    public static class CalculatorCompiler.DoubleModDouble
    extends CalculatorCompiler
    Arithmetic: double % double (including types that promote to double)
    • Constructor Detail

      • DoubleModDouble

        public DoubleModDouble()
    • 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
        ga - the code generator
        locator - the location of the arithmetic expression