public class AmbThisLabelNode_c extends AmbLabelNode_c implements AmbThisLabelNode
AmbThisLabelNode
interface.Constructor and Description |
---|
AmbThisLabelNode_c(polyglot.util.Position pos) |
AmbThisLabelNode_c(polyglot.util.Position pos,
polyglot.ast.Ext ext) |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover sc)
Disambiguates the type of this node by finding the correct label for
"this".
|
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
java.lang.String |
toString() |
isDisambiguated
dump, label, label, parameter, parameter, translate
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, 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, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, visitEdge, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
parameter, parameter
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList
public AmbThisLabelNode_c(polyglot.util.Position pos)
public AmbThisLabelNode_c(polyglot.util.Position pos, polyglot.ast.Ext ext)
public java.lang.String toString()
toString
in class LabelNode_c
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class AmbLabelNode_c
polyglot.types.SemanticException
public void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class LabelNode_c