|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.ast.Node_c jif.ast.AmbExprParam_c
public class AmbExprParam_c
An implementation of the AmbParam
interface.
Field Summary | |
---|---|
protected ParamInstance |
expectedPI
|
protected polyglot.ast.Expr |
expr
|
Fields inherited from class polyglot.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 ar)
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()
|
protected AmbExprParam_c |
reconstruct(polyglot.ast.Expr expr,
ParamInstance expectedPI)
|
java.lang.String |
toString()
|
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v)
|
Methods inherited from class polyglot.ast.Node_c |
---|
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, enterChildScope, enterScope, error, error, exceptionCheck, exceptionCheckEnter, ext, ext, ext, ext, init, isTypeChecked, node, position, position, prettyPrint, prettyPrint, 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, isTypeChecked, 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, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, 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, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride |
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.Node
isDisambiguated
in class polyglot.ast.Node_c
public polyglot.ast.Expr expr()
public AmbParam expr(polyglot.ast.Expr expr)
public AmbParam expectedPI(ParamInstance expectedPI)
expectedPI
in interface AmbExprParam
public Param parameter()
parameter
in interface ParamNode
public java.lang.String toString()
toString
in class polyglot.ast.Node_c
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
protected AmbExprParam_c reconstruct(polyglot.ast.Expr expr, ParamInstance expectedPI)
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.Node_c
polyglot.types.SemanticException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |