public abstract class DowngradeStmt_c extends polyglot.ast.Stmt_c implements DowngradeStmt
DowngradeStmt interface.| Modifier and Type | Field and Description |
|---|---|
protected polyglot.ast.Stmt |
body |
protected LabelNode |
bound |
protected LabelNode |
label |
| Constructor and Description |
|---|
DowngradeStmt_c(polyglot.util.Position pos,
LabelNode bound,
LabelNode label,
polyglot.ast.Stmt body)
Deprecated.
|
DowngradeStmt_c(polyglot.util.Position pos,
LabelNode bound,
LabelNode label,
polyglot.ast.Stmt body,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
acceptCFG(polyglot.visit.CFGBuilder<?> v,
java.util.List<T> succs) |
polyglot.ast.Stmt |
body() |
protected <N extends DowngradeStmt_c> |
body(N n,
polyglot.ast.Stmt body) |
DowngradeStmt |
body(polyglot.ast.Stmt body) |
LabelNode |
bound() |
DowngradeStmt |
bound(LabelNode b) |
protected <N extends DowngradeStmt_c> |
bound(N n,
LabelNode bound) |
abstract java.lang.String |
downgradeKind() |
polyglot.ast.Term |
firstChild() |
LabelNode |
label() |
DowngradeStmt |
label(LabelNode label) |
protected <N extends DowngradeStmt_c> |
label(N n,
LabelNode label) |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected <N extends DowngradeStmt_c> |
reconstruct(N n,
LabelNode bound,
LabelNode label,
polyglot.ast.Stmt body) |
java.lang.String |
toString() |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
exceptionCheck, exceptions, exceptions, exceptions, extRewrite, listChild, reachable, reachable, reachableaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheckEnter, ext, ext, ext, ext, extRewriteEnter, extRewriteOverride, isDisambiguated, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdel, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdgeaddDecls, 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, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitListprotected LabelNode bound
protected LabelNode label
protected polyglot.ast.Stmt body
@Deprecated
public DowngradeStmt_c(polyglot.util.Position pos,
LabelNode bound,
LabelNode label,
polyglot.ast.Stmt body)
public LabelNode label()
label in interface DowngradeStmtpublic DowngradeStmt label(LabelNode label)
label in interface DowngradeStmtprotected <N extends DowngradeStmt_c> N label(N n, LabelNode label)
public LabelNode bound()
bound in interface DowngradeStmtpublic DowngradeStmt bound(LabelNode b)
bound in interface DowngradeStmtprotected <N extends DowngradeStmt_c> N bound(N n, LabelNode bound)
public polyglot.ast.Stmt body()
body in interface DowngradeStmtpublic DowngradeStmt body(polyglot.ast.Stmt body)
body in interface DowngradeStmtprotected <N extends DowngradeStmt_c> N body(N n, polyglot.ast.Stmt body)
protected <N extends DowngradeStmt_c> N reconstruct(N n, LabelNode bound, LabelNode label, polyglot.ast.Stmt body)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOpsvisitChildren in class polyglot.ast.Node_cpublic polyglot.ast.Term firstChild()
firstChild in interface polyglot.ast.TermOpsfirstChild in class polyglot.ast.Term_cpublic <T> java.util.List<T> acceptCFG(polyglot.visit.CFGBuilder<?> v,
java.util.List<T> succs)
acceptCFG in interface polyglot.ast.TermOpsacceptCFG in class polyglot.ast.Term_cpublic java.lang.String toString()
toString in class polyglot.ast.Node_cpublic void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.Node_cpublic abstract java.lang.String downgradeKind()
downgradeKind in interface DowngradeStmtpublic void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_c