|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.ast.Node_c jif.ast.ConstraintNode_c jif.ast.LabelLeAssertionNode_c
public class LabelLeAssertionNode_c
An implementation of the ActsForConstraintNode interface.
Field Summary | |
---|---|
protected boolean |
isEquiv
|
protected LabelNode |
lhs
|
protected LabelNode |
rhs
|
Fields inherited from class jif.ast.ConstraintNode_c |
---|
constraints |
Fields inherited from class polyglot.ast.Node_c |
---|
del, error, ext, position |
Constructor Summary | |
---|---|
LabelLeAssertionNode_c(polyglot.util.Position pos,
LabelNode lhs,
LabelNode rhs,
boolean isEquiv)
|
Method Summary | |
---|---|
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. |
Methods inherited from class jif.ast.ConstraintNode_c |
---|
constraint, constraint, constraints, constraints, exceptionCheckEnter, isDisambiguated, setConstraint, toString |
Methods inherited from class polyglot.ast.Node_c |
---|
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, enterChildScope, enterScope, error, error, exceptionCheck, ext, ext, ext, ext, init, isTypeChecked, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jif.ast.ConstraintNode |
---|
constraints, constraints |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
---|
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
---|
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Field Detail |
---|
protected LabelNode lhs
protected LabelNode rhs
protected final boolean isEquiv
Constructor Detail |
---|
public LabelLeAssertionNode_c(polyglot.util.Position pos, LabelNode lhs, LabelNode rhs, boolean isEquiv)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |