railo.transformer.bytecode.cast
Class CastOther

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

public final class CastOther
extends ExpressionBase
implements Cast

cast a Expression to a Double


Field Summary
static org.objectweb.asm.commons.Method GET_CONFIG
           
static org.objectweb.asm.commons.Method GET_TIMEZONE
           
static org.objectweb.asm.commons.Method TO_ARRAY
           
static org.objectweb.asm.commons.Method TO_BASE64
           
static org.objectweb.asm.commons.Method TO_BINARY
           
static org.objectweb.asm.commons.Method TO_COLLECTION
           
static org.objectweb.asm.commons.Method TO_COMPONENT
           
static org.objectweb.asm.commons.Method TO_DECIMAL
           
static org.objectweb.asm.commons.Method TO_EXCEL
           
 
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()
           
 String getType()
           
static org.objectweb.asm.Type getType(String type)
           
static Expression toExpression(Expression expr, String type)
           
 
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
 

Field Detail

TO_ARRAY

public static final org.objectweb.asm.commons.Method TO_ARRAY

TO_BASE64

public static final org.objectweb.asm.commons.Method TO_BASE64

TO_BINARY

public static final org.objectweb.asm.commons.Method TO_BINARY

TO_COLLECTION

public static final org.objectweb.asm.commons.Method TO_COLLECTION

TO_COMPONENT

public static final org.objectweb.asm.commons.Method TO_COMPONENT

TO_DECIMAL

public static final org.objectweb.asm.commons.Method TO_DECIMAL

GET_CONFIG

public static final org.objectweb.asm.commons.Method GET_CONFIG

GET_TIMEZONE

public static final org.objectweb.asm.commons.Method GET_TIMEZONE

TO_EXCEL

public static final org.objectweb.asm.commons.Method TO_EXCEL
Method Detail

toExpression

public static Expression toExpression(Expression expr,
                                      String type)

_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)

getType

public static org.objectweb.asm.Type getType(String type)
                                      throws BytecodeException
Throws:
BytecodeException

getExpr

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

getType

public String getType()
Returns:
the type


Copyright © 2012 Railo