Package org.teavm.ast
Class CastExpr
- java.lang.Object
-
- org.teavm.ast.Expr
-
- org.teavm.ast.CastExpr
-
- All Implemented Interfaces:
java.lang.Cloneable
public class CastExpr extends Expr
-
-
Constructor Summary
Constructors Constructor Description CastExpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(ExprVisitor visitor)protected Exprclone(java.util.Map<Expr,Expr> cache)ValueTypegetTarget()ExprgetValue()voidsetTarget(ValueType target)voidsetValue(Expr value)-
Methods inherited from class org.teavm.ast.Expr
binary, binary, clone, constant, constructObject, createArray, createArray, createObject, getLocation, instanceOf, invert, invoke, invokeSpecial, invokeStatic, qualify, setLocation, subscript, unary, var
-
-
-
-
Method Detail
-
getValue
public Expr getValue()
-
setValue
public void setValue(Expr value)
-
getTarget
public ValueType getTarget()
-
setTarget
public void setTarget(ValueType target)
-
acceptVisitor
public void acceptVisitor(ExprVisitor visitor)
- Specified by:
acceptVisitorin classExpr
-
-