public class JifNewExt extends JifExprExt
New node.New,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected ConstructorChecker |
constructorChecker |
protected CallHelper |
helper
Squirreling this away here because we need to reuse it in the extended
Fabric Checking.
|
| Modifier and Type | Method and Description |
|---|---|
polyglot.ast.Node |
labelCheck(LabelChecker lc)
Label check the node to which this extension is attached.
|
polyglot.ast.New |
node() |
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) |
protected void |
updateContextPostTarget(LabelChecker lc,
JifContext A,
PathMap Xtarg)
Utility method for updating the context after checking the target.
|
protected void |
updateContextPostTargetExpr(LabelChecker lc,
JifContext A,
PathMap Xtarg)
Utility method for updating the context after checking the target and it
is an expression (not a Special node).
|
getNumericBounds, setNumericBoundscheckAndRemoveThrowType, checkThrowTypes, copy, dump, getPathMap, init, integerBoundsCalculated, toJava, toJava, updatePathMap, X, XaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, ext, ext, extRewrite, extRewriteEnter, extRewriteOverride, initPred, lang, pred, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, superLang, toString, translate, typeCheckOverride, visitChild, visitChildren, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, translate, typeCheckOverride, visitChild, visitChildren, visitListprotected ConstructorChecker constructorChecker
protected CallHelper helper
public JifNewExt(ToJavaExt toJava)
public polyglot.ast.New node()
node in interface polyglot.ast.Extnode in class polyglot.ast.Ext_cpublic polyglot.visit.NodeVisitor typeCheckEnter(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
typeCheckEnter in interface polyglot.ast.NodeOpstypeCheckEnter in class polyglot.ast.Ext_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.Ext_cpolyglot.types.SemanticExceptionpublic java.util.List<polyglot.types.Type> throwTypes(polyglot.types.TypeSystem ts)
throwTypes in interface polyglot.ast.NodeOpsthrowTypes in class polyglot.ast.Ext_cpublic polyglot.ast.Node labelCheck(LabelChecker lc) throws polyglot.types.SemanticException
JifExtlabelCheck in interface JifExtlabelCheck in class JifExt_cpolyglot.types.SemanticExceptionprotected void updateContextPostTarget(LabelChecker lc, JifContext A, PathMap Xtarg)
protected void updateContextPostTargetExpr(LabelChecker lc, JifContext A, PathMap Xtarg)