|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
com.inxar.jenesis | Classes which implement Java language elements. |
org.inxar.jenesis | Interfaces which abstract Java language elements (read the desciption below). |
Uses of Expression in com.inxar.jenesis |
Classes in com.inxar.jenesis that implement Expression | |
class |
MExpression
Standard Expression implementations. |
class |
MLiteral
Standard Literal implementations. |
Methods in com.inxar.jenesis with parameters of type Expression | |
Cast |
MVM.newCast(Type type,
Expression val)
|
Unary |
MVM.newUnary(int type,
Expression val)
|
Binary |
MVM.newBinary(int type,
Expression l,
Expression r)
|
Ternary |
MVM.newTernary(int type,
Expression one,
Expression two,
Expression three)
|
Assign |
MVM.newAssign(int type,
Variable l,
Expression r)
|
Assign |
MVM.newAssign(Variable l,
Expression r)
|
Uses of Expression in org.inxar.jenesis |
Subinterfaces of Expression in org.inxar.jenesis | |
interface |
Accessor
Expression subinterface for expressions which access
data including field accesses, array accesses, and method
invocations. |
interface |
ArrayAccess
Expression subinterface for array accesses. |
interface |
ArrayInitializer
Expression subinterface for array initializers. |
interface |
Assign
Expression subinterface for assignments. |
interface |
Binary
Expression subinterface for expressions which have
left and right operands. |
interface |
Blank
Expression subinterface for blank expressions. |
interface |
BooleanLiteral
Literal subinterface for boolean
literals. |
interface |
ByteLiteral
Literal subinterface for byte literals. |
interface |
Cast
Expression subinterface for casting. |
interface |
CharLiteral
Literal subinterface for char literals. |
interface |
ClassLiteral
Literal subinterface for class literals. |
interface |
DoubleLiteral
Literal subinterface for double literals. |
interface |
False
Literal subinterface for false . |
interface |
FieldAccess
Expression subinterface for field accesses. |
interface |
FloatLiteral
Literal subinterface for float literals. |
interface |
Freeform
Expression subinterface for freeform expressions. |
interface |
IntLiteral
Literal subinterface for int literals. |
interface |
Invoke
Expression subinterface for method invocations
(n-ary). |
interface |
Literal
The Literal superinterface. |
interface |
LongLiteral
Literal subinterface for long literals. |
interface |
NewAnonymousClass
Declaration subinterface for an anonymous class. |
interface |
NewArray
Expression subinterface for expressions which create
new arrays. |
interface |
NewClass
Expression subinterface for expressions which create
new non-array objects. |
interface |
Null
Literal subinterface for the null
literal. |
interface |
OctalLiteral
OctalLiteral subinterface for octal character literals. |
interface |
ScientificLiteral
Literal subinterface for scientific floating point
literals. |
interface |
ShortLiteral
Literal subinterface for short literals. |
interface |
StringLiteral
Literal subinterface for string literals. |
interface |
Ternary
Expression subinterface for expressions which have a
three operands. |
interface |
True
Literal subinterface for true . |
interface |
Unary
Expression subinterface for expressions which have a
single operand. |
interface |
UnicodeLiteral
CharLiteral subinterface for unicode character
literals. |
interface |
Variable
Expression subinterface for variables (references). |
Methods in org.inxar.jenesis that return Expression | |
Expression |
Case.getConstant()
Gets the constant expression for this condition. |
Expression |
ExpressionStatement.getExpression()
Gets the Expression for this
Statement . |
Expression |
Return.getExpression()
Gets the expression for this return statement. |
Expression |
Field.getExpression()
Gets the initial value of this Field . |
Expression |
Ternary.getValue1()
Accessor method for the first operand. |
Expression |
Ternary.getValue2()
Accessor method for the second operand. |
Expression |
Ternary.getValue3()
Accessor method for the third operand. |
Expression |
ConditionalStatement.getPredicate()
Gets the expression for this condition. |
Expression |
Cast.getExpression()
Gets the Expression for the cast (the right hand
part of the expression). |
Expression |
Binary.getLValue()
Getter method for the left side. |
Expression |
Binary.getRValue()
Getter method for the right side. |
Expression |
Throw.getThrowable()
Gets the expression for this throw statement. |
Expression |
Synchronized.getMutex()
Gets the object or expression to synchronize upon. |
Expression |
Unary.getValue()
Getter method for the operand. |
Methods in org.inxar.jenesis with parameters of type Expression | |
void |
Case.setConstant(Expression expr)
Sets the constant expression for this condition. |
void |
ExpressionStatement.setExpression(Expression e)
Sets the Expression for this
Statement . |
Case |
Switch.newCase(Expression constant)
Adds a new Case to the set of cases. |
void |
Return.setExpression(Expression expr)
Sets the expression for this return statement. |
void |
Field.setExpression(Expression e)
Sets the initial value of this Field . |
void |
Ternary.setValue1(Expression e)
Mutator method for the first operand. |
void |
Ternary.setValue2(Expression e)
Mutator method for the second operand. |
void |
Ternary.setValue3(Expression e)
Mutator method for the third operand. |
void |
ConditionalStatement.setPredicate(Expression expr)
Sets the expression for this condition. |
void |
Cast.setExpression(Expression expr)
Sets the Expression for the cast (the right hand
part of the expression). |
Invoke |
Invoke.addArg(Expression e)
Adds the given expression to the list of arguments for this method invocation. |
ElseIf |
If.newElseIf(Expression predicate)
Adds a new ElseIf to the list of else-if's. |
void |
Let.addAssign(java.lang.String name,
Expression expr)
Adds a new assignment to this variable declaration. |
void |
Binary.setLValue(Expression e)
Setter method for the left side. |
void |
Binary.setRValue(Expression e)
Setter method for the right side. |
void |
For.addInit(Expression expr)
Adds this statement expression to the comma separated list of initialization expressions. |
void |
For.addUpdate(Expression update)
Adds this declaration statement to the list of updates. |
abstract Cast |
VirtualMachine.newCast(Type type,
Expression value)
Expression factory method which returns a new
cast function having the given type and value. |
abstract Unary |
VirtualMachine.newUnary(int type,
Expression value)
Expression factory method which returns a new
unary function of the given type. |
abstract Binary |
VirtualMachine.newBinary(int type,
Expression left,
Expression right)
Expression factory method which returns a new
unary function of the given type. |
abstract Ternary |
VirtualMachine.newTernary(int type,
Expression one,
Expression two,
Expression three)
Expression factory method which returns a new
unary function of the given type. |
abstract Assign |
VirtualMachine.newAssign(int type,
Variable left,
Expression right)
Expression factory method which returns a new
assignment of the given type. |
abstract Assign |
VirtualMachine.newAssign(Variable left,
Expression right)
Expression factory method which returns a new
assignment of the SIMPLE type. |
void |
Throw.setThrowable(Expression expr)
Sets the expression for this throw statement. |
void |
Synchronized.setMutex(Expression e)
Sets the object or expression to synchronize upon. |
void |
Unary.setValue(Expression e)
Setter method for the operand. |
NewArray |
NewArray.addDim(Expression e)
Sets the given expression for the given dimension. |
Throw |
Block.newThrow(Expression throwable)
Adds a new Throw statement to this block and
returns it. |
While |
Block.newWhile(Expression predicate)
Adds a new While statement to this block and
returns it. |
DoWhile |
Block.newDoWhile(Expression predicate)
Adds a new DoWhile statement to this block and
returns it. |
Switch |
Block.newSwitch(Expression integer)
Adds a new Switch statement to this block and
returns it. |
Synchronized |
Block.newSynchronized(Expression mutex)
Adds a new Synchronized statement to this block
and returns it. |
If |
Block.newIf(Expression predicate)
Adds a new If statement to this block and returns
it. |
ExpressionStatement |
Block.newStmt(Expression expr)
Adds a new ExpressionStatement statement to this
block on the given statement Expression and
returns it. |
ArrayAccess |
ArrayAccess.addDim(Expression expr)
Adds the given expression for the next dimension. |
NewClass |
NewClass.addArg(Expression e)
Adds the given expression the list of arguments for this new invocation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |