com.saxonica.bytecode.converter
Class DoubleToFloatCompiler

java.lang.Object
  extended by com.saxonica.bytecode.converter.ConverterCompiler
      extended by com.saxonica.bytecode.converter.DoubleToFloatCompiler

public class DoubleToFloatCompiler
extends ConverterCompiler

Generate code for a Double to Float CastExpression


Nested Class Summary
 
Nested classes/interfaces inherited from class com.saxonica.bytecode.converter.ConverterCompiler
ConverterCompiler.GenericConverterCompiler
 
Constructor Summary
DoubleToFloatCompiler()
           
 
Method Summary
 void compileToItem(CompilerService compiler, Expression expression)
           
 void compileToPrimitive(CompilerService compiler, Expression expression, Class requiredClass, OnEmpty onEmpty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleToFloatCompiler

public DoubleToFloatCompiler()
Method Detail

compileToItem

public void compileToItem(CompilerService compiler,
                          Expression expression)
                   throws CannotCompileException
Specified by:
compileToItem in class ConverterCompiler
Throws:
CannotCompileException

compileToPrimitive

public void compileToPrimitive(CompilerService compiler,
                               Expression expression,
                               Class requiredClass,
                               OnEmpty onEmpty)
                        throws CannotCompileException
Overrides:
compileToPrimitive in class ConverterCompiler
Throws:
CannotCompileException


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.