railo.transformer.bytecode.cast
Class CastString

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

public final class CastString
extends ExpressionBase
implements ExprString

Cast to a String


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 ExprString toExprString(Expression expr)
          Create a String expression from a Expression
 
Methods inherited from class railo.transformer.bytecode.expression.ExpressionBase
getLine, setLine, 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
getLine, setLine, writeOut
 

Method Detail

toExprString

public static ExprString toExprString(Expression expr)
Create a String expression from a Expression

Parameters:
expr -
pos -
Returns:
String expression

_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()
Returns:
the expr


Copyright © 2012 Railo