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, reachable
addDecls, 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, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, 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, visitList
protected 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 DowngradeStmt
public DowngradeStmt label(LabelNode label)
label
in interface DowngradeStmt
protected <N extends DowngradeStmt_c> N label(N n, LabelNode label)
public LabelNode bound()
bound
in interface DowngradeStmt
public DowngradeStmt bound(LabelNode b)
bound
in interface DowngradeStmt
protected <N extends DowngradeStmt_c> N bound(N n, LabelNode bound)
public polyglot.ast.Stmt body()
body
in interface DowngradeStmt
public DowngradeStmt body(polyglot.ast.Stmt body)
body
in interface DowngradeStmt
protected <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.NodeOps
visitChildren
in class polyglot.ast.Node_c
public polyglot.ast.Term firstChild()
firstChild
in interface polyglot.ast.TermOps
firstChild
in class polyglot.ast.Term_c
public <T> java.util.List<T> acceptCFG(polyglot.visit.CFGBuilder<?> v, java.util.List<T> succs)
acceptCFG
in interface polyglot.ast.TermOps
acceptCFG
in class polyglot.ast.Term_c
public java.lang.String toString()
toString
in class polyglot.ast.Node_c
public void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class polyglot.ast.Node_c
public abstract java.lang.String downgradeKind()
downgradeKind
in interface DowngradeStmt
public void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
translate
in interface polyglot.ast.NodeOps
translate
in class polyglot.ast.Node_c