railo.transformer.bytecode.cast
Class CastBoolean

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

public final class CastBoolean
extends ExpressionBase
implements ExprBoolean

Cast to a Boolean


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
static ExprBoolean toExprBoolean(Expression expr)
          Create a String expression from a Expression
 String toString()
           
 
Methods inherited from class railo.transformer.bytecode.expression.ExpressionBase
getLine, setLine, writeOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.transformer.bytecode.expression.Expression
getLine, setLine, writeOut
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

toExprBoolean

public static ExprBoolean toExprBoolean(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)


Copyright © 2012 Railo