railo.transformer.bytecode.op
Class OpNegateNumber

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

public final class OpNegateNumber
extends ExpressionBase
implements ExprDouble


Field Summary
static int MINUS
           
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 expr, int line)
          Create a String expression from a Expression
static ExprDouble toExprDouble(Expression expr, int operation, int line)
           
 
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
 

Field Detail

PLUS

public static final int PLUS
See Also:
Constant Field Values

MINUS

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

toExprDouble

public static ExprDouble toExprDouble(Expression expr,
                                      int line)
Create a String expression from a Expression

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

toExprDouble

public static ExprDouble toExprDouble(Expression expr,
                                      int operation,
                                      int line)

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


Copyright © 2012 Railo