net.sf.transjvm.util
Interface ExpressionVisitor
public interface ExpressionVisitor
Method Summary |
java.lang.Object |
_instanceof(Expression object,
TypeID _class)
|
java.lang.Object |
_null()
|
java.lang.Object |
arrayLength(Expression array)
|
java.lang.Object |
arrayMember(Expression array,
Expression size)
|
java.lang.Object |
assignment(Variable var,
Expression value)
|
java.lang.Object |
binary(Expression left,
Operator op,
Expression right)
|
java.lang.Object |
callInterface(Expression object,
MethodID id,
Expression[] args)
|
java.lang.Object |
callStatic(MethodID id,
Expression[] args)
|
java.lang.Object |
callVirtual(Expression object,
MethodID id,
Expression[] args)
|
java.lang.Object |
cast(TypeID to,
Expression exp)
|
java.lang.Object |
compare(Expression left,
Operator op,
Expression right)
|
java.lang.Object |
conditional(Expression cond,
Expression _true,
Expression _false)
|
java.lang.Object |
constant(boolean value)
|
java.lang.Object |
constant(double value)
|
java.lang.Object |
constant(float value)
|
java.lang.Object |
constant(int value)
|
java.lang.Object |
constant(long value)
|
java.lang.Object |
constant(java.lang.String value)
|
java.lang.Object |
convert(TypeID to,
Expression exp)
|
java.lang.Object |
create(ConstructorID constructor,
Expression[] arguments)
|
java.lang.Object |
field(Expression object,
FieldID id)
|
java.lang.Object |
filledArray(TypeID component,
Expression[] members)
|
java.lang.Object |
identity(Expression left,
Expression right)
|
java.lang.Object |
increment(Variable var,
boolean pre)
|
java.lang.Object |
local(TypeID type,
int index)
|
java.lang.Object |
negate(Expression exp)
|
java.lang.Object |
newArray(TypeID component,
Expression size)
|
java.lang.Object |
not(Expression exp)
|
java.lang.Object |
shortCut(Expression left,
Operator op,
Expression right)
|
java.lang.Object |
superCall(Expression object,
ConstructorID id,
Expression[] args)
|
conditional
java.lang.Object conditional(Expression cond,
Expression _true,
Expression _false)
constant
java.lang.Object constant(boolean value)
constant
java.lang.Object constant(java.lang.String value)
constant
java.lang.Object constant(int value)
constant
java.lang.Object constant(long value)
constant
java.lang.Object constant(float value)
constant
java.lang.Object constant(double value)
_null
java.lang.Object _null()
assignment
java.lang.Object assignment(Variable var,
Expression value)
increment
java.lang.Object increment(Variable var,
boolean pre)
local
java.lang.Object local(TypeID type,
int index)
callVirtual
java.lang.Object callVirtual(Expression object,
MethodID id,
Expression[] args)
callInterface
java.lang.Object callInterface(Expression object,
MethodID id,
Expression[] args)
callStatic
java.lang.Object callStatic(MethodID id,
Expression[] args)
superCall
java.lang.Object superCall(Expression object,
ConstructorID id,
Expression[] args)
_instanceof
java.lang.Object _instanceof(Expression object,
TypeID _class)
convert
java.lang.Object convert(TypeID to,
Expression exp)
newArray
java.lang.Object newArray(TypeID component,
Expression size)
filledArray
java.lang.Object filledArray(TypeID component,
Expression[] members)
create
java.lang.Object create(ConstructorID constructor,
Expression[] arguments)
cast
java.lang.Object cast(TypeID to,
Expression exp)
field
java.lang.Object field(Expression object,
FieldID id)
compare
java.lang.Object compare(Expression left,
Operator op,
Expression right)
shortCut
java.lang.Object shortCut(Expression left,
Operator op,
Expression right)
binary
java.lang.Object binary(Expression left,
Operator op,
Expression right)
arrayLength
java.lang.Object arrayLength(Expression array)
arrayMember
java.lang.Object arrayMember(Expression array,
Expression size)
negate
java.lang.Object negate(Expression exp)
not
java.lang.Object not(Expression exp)
identity
java.lang.Object identity(Expression left,
Expression right)
Copyright 2004-5, Mark Shannon