jif.ast
Class AmbLabelNode_c

java.lang.Object
  extended by polyglot.ast.Node_c
      extended by jif.ast.LabelNode_c
          extended by jif.ast.AmbLabelNode_c
All Implemented Interfaces:
java.lang.Cloneable, LabelNode, ParamNode, polyglot.ast.Ambiguous, polyglot.ast.JL, polyglot.ast.Node, polyglot.ast.NodeOps, polyglot.util.Copy
Direct Known Subclasses:
AmbDynamicLabelNode_c, AmbThisLabelNode_c, AmbVarLabelNode_c, JoinLabelNode_c, MeetLabelNode_c

public abstract class AmbLabelNode_c
extends LabelNode_c
implements LabelNode, polyglot.ast.Ambiguous

An ambiguous label node.


Field Summary
 
Fields inherited from class polyglot.ast.Node_c
del, error, ext, position
 
Constructor Summary
AmbLabelNode_c(polyglot.util.Position pos)
           
 
Method Summary
abstract  polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar)
          Disambiguate the type of this node.
 boolean isDisambiguated()
           
 
Methods inherited from class jif.ast.LabelNode_c
label, label, parameter, prettyPrint, toString, translate
 
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, exceptionCheckEnter, ext, ext, ext, ext, init, isTypeChecked, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, 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.LabelNode
label, label
 
Methods inherited from interface jif.ast.ParamNode
parameter
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, 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, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 

Constructor Detail

AmbLabelNode_c

public AmbLabelNode_c(polyglot.util.Position pos)
Method Detail

isDisambiguated

public final boolean isDisambiguated()
Specified by:
isDisambiguated in interface polyglot.ast.Node
Overrides:
isDisambiguated in class LabelNode_c

disambiguate

public abstract polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar)
                                        throws polyglot.types.SemanticException
Disambiguate the type of this node.

Specified by:
disambiguate in interface polyglot.ast.NodeOps
Overrides:
disambiguate in class polyglot.ast.Node_c
Throws:
polyglot.types.SemanticException