Class Empty_c

  extended by polyglot.ext.jl.ast.Node_c
      extended by polyglot.ext.jl.ast.Term_c
          extended by polyglot.ext.jl.ast.Stmt_c
              extended by polyglot.ext.jl.ast.Empty_c
All Implemented Interfaces:
java.lang.Cloneable, Empty, JL, Node, NodeOps, Stmt, Term, Copy

public class Empty_c
extends Stmt_c
implements Empty

Empty is the class for a empty statement (;).

Field Summary
Fields inherited from class polyglot.ext.jl.ast.Term_c
exceptions, reachable
Fields inherited from class polyglot.ext.jl.ast.Node_c
del, ext, position
Constructor Summary
Empty_c(Position pos)
Method Summary
 java.util.List acceptCFG(CFGBuilder v, java.util.List succs)
          Visit this term in evaluation order.
 Term entry()
          Return the first (sub)term performed when evaluating this term.
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
          Write the statement to an output file.
 java.lang.String toString()
Methods inherited from class polyglot.ext.jl.ast.Term_c
exceptionCheck, exceptions, exceptions, listEntry, reachable, reachable
Methods inherited from class polyglot.ext.jl.ast.Node_c
addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypes, buildTypesEnter, buildTypesOverride, childExpectedType, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, enterScope, enterScope, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, init, node, position, position, print, printBlock, printSubStmt, throwTypes, translate, 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.Term
exceptions, exceptions, reachable, reachable
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList
Methods inherited from interface polyglot.ast.JL
init, node
Methods inherited from interface polyglot.ast.NodeOps
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
Methods inherited from interface polyglot.util.Copy

Constructor Detail


public Empty_c(Position pos)
Method Detail


public void prettyPrint(CodeWriter w,
                        PrettyPrinter tr)
Write the statement to an output file.

Specified by:
prettyPrint in interface NodeOps
prettyPrint in class Node_c
w - The code writer to which to write.
tr - The pretty printer. This is not a visitor.


public Term entry()
Return the first (sub)term performed when evaluating this term.

Specified by:
entry in interface Term
Specified by:
entry in class Term_c


public java.util.List acceptCFG(CFGBuilder v,
                                java.util.List succs)
Visit this term in evaluation order.

Specified by:
acceptCFG in interface Term
Specified by:
acceptCFG in class Term_c


public java.lang.String toString()
toString in class Node_c