public class LabelLeAssertionNode_c extends ConstraintNode_c<LabelLeAssertion> implements LabelLeAssertionNode
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isEquiv |
protected LabelNode |
lhs |
protected LabelNode |
rhs |
constraints| Constructor and Description |
|---|
LabelLeAssertionNode_c(polyglot.util.Position pos,
LabelNode lhs,
LabelNode rhs,
boolean isEquiv) |
LabelLeAssertionNode_c(polyglot.util.Position pos,
LabelNode lhs,
LabelNode rhs,
boolean isEquiv,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar)
Builds the type of this node.
|
LabelNode |
lhs()
Gets the lhs label node.
|
LabelLeAssertionNode |
lhs(LabelNode lhs)
Returns a copy of this node with the lhs updated.
|
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected LabelLeAssertionNode_c |
reconstruct(LabelNode lhs,
LabelNode rhs)
Reconstructs this node.
|
LabelNode |
rhs()
Gets the rhs principal.
|
LabelLeAssertionNode |
rhs(LabelNode rhs)
Returns a copy of this node with the rhs updated.
|
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v)
Visits the children of this node.
|
constraint, constraint, constraints, constraints, copy, exceptionCheckEnter, isDisambiguated, setConstraint, toStringaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheck, 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, waitconstraints, constraintsdel, 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, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitListprotected LabelNode lhs
protected LabelNode rhs
protected final boolean isEquiv
public LabelLeAssertionNode_c(polyglot.util.Position pos,
LabelNode lhs,
LabelNode rhs,
boolean isEquiv)
public LabelNode lhs()
lhs in interface LabelLeAssertionNodepublic LabelLeAssertionNode lhs(LabelNode lhs)
lhs in interface LabelLeAssertionNodepublic LabelNode rhs()
rhs in interface LabelLeAssertionNodepublic LabelLeAssertionNode rhs(LabelNode rhs)
rhs in interface LabelLeAssertionNodeprotected LabelLeAssertionNode_c reconstruct(LabelNode lhs, LabelNode rhs)
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 ar)
throws polyglot.types.SemanticException
disambiguate in interface polyglot.ast.NodeOpsdisambiguate in class polyglot.ast.Node_cpolyglot.types.SemanticExceptionpublic void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.Node_cpublic void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_c