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, translate
addDecls, 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, visitList
public void setQualifierIsNeverNull(boolean neverNull)
public boolean qualIsNeverNull()
public java.util.List<polyglot.types.Type> throwTypes(polyglot.types.TypeSystem ts)
throwTypes
in interface polyglot.ast.NodeOps
throwTypes
in class JifDel_c
public void setFatalExceptions(polyglot.types.TypeSystem ts, polyglot.util.SubtypeSet fatalExceptions)
JifDel_c
setFatalExceptions
in interface JifDel
setFatalExceptions
in class JifDel_c
public 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.NewOps
polyglot.types.SemanticException
public polyglot.ast.Expr findQualifier(polyglot.visit.AmbiguityRemover ar, polyglot.types.ClassType ct) throws polyglot.types.SemanticException
findQualifier
in interface polyglot.ast.NewOps
polyglot.types.SemanticException
public void typeCheckFlags(polyglot.visit.TypeChecker tc) throws polyglot.types.SemanticException
typeCheckFlags
in interface polyglot.ast.NewOps
polyglot.types.SemanticException
public void typeCheckNested(polyglot.visit.TypeChecker tc) throws polyglot.types.SemanticException
typeCheckNested
in interface polyglot.ast.NewOps
polyglot.types.SemanticException
public void printQualifier(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
printQualifier
in interface polyglot.ast.NewOps
public void printArgs(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
printArgs
in interface polyglot.ast.ProcedureCallOps
public void printBody(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
printBody
in interface polyglot.ast.NewOps
public polyglot.types.ClassType findEnclosingClass(polyglot.types.Context c, polyglot.types.ClassType ct)
findEnclosingClass
in interface polyglot.ast.NewOps
public boolean constantValueSet(polyglot.ast.Lang lang)
constantValueSet
in interface polyglot.ast.ExprOps
public boolean isConstant(polyglot.ast.Lang lang)
isConstant
in interface polyglot.ast.ExprOps
public java.lang.Object constantValue(polyglot.ast.Lang lang)
constantValue
in interface polyglot.ast.ExprOps
public void printShortObjectType(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
printShortObjectType
in interface polyglot.ast.NewOps