railo.transformer.bytecode.op
Class OpBool

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

public final class OpBool
extends ExpressionBase
implements ExprBoolean


Field Summary
static int AND
           
static int EQV
           
static int IMP
           
static int OR
           
static int XOR
           
 
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 left, Expression right, int operation)
          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
 

Field Detail

AND

public static final int AND
See Also:
Constant Field Values

OR

public static final int OR
See Also:
Constant Field Values

XOR

public static final int XOR
See Also:
Constant Field Values

EQV

public static final int EQV
See Also:
Constant Field Values

IMP

public static final int IMP
See Also:
Constant Field Values
Method Detail

_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.ExpressionBase#_writeOut(org.objectweb.asm.commons.GeneratorAdapter, int)

toExprBoolean

public static ExprBoolean toExprBoolean(Expression left,
                                        Expression right,
                                        int operation)
Create a String expression from a Expression

Parameters:
left -
right -
Returns:
String expression
Throws:
TemplateException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Railo