railo.transformer.bytecode.cast
Class CastDouble

java.lang.Object
  extended by railo.transformer.bytecode.expression.ExpressionBase
      extended by railo.transformer.bytecode.cast.CastDouble
All Implemented Interfaces:
Cast, ExprDouble, Expression

public final class CastDouble
extends ExpressionBase
implements ExprDouble, Cast

cast a Expression to a Double


Field Summary
 
Fields inherited from interface railo.transformer.bytecode.expression.Expression
MODE_REF, MODE_VALUE
 
Method Summary
 org.objectweb.asm.Type _writeOut(BytecodeContext bc, int mode)
          write out the stament to the adater
 Expression getExpr()
           
static ExprDouble toExprDouble(Expression expr)
          Create a String expression from a Expression
 
Methods inherited from class railo.transformer.bytecode.expression.ExpressionBase
getEnd, getStart, setEnd, setStart, writeOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.transformer.bytecode.expression.Expression
getEnd, getStart, setEnd, setStart, writeOut
 

Method Detail

toExprDouble

public static ExprDouble toExprDouble(Expression expr)
Create a String expression from a Expression

Parameters:
expr -
Returns:
String expression
Throws:
TemplateException

_writeOut

public org.objectweb.asm.Type _writeOut(BytecodeContext bc,
                                        int mode)
                                 throws BytecodeException
Description copied from class: ExpressionBase
write out the stament to the adater

Specified by:
_writeOut in class ExpressionBase
Returns:
return Type of expression
Throws:
BytecodeException
See Also:
railo.transformer.bytecode.expression.Expression#_writeOut(org.objectweb.asm.commons.GeneratorAdapter, int)

getExpr

public Expression getExpr()
Specified by:
getExpr in interface Cast


Copyright © 2012 Railo