public abstract static class Java.Rvalue extends Java.Atom implements Java.ArrayInitializerOrRvalue, Java.ElementValue
NOWHERE| Modifier | Constructor and Description |
|---|---|
protected |
Rvalue(Location location) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.AtomVisitor<R,EX> visitor)
|
<R,EX extends Throwable> |
accept(Visitor.ElementValueVisitor<R,EX> visitor)
Invokes the '
visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
abstract <R,EX extends Throwable> |
accept(Visitor.RvalueVisitor<R,EX> rvv)
|
Java.Scope |
getEnclosingScope() |
Java.Scope |
getEnclosingScopeOrNull() |
void |
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this object and all subordinate
Java.Rvalue objects. |
Java.Rvalue |
toRvalue() |
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toString, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionprotected Rvalue(Location location)
@Nullable public <R,EX extends Throwable> R accept(Visitor.ElementValueVisitor<R,EX> visitor) throws EX extends Throwable
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.accept in interface Java.ElementValueEX extends Throwablepublic final void setEnclosingScope(Java.Scope enclosingScope)
Java.Rvalue objects.setEnclosingScope in interface Java.ElementValuepublic Java.Scope getEnclosingScope()
setEnclosingScope(Java.Scope)@Nullable public Java.Scope getEnclosingScopeOrNull()
setEnclosingScope(Java.Scope)@Nullable public Java.Rvalue toRvalue()
toRvalue in class Java.AtomJava.Rvalue, or null if this atom is not an rvalue@Nullable public abstract <R,EX extends Throwable> R accept(Visitor.RvalueVisitor<R,EX> rvv) throws EX extends Throwable
EX extends Throwable