railo.transformer.bytecode.expression
Class ExpressionBase
java.lang.Object
railo.transformer.bytecode.expression.ExpressionBase
- All Implemented Interfaces:
- Expression
- Direct Known Subclasses:
- Argument, Assign, CastBoolean, CastDouble, CastFloat, CastInt, CastOther, CastString, ClosureAsExpression, CollectionKey, CollectionKeyArray, DynAssign, ExpressionInvoker, LitBoolean, LitDouble, LiteralStringArray, LitFloat, LitInteger, LitLong, LitString, Null, NullExpression, OpBool, OpContional, OPDecision, OpDouble, OpElvis, OpNegate, OpNegateNumber, OpString, Variable, VariableRef, VariableString
public abstract class ExpressionBase
- extends Object
- implements Expression
A Expression (Operation, Literal aso.)
ExpressionBase
public ExpressionBase(Position start,
Position end)
writeOut
public final org.objectweb.asm.Type writeOut(BytecodeContext bc,
int mode)
throws BytecodeException
- write out the stament to adapter
- Specified by:
writeOut
in interface Expression
- Parameters:
adapter
- mode
-
- Returns:
- return Type of expression
- Throws:
TemplateException
BytecodeException
_writeOut
public abstract org.objectweb.asm.Type _writeOut(BytecodeContext bc,
int mode)
throws BytecodeException
- write out the stament to the adater
- Parameters:
adapter
- mode
-
- Returns:
- return Type of expression
- Throws:
TemplateException
BytecodeException
getStart
public Position getStart()
- Specified by:
getStart
in interface Expression
getEnd
public Position getEnd()
- Specified by:
getEnd
in interface Expression
setStart
public void setStart(Position start)
- Specified by:
setStart
in interface Expression
setEnd
public void setEnd(Position end)
- Specified by:
setEnd
in interface Expression
Copyright © 2012 Railo