jif.ast
Class LabelNode_c

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

public abstract class LabelNode_c
extends polyglot.ast.Node_c
implements LabelNode

An implementation of the LabelNode interface.


Field Summary
 
Fields inherited from class polyglot.ast.Node_c
del, error, ext, position
 
Constructor Summary
  LabelNode_c(polyglot.util.Position pos)
           
protected LabelNode_c(polyglot.util.Position pos, Label label)
           
 
Method Summary
 boolean isDisambiguated()
           
 Label label()
           
 LabelNode label(Label label)
           
 Param parameter()
           
 void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
           
 java.lang.String toString()
           
 void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
           
 
Methods inherited from class polyglot.ast.Node_c
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, del, del, disambiguate, 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 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, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 

Constructor Detail

LabelNode_c

public LabelNode_c(polyglot.util.Position pos)

LabelNode_c

protected LabelNode_c(polyglot.util.Position pos,
                      Label label)
Method Detail

isDisambiguated

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

label

public Label label()
Specified by:
label in interface LabelNode

label

public LabelNode label(Label label)
Specified by:
label in interface LabelNode

parameter

public Param parameter()
Specified by:
parameter in interface ParamNode

toString

public java.lang.String toString()
Overrides:
toString in class polyglot.ast.Node_c

prettyPrint

public void prettyPrint(polyglot.util.CodeWriter w,
                        polyglot.visit.PrettyPrinter tr)
Specified by:
prettyPrint in interface polyglot.ast.NodeOps
Overrides:
prettyPrint in class polyglot.ast.Node_c

translate

public final void translate(polyglot.util.CodeWriter w,
                            polyglot.visit.Translator tr)
Specified by:
translate in interface polyglot.ast.NodeOps
Overrides:
translate in class polyglot.ast.Node_c