public abstract class DowngradeExpr_c extends polyglot.ast.Expr_c implements DowngradeExpr
DowngradeExpr
interface.Modifier and Type | Field and Description |
---|---|
protected LabelNode |
bound |
protected polyglot.ast.Expr |
expr |
protected LabelNode |
label |
Constructor and Description |
---|
DowngradeExpr_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
LabelNode bound,
LabelNode label)
Deprecated.
|
DowngradeExpr_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
LabelNode bound,
LabelNode label,
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) |
LabelNode |
bound() |
DowngradeExpr |
bound(LabelNode b) |
protected <N extends DowngradeExpr_c> |
bound(N n,
LabelNode b) |
polyglot.ast.Expr |
expr() |
DowngradeExpr |
expr(polyglot.ast.Expr expr) |
protected <N extends DowngradeExpr_c> |
expr(N n,
polyglot.ast.Expr expr) |
polyglot.ast.Term |
firstChild() |
LabelNode |
label() |
DowngradeExpr |
label(LabelNode label) |
protected <N extends DowngradeExpr_c> |
label(N n,
LabelNode label) |
polyglot.ast.Precedence |
precedence() |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected <N extends DowngradeExpr_c> |
reconstruct(N n,
polyglot.ast.Expr expr,
LabelNode bound,
LabelNode label) |
java.lang.String |
toString() |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
booleanValue, buildTypes, byteValue, charValue, constantValue, constantValue, constantValueSet, constantValueSet, doubleValue, dump, extRewrite, floatValue, intValue, isConstant, isConstant, isTypeChecked, lastLang, longValue, printSubExpr, printSubExpr, shortValue, stringValue, type, type, type
exceptionCheck, exceptions, exceptions, exceptions, listChild, reachable, reachable, reachable
addDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheckEnter, ext, ext, ext, ext, extRewriteEnter, extRewriteOverride, isDisambiguated, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
downgradeKind
constantValue, constantValueSet, isConstant, printSubExpr, printSubExpr, type
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, typeCheckEnter, typeCheckOverride, visitChild, visitList
protected LabelNode label
protected LabelNode bound
protected polyglot.ast.Expr expr
@Deprecated public DowngradeExpr_c(polyglot.util.Position pos, polyglot.ast.Expr expr, LabelNode bound, LabelNode label)
public polyglot.ast.Expr expr()
expr
in interface DowngradeExpr
public DowngradeExpr expr(polyglot.ast.Expr expr)
expr
in interface DowngradeExpr
protected <N extends DowngradeExpr_c> N expr(N n, polyglot.ast.Expr expr)
public LabelNode label()
label
in interface DowngradeExpr
public DowngradeExpr label(LabelNode label)
label
in interface DowngradeExpr
protected <N extends DowngradeExpr_c> N label(N n, LabelNode label)
public LabelNode bound()
bound
in interface DowngradeExpr
public DowngradeExpr bound(LabelNode b)
bound
in interface DowngradeExpr
protected <N extends DowngradeExpr_c> N bound(N n, LabelNode b)
protected <N extends DowngradeExpr_c> N reconstruct(N n, polyglot.ast.Expr expr, LabelNode bound, LabelNode label)
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.Node typeCheck(polyglot.visit.TypeChecker tc)
typeCheck
in interface polyglot.ast.NodeOps
typeCheck
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 void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class polyglot.ast.Node_c
public void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
translate
in interface polyglot.ast.NodeOps
translate
in class polyglot.ast.Node_c
public java.lang.String toString()
toString
in class polyglot.ast.Node_c
public polyglot.ast.Precedence precedence()
precedence
in interface polyglot.ast.Expr
precedence
in class polyglot.ast.Expr_c