net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.ReinterpretCastImplementor

java.lang.Object
  extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
      extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.ReinterpretCastImplementor
All Implemented Interfaces:
CalcRexImplementor
Enclosing class:
CalcRexImplementorTableImpl

private static class CalcRexImplementorTableImpl.ReinterpretCastImplementor
extends CalcRexImplementorTableImpl.AbstractCalcRexImplementor

Implementor for REINTERPRET operator.


Constructor Summary
private CalcRexImplementorTableImpl.ReinterpretCastImplementor()
           
 
Method Summary
 boolean canImplement(RexCall call)
           
 CalcReg implement(RexCall call, RexToCalcTranslator translator)
          Generates instructions to implement this call, and returns the register which holds the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalcRexImplementorTableImpl.ReinterpretCastImplementor

private CalcRexImplementorTableImpl.ReinterpretCastImplementor()
Method Detail

canImplement

public boolean canImplement(RexCall call)
Specified by:
canImplement in interface CalcRexImplementor
Overrides:
canImplement in class CalcRexImplementorTableImpl.AbstractCalcRexImplementor

implement

public CalcReg implement(RexCall call,
                         RexToCalcTranslator translator)
Description copied from interface: CalcRexImplementor
Generates instructions to implement this call, and returns the register which holds the result.