public class AmbVarLabelNode_c extends AmbLabelNode_c implements AmbVarLabelNode
AmbVarLabelNode
interface.Modifier and Type | Field and Description |
---|---|
protected polyglot.ast.Id |
name |
Constructor and Description |
---|
AmbVarLabelNode_c(polyglot.util.Position pos,
polyglot.ast.Id name) |
AmbVarLabelNode_c(polyglot.util.Position pos,
polyglot.ast.Id name,
polyglot.ast.Ext ext) |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover sc)
Disambiguate the type of this node.
|
AmbVarLabelNode |
id(polyglot.ast.Id id) |
protected <N extends AmbVarLabelNode_c> |
id(N n,
polyglot.ast.Id id) |
java.lang.String |
name() |
protected <N extends AmbVarLabelNode_c> |
name(N n,
java.lang.String name) |
AmbVarLabelNode |
name(java.lang.String name) |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected <N extends AmbVarLabelNode_c> |
reconstruct(N n,
polyglot.ast.Id name) |
java.lang.String |
toString() |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
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, 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, visitList
public AmbVarLabelNode_c(polyglot.util.Position pos, polyglot.ast.Id name)
public AmbVarLabelNode_c(polyglot.util.Position pos, polyglot.ast.Id name, polyglot.ast.Ext ext)
public java.lang.String toString()
toString
in class LabelNode_c
public java.lang.String name()
name
in interface AmbVarLabelNode
public AmbVarLabelNode name(java.lang.String name)
protected <N extends AmbVarLabelNode_c> N name(N n, java.lang.String name)
public AmbVarLabelNode id(polyglot.ast.Id id)
protected <N extends AmbVarLabelNode_c> N id(N n, polyglot.ast.Id id)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
protected <N extends AmbVarLabelNode_c> N reconstruct(N n, polyglot.ast.Id name)
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc) throws polyglot.types.SemanticException
AmbLabelNode_c
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