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, toString
addDecls, 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, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
constraints, constraints
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, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitList
protected 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 LabelLeAssertionNode
public LabelLeAssertionNode lhs(LabelNode lhs)
lhs
in interface LabelLeAssertionNode
public LabelNode rhs()
rhs
in interface LabelLeAssertionNode
public LabelLeAssertionNode rhs(LabelNode rhs)
rhs
in interface LabelLeAssertionNode
protected LabelLeAssertionNode_c reconstruct(LabelNode lhs, LabelNode rhs)
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 ar) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.Node_c
polyglot.types.SemanticException
public void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class polyglot.ast.Node_c
public void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
translate
in interface polyglot.ast.NodeOps
translate
in class polyglot.ast.Node_c