railo.transformer.bytecode.expression.var
Class Argument

java.lang.Object
  extended by railo.transformer.bytecode.expression.ExpressionBase
      extended by railo.transformer.bytecode.expression.var.Argument
All Implemented Interfaces:
Expression
Direct Known Subclasses:
NamedArgument

public class Argument
extends ExpressionBase


Field Summary
 
Fields inherited from interface railo.transformer.bytecode.expression.Expression
MODE_REF, MODE_VALUE
 
Constructor Summary
Argument(Expression value, String type)
           
 
Method Summary
 org.objectweb.asm.Type _writeOut(BytecodeContext bc, int mode)
          write out the stament to the adater
 Expression getRawValue()
          return the uncasted value
 String getStringType()
           
 Expression getValue()
           
 void setValue(Expression value, String type)
           
 org.objectweb.asm.Type writeOutValue(BytecodeContext bc, int mode)
           
 
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
 

Constructor Detail

Argument

public Argument(Expression value,
                String type)
Method Detail

getValue

public Expression getValue()
Returns:
the value

getRawValue

public Expression getRawValue()
return the uncasted value

Returns:

setValue

public void setValue(Expression value,
                     String type)

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

writeOutValue

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

getStringType

public String getStringType()
Returns:
the type


Copyright © 2012 Railo