|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.Cast
public static final class Java.Cast
Representation of a JLS7 15.16 'cast expression'.
| Field Summary | |
|---|---|
Java.Type |
targetType
The type to convert to. |
Java.Rvalue |
value
The rvalue to convert. |
| Fields inherited from class org.codehaus.janino.Java.Located |
|---|
NOWHERE |
| Constructor Summary | |
|---|---|
Java.Cast(Location location,
Java.Type targetType,
Java.Rvalue value)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor.AtomVisitor visitor)
Invokes the ' visit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type. |
void |
accept(Visitor.ElementValueVisitor visitor)
Invokes the ' visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.RvalueVisitor visitor)
Invokes the ' visit...()' method of Visitor.RvalueVisitor for the concrete Java.Rvalue
type. |
String |
toString()
|
| Methods inherited from class org.codehaus.janino.Java.Rvalue |
|---|
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue |
| Methods inherited from class org.codehaus.janino.Java.Atom |
|---|
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileException |
| Methods inherited from class org.codehaus.janino.Java.Located |
|---|
getLocation, throwCompileException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.janino.Java.Locatable |
|---|
getLocation, throwCompileException |
| Field Detail |
|---|
public final Java.Type targetType
public final Java.Rvalue value
| Constructor Detail |
|---|
public Java.Cast(Location location,
Java.Type targetType,
Java.Rvalue value)
| Method Detail |
|---|
public String toString()
toString in class Java.Atompublic void accept(Visitor.AtomVisitor visitor)
Java.Atomvisit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type.
accept in class Java.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvaluevisit...()' method of Visitor.RvalueVisitor for the concrete Java.Rvalue
type.
accept in class Java.Rvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||