public class JifIfExt extends JifStmtExt_c
If node.If,
Serialized FormstmtDel| Modifier and Type | Method and Description |
|---|---|
protected static void |
extendContext(LabelChecker lc,
JifContext A,
polyglot.ast.Expr e,
boolean warn) |
protected static void |
extendFact(LabelChecker lc,
JifContext A,
polyglot.ast.Binary b,
boolean warn) |
protected static void |
extendFact(LabelChecker lc,
JifContext A,
polyglot.ast.Expr e,
boolean warn) |
polyglot.ast.Node |
labelCheckStmt(LabelChecker lc) |
protected void |
updateContextForConsequent(LabelChecker lc,
JifContext A,
PathMap Xcond)
Utility method for updating the context for checking the
consequent/alternative.
|
copy, init, labelCheck, stmtDel, stmtDelcheckAndRemoveThrowType, checkThrowTypes, dump, getPathMap, 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, node, pred, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, superLang, throwTypes, toString, translate, typeCheck, typeCheckEnter, 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, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpublic JifIfExt(ToJavaExt toJava)
public polyglot.ast.Node labelCheckStmt(LabelChecker lc) throws polyglot.types.SemanticException
labelCheckStmt in interface JifStmtExtlabelCheckStmt in class JifStmtExt_cpolyglot.types.SemanticExceptionprotected static void extendContext(LabelChecker lc, JifContext A, polyglot.ast.Expr e, boolean warn) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionprotected static void extendFact(LabelChecker lc, JifContext A, polyglot.ast.Expr e, boolean warn) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionprotected static void extendFact(LabelChecker lc, JifContext A, polyglot.ast.Binary b, boolean warn) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionprotected void updateContextForConsequent(LabelChecker lc, JifContext A, PathMap Xcond)