public class JifNewDel extends JifDel_c implements polyglot.ast.NewOps
fatalExceptions| Constructor and Description |
|---|
JifNewDel() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
constantValue(polyglot.ast.Lang lang) |
boolean |
constantValueSet(polyglot.ast.Lang lang) |
polyglot.types.ClassType |
findEnclosingClass(polyglot.types.Context c,
polyglot.types.ClassType ct) |
polyglot.ast.TypeNode |
findQualifiedTypeNode(polyglot.visit.AmbiguityRemover ar,
polyglot.types.ClassType outer,
polyglot.ast.TypeNode objectType) |
polyglot.ast.Expr |
findQualifier(polyglot.visit.AmbiguityRemover ar,
polyglot.types.ClassType ct) |
boolean |
isConstant(polyglot.ast.Lang lang) |
void |
printArgs(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
void |
printBody(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
void |
printQualifier(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
void |
printShortObjectType(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
boolean |
qualIsNeverNull() |
void |
setFatalExceptions(polyglot.types.TypeSystem ts,
polyglot.util.SubtypeSet fatalExceptions)
Set the exceptions thrown by this node that are treated as fatal.
|
void |
setQualifierIsNeverNull(boolean neverNull) |
java.util.List<polyglot.types.Type> |
throwTypes(polyglot.types.TypeSystem ts)
List of Types of exceptions that might get thrown.
|
void |
typeCheckFlags(polyglot.visit.TypeChecker tc) |
void |
typeCheckNested(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, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpublic void setQualifierIsNeverNull(boolean neverNull)
public boolean qualIsNeverNull()
public 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 polyglot.ast.TypeNode findQualifiedTypeNode(polyglot.visit.AmbiguityRemover ar,
polyglot.types.ClassType outer,
polyglot.ast.TypeNode objectType)
throws polyglot.types.SemanticException
findQualifiedTypeNode in interface polyglot.ast.NewOpspolyglot.types.SemanticExceptionpublic polyglot.ast.Expr findQualifier(polyglot.visit.AmbiguityRemover ar,
polyglot.types.ClassType ct)
throws polyglot.types.SemanticException
findQualifier in interface polyglot.ast.NewOpspolyglot.types.SemanticExceptionpublic void typeCheckFlags(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
typeCheckFlags in interface polyglot.ast.NewOpspolyglot.types.SemanticExceptionpublic void typeCheckNested(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
typeCheckNested in interface polyglot.ast.NewOpspolyglot.types.SemanticExceptionpublic void printQualifier(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
printQualifier in interface polyglot.ast.NewOpspublic void printArgs(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
printArgs in interface polyglot.ast.ProcedureCallOpspublic void printBody(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
printBody in interface polyglot.ast.NewOpspublic polyglot.types.ClassType findEnclosingClass(polyglot.types.Context c,
polyglot.types.ClassType ct)
findEnclosingClass in interface polyglot.ast.NewOpspublic boolean constantValueSet(polyglot.ast.Lang lang)
constantValueSet in interface polyglot.ast.ExprOpspublic boolean isConstant(polyglot.ast.Lang lang)
isConstant in interface polyglot.ast.ExprOpspublic java.lang.Object constantValue(polyglot.ast.Lang lang)
constantValue in interface polyglot.ast.ExprOpspublic void printShortObjectType(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
printShortObjectType in interface polyglot.ast.NewOps