public class JoinLabelNode_c extends AmbLabelNode_c implements JoinLabelNode
JoinLabel
interface.Modifier and Type | Field and Description |
---|---|
protected java.util.List<LabelComponentNode> |
components |
Constructor and Description |
---|
JoinLabelNode_c(polyglot.util.Position pos,
java.util.List<LabelComponentNode> components) |
JoinLabelNode_c(polyglot.util.Position pos,
java.util.List<LabelComponentNode> components,
polyglot.ast.Ext ext) |
Modifier and Type | Method and Description |
---|---|
java.util.List<LabelComponentNode> |
components()
Gets the list of join components, which are either label nodes or policy nodes.
|
JoinLabelNode |
components(java.util.List<LabelComponentNode> components)
Returns a copy of this object with
components updated. |
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover sc)
Disambiguate the type of this node.
|
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected JoinLabelNode_c |
reconstruct(java.util.List<LabelComponentNode> components) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
isDisambiguated
dump, label, label, parameter, parameter, toString, 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
protected java.util.List<LabelComponentNode> components
public JoinLabelNode_c(polyglot.util.Position pos, java.util.List<LabelComponentNode> components)
public JoinLabelNode_c(polyglot.util.Position pos, java.util.List<LabelComponentNode> components, polyglot.ast.Ext ext)
public java.util.List<LabelComponentNode> components()
JoinLabelNode
components
in interface JoinLabelNode
public JoinLabelNode components(java.util.List<LabelComponentNode> components)
JoinLabelNode
components
updated.components
in interface JoinLabelNode
protected JoinLabelNode_c reconstruct(java.util.List<LabelComponentNode> components)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
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