public static final class Java.Cast extends Java.Rvalue
Modifier and Type | Field and Description |
---|---|
Java.Type |
targetType |
Java.Rvalue |
value |
JUMP_IF_FALSE, JUMP_IF_TRUE
NOWHERE
Constructor and Description |
---|
Cast(Location location,
Java.Type targetType,
Java.Rvalue value) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.AtomVisitor visitor) |
void |
accept(Visitor.ElementValueVisitor visitor) |
void |
accept(Visitor.RvalueVisitor visitor) |
java.lang.String |
toString() |
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileException
getLocation, throwCompileException
public final Java.Type targetType
public final Java.Rvalue value
public Cast(Location location, Java.Type targetType, Java.Rvalue value)
public void accept(Visitor.AtomVisitor visitor)
public void accept(Visitor.RvalueVisitor visitor)
accept
in class Java.Rvalue
public void accept(Visitor.ElementValueVisitor visitor)