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) |
isDisambiguateddump, label, label, parameter, parameter, toString, translateaddDecls, 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, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitparameter, parameterdel, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdgeaddDecls, 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, visitListprotected 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()
JoinLabelNodecomponents in interface JoinLabelNodepublic JoinLabelNode components(java.util.List<LabelComponentNode> components)
JoinLabelNodecomponents updated.components in interface JoinLabelNodeprotected JoinLabelNode_c reconstruct(java.util.List<LabelComponentNode> components)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOpsvisitChildren in class polyglot.ast.Node_cpublic polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc)
throws polyglot.types.SemanticException
AmbLabelNode_cdisambiguate in interface polyglot.ast.NodeOpsdisambiguate in class AmbLabelNode_cpolyglot.types.SemanticExceptionpublic void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class LabelNode_c