Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatablepublic static final class Java.Cast extends Java.Rvalue
| Modifier and Type | Field | Description |
|---|---|---|
Java.Type |
targetType |
The type to convert to.
|
Java.Rvalue |
value |
The rvalue to convert.
|
NOWHERE| Constructor | Description |
|---|---|
Cast(Location location,
Java.Type targetType,
Java.Rvalue value) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor.AtomVisitor visitor) |
|
void |
accept(Visitor.ElementValueVisitor visitor) |
Invokes the '
visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.RvalueVisitor visitor) |
|
String |
toString() |
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptiongetLocation, throwCompileExceptiongetEnclosingBlockStatement, setEnclosingBlockStatement, toRvaluepublic 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)
Java.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvalueaccept in class Java.Rvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.Copyright © 2001–2019. All rights reserved.