org.codehaus.janino

Class Java.Rvalue

public abstract static class Java.Rvalue extends Java.Atom implements Java.ArrayInitializerOrRvalue

Representation of an "rvalue", i.e. an expression that has a type and a value, but cannot be assigned to: An expression that can be the right-hand-side of an assignment.
Field Summary
static ObjectCONSTANT_VALUE_NULL
static booleanJUMP_IF_FALSE
static booleanJUMP_IF_TRUE
Constructor Summary
protected Rvalue(Location location)
Method Summary
abstract voidaccept(Visitor.RvalueVisitor rvv)
Java.BlockStatementgetEnclosingBlockStatement()
voidsetEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
Sets enclosing block statement for this object and all subordinate Rvalue objects.
Java.RvaluetoRvalue()

Field Detail

CONSTANT_VALUE_NULL

public static final Object CONSTANT_VALUE_NULL

JUMP_IF_FALSE

public static final boolean JUMP_IF_FALSE

JUMP_IF_TRUE

public static final boolean JUMP_IF_TRUE

Constructor Detail

Rvalue

protected Rvalue(Location location)

Method Detail

accept

public abstract void accept(Visitor.RvalueVisitor rvv)

getEnclosingBlockStatement

public Java.BlockStatement getEnclosingBlockStatement()

setEnclosingBlockStatement

public final void setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
Sets enclosing block statement for this object and all subordinate Rvalue objects.

toRvalue

public Java.Rvalue toRvalue()