jif.ast
Class DeclassifyStmt_c

java.lang.Object
  extended bypolyglot.ext.jl.ast.Node_c
      extended bypolyglot.ext.jl.ast.Term_c
          extended bypolyglot.ext.jl.ast.Stmt_c
              extended byjif.ast.DeclassifyStmt_c
All Implemented Interfaces:
java.lang.Cloneable, polyglot.ast.CompoundStmt, polyglot.util.Copy, DeclassifyStmt, polyglot.ast.JL, polyglot.ast.Node, polyglot.ast.NodeOps, polyglot.ast.Stmt, polyglot.ast.Term

public class DeclassifyStmt_c
extends polyglot.ext.jl.ast.Stmt_c
implements DeclassifyStmt

An implementation of the DeclassifyStmt interface.


Field Summary
 
Fields inherited from class polyglot.ext.jl.ast.Term_c
reachable
 
Fields inherited from class polyglot.ext.jl.ast.Node_c
del, ext, position
 
Constructor Summary
DeclassifyStmt_c(polyglot.util.Position pos, LabelNode bound, LabelNode label, polyglot.ast.Stmt body)
           
 
Method Summary
 java.util.List acceptCFG(polyglot.visit.CFGBuilder v, java.util.List succs)
           
 polyglot.ast.Stmt body()
           
 DeclassifyStmt body(polyglot.ast.Stmt body)
           
 LabelNode bound()
           
 DeclassifyStmt bound(LabelNode b)
           
 polyglot.ast.Term entry()
           
 LabelNode label()
           
 DeclassifyStmt label(LabelNode label)
           
 void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
           
protected  DeclassifyStmt_c reconstruct(LabelNode bound, LabelNode label, polyglot.ast.Stmt body)
           
 java.lang.String toString()
           
 void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
           
 polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
           
 
Methods inherited from class polyglot.ext.jl.ast.Term_c
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, exceptionCheck, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, foldConstants, foldConstantsEnter, foldConstantsOverride, init, node, position, position, 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 polyglot.ast.Term
reachable, reachable
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge
 
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, foldConstants, foldConstantsEnter, throwTypes, typeCheck, typeCheckEnter
 
Methods inherited from interface polyglot.util.Copy
copy
 

Constructor Detail

DeclassifyStmt_c

public DeclassifyStmt_c(polyglot.util.Position pos,
                        LabelNode bound,
                        LabelNode label,
                        polyglot.ast.Stmt body)
Method Detail

label

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

label

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

bound

public LabelNode bound()
Specified by:
bound in interface DeclassifyStmt

bound

public DeclassifyStmt bound(LabelNode b)
Specified by:
bound in interface DeclassifyStmt

body

public polyglot.ast.Stmt body()
Specified by:
body in interface DeclassifyStmt

body

public DeclassifyStmt body(polyglot.ast.Stmt body)
Specified by:
body in interface DeclassifyStmt

reconstruct

protected DeclassifyStmt_c reconstruct(LabelNode bound,
                                       LabelNode label,
                                       polyglot.ast.Stmt body)

visitChildren

public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
Specified by:
visitChildren in interface polyglot.ast.NodeOps

entry

public polyglot.ast.Term entry()
Specified by:
entry in interface polyglot.ast.Term

acceptCFG

public java.util.List acceptCFG(polyglot.visit.CFGBuilder v,
                                java.util.List succs)
Specified by:
acceptCFG in interface polyglot.ast.Term

toString

public java.lang.String toString()

prettyPrint

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

translate

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