railo.transformer.bytecode.op
Class OpDouble

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

public final class OpDouble
extends ExpressionBase
implements ExprDouble


Field Summary
static int DIVIDE
           
static int EXP
           
static int INTDIV
           
static int MINUS
           
static int MODULUS
           
static int MULTIPLY
           
static int PLUS
           
 
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 ExprDouble toExprDouble(Expression left, Expression right, int operation)
          Create a String expression from a Expression
 org.objectweb.asm.Type writeOutDouble(BytecodeContext bc, int mode)
           
 
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
 

Field Detail

PLUS

public static final int PLUS
See Also:
Constant Field Values

MINUS

public static final int MINUS
See Also:
Constant Field Values

MODULUS

public static final int MODULUS
See Also:
Constant Field Values

DIVIDE

public static final int DIVIDE
See Also:
Constant Field Values

MULTIPLY

public static final int MULTIPLY
See Also:
Constant Field Values

EXP

public static final int EXP
See Also:
Constant Field Values

INTDIV

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

toExprDouble

public static ExprDouble toExprDouble(Expression left,
                                      Expression right,
                                      int operation)
Create a String expression from a Expression

Parameters:
left -
right -
operation -
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.ExpressionBase#_writeOut(org.objectweb.asm.commons.GeneratorAdapter, int)

writeOutDouble

public org.objectweb.asm.Type writeOutDouble(BytecodeContext bc,
                                             int mode)
                                      throws BytecodeException
Throws:
BytecodeException


Copyright © 2012 Railo