public class JifCastDel extends JifDel_c implements JifPreciseClassDel
Cast node.Cast_c,
Serialized FormfatalExceptions| Constructor and Description |
|---|
JifCastDel() |
| Modifier and Type | Method and Description |
|---|---|
polyglot.ast.Expr |
getPreciseClassExpr() |
boolean |
isToSubstJifClass() |
void |
setFatalExceptions(polyglot.types.TypeSystem ts,
polyglot.util.SubtypeSet fatalExceptions)
Set the exceptions thrown by this node that are treated as fatal.
|
void |
setPreciseClass(java.util.Set<polyglot.types.Type> preciseClasses) |
boolean |
throwsClassCastException() |
java.util.List<polyglot.types.Type> |
throwTypes(polyglot.types.TypeSystem ts) |
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc) |
polyglot.visit.NodeVisitor |
typeCheckEnter(polyglot.visit.TypeChecker tc) |
buildTypes, fatalExceptions, translateaddDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, init, jl, lang, node, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, typeCheckOverride, visitChild, visitChildren, visitListpublic boolean isToSubstJifClass()
public polyglot.visit.NodeVisitor typeCheckEnter(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
typeCheckEnter in interface polyglot.ast.NodeOpstypeCheckEnter in class polyglot.ast.JLDel_cpolyglot.types.SemanticExceptionpublic polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
typeCheck in interface polyglot.ast.NodeOpstypeCheck in class polyglot.ast.JLDel_cpolyglot.types.SemanticExceptionpublic java.util.List<polyglot.types.Type> throwTypes(polyglot.types.TypeSystem ts)
throwTypes in interface polyglot.ast.NodeOpsthrowTypes in class JifDel_cpublic void setFatalExceptions(polyglot.types.TypeSystem ts,
polyglot.util.SubtypeSet fatalExceptions)
JifDel_csetFatalExceptions in interface JifDelsetFatalExceptions in class JifDel_cpublic boolean throwsClassCastException()
public polyglot.ast.Expr getPreciseClassExpr()
getPreciseClassExpr in interface JifPreciseClassDelpublic void setPreciseClass(java.util.Set<polyglot.types.Type> preciseClasses)
setPreciseClass in interface JifPreciseClassDel