|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpolyglot.ext.jl.ast.Node_c
jif.ast.AmbExprParam_c
An implementation of the AmbParam interface.
| Field Summary | |
|---|---|
protected ParamInstance |
expectedPI
|
protected polyglot.ast.Expr |
expr
|
| Fields inherited from class polyglot.ext.jl.ast.Node_c |
|---|
del, error, ext, position |
| Constructor Summary | |
|---|---|
AmbExprParam_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
ParamInstance expectedPI)
|
|
| Method Summary | |
|---|---|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover sc)
Always return a CanoncialLabelNode, and let the dynamic label be possibly changed to a dynamic principal later. |
AmbParam |
expectedPI(ParamInstance expectedPI)
|
polyglot.ast.Expr |
expr()
|
AmbParam |
expr(polyglot.ast.Expr expr)
|
boolean |
isDisambiguated()
|
Param |
parameter()
|
java.lang.String |
toString()
|
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v)
|
| Methods inherited from class polyglot.ext.jl.ast.Node_c |
|---|
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, del, del, disambiguateEnter, disambiguateOverride, dump, enterChildScope, enterScope, error, error, exceptionCheck, exceptionCheckEnter, ext, ext, ext, ext, init, node, position, position, prettyPrint, print, printBlock, printSubStmt, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface polyglot.ast.Node |
|---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
| Methods inherited from interface polyglot.ast.JL |
|---|
init, node |
| Methods inherited from interface polyglot.ast.NodeOps |
|---|
addDecls, buildTypes, buildTypesEnter, checkConstants, disambiguateEnter, disambiguateOverride, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride |
| Methods inherited from interface polyglot.util.Copy |
|---|
copy |
| Field Detail |
protected polyglot.ast.Expr expr
protected ParamInstance expectedPI
| Constructor Detail |
public AmbExprParam_c(polyglot.util.Position pos,
polyglot.ast.Expr expr,
ParamInstance expectedPI)
| Method Detail |
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.Nodepublic polyglot.ast.Expr expr()
public AmbParam expr(polyglot.ast.Expr expr)
public AmbParam expectedPI(ParamInstance expectedPI)
expectedPI in interface AmbExprParampublic Param parameter()
parameter in interface ParamNodepublic java.lang.String toString()
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOps
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc)
throws polyglot.types.SemanticException
disambiguate in interface polyglot.ast.NodeOpspolyglot.types.SemanticException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||