public abstract static class Java.Rvalue extends Java.Atom implements Java.ArrayInitializerOrRvalue, Java.ElementValue
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.Object |
CONSTANT_VALUE_UNKNOWN
The special value for the
constantValue field indicating that this rvalue does not have a
constant value. |
(package private) java.lang.Object |
constantValue
The constant value of this rvalue, or
CONSTANT_VALUE_UNKNOWN iff this rvalue does not have a
constant value. |
private Java.BlockStatement |
enclosingBlockStatement |
NOWHERE
Modifier | Constructor and Description |
---|---|
protected |
Rvalue(Location location) |
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(Visitor.RvalueVisitor rvv)
|
Java.BlockStatement |
getEnclosingBlockStatement() |
void |
setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
Sets enclosing block statement for this object and all subordinate
Java.Rvalue objects. |
Java.Rvalue |
toRvalue() |
accept, toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toString, toType, toTypeOrCompileException
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
accept
private Java.BlockStatement enclosingBlockStatement
static final java.lang.Object CONSTANT_VALUE_UNKNOWN
constantValue
field indicating that this rvalue does not have a
constant value.java.lang.Object constantValue
CONSTANT_VALUE_UNKNOWN
iff this rvalue does not have a
constant value.protected Rvalue(Location location)
public final void setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
Java.Rvalue
objects.public Java.BlockStatement getEnclosingBlockStatement()
setEnclosingBlockStatement(Java.BlockStatement)
public Java.Rvalue toRvalue()
toRvalue
in class Java.Atom
Java.Rvalue
, or null
if this atom is not an rvaluepublic abstract void accept(Visitor.RvalueVisitor rvv)