public class AmbExprParam_c extends polyglot.ast.Node_c implements AmbExprParam
AmbParam interface.| Modifier and Type | Field and Description |
|---|---|
protected ParamInstance |
expectedPI |
protected polyglot.ast.Expr |
expr |
| Constructor and Description |
|---|
AmbExprParam_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
ParamInstance expectedPI) |
AmbExprParam_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
ParamInstance expectedPI,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar)
Always return a CanoncialLabelNode, and let the dynamic label be possibly
changed to a dynamic principal later.
|
protected <N extends AmbExprParam_c> |
expectedPI(N n,
ParamInstance expectedPI) |
AmbExprParam |
expectedPI(ParamInstance expectedPI) |
polyglot.ast.Expr |
expr() |
AmbExprParam |
expr(polyglot.ast.Expr expr) |
protected <N extends AmbExprParam_c> |
expr(N n,
polyglot.ast.Expr expr) |
boolean |
isDisambiguated() |
Param |
parameter() |
protected <N extends AmbExprParam_c> |
reconstruct(N n,
polyglot.ast.Expr expr,
ParamInstance expectedPI) |
java.lang.String |
toString() |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheck, exceptionCheckEnter, ext, ext, ext, ext, extRewrite, extRewriteEnter, extRewriteOverride, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdel, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, 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, visitListprotected polyglot.ast.Expr expr
protected ParamInstance expectedPI
public AmbExprParam_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
ParamInstance expectedPI)
public AmbExprParam_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
ParamInstance expectedPI,
polyglot.ast.Ext ext)
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class polyglot.ast.Node_cpublic polyglot.ast.Expr expr()
public AmbExprParam expr(polyglot.ast.Expr expr)
protected <N extends AmbExprParam_c> N expr(N n, polyglot.ast.Expr expr)
public AmbExprParam expectedPI(ParamInstance expectedPI)
expectedPI in interface AmbExprParamprotected <N extends AmbExprParam_c> N expectedPI(N n, ParamInstance expectedPI)
public java.lang.String toString()
toString in class polyglot.ast.Node_cpublic polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOpsvisitChildren in class polyglot.ast.Node_cprotected <N extends AmbExprParam_c> N reconstruct(N n, polyglot.ast.Expr expr, ParamInstance expectedPI)
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar)
throws polyglot.types.SemanticException
disambiguate in interface polyglot.ast.NodeOpsdisambiguate in class polyglot.ast.Node_cpolyglot.types.SemanticException