jif.ast
Interface LabelCase

All Superinterfaces:
java.lang.Cloneable, polyglot.ast.CompoundStmt, polyglot.util.Copy, polyglot.ast.JL, polyglot.ast.Node, polyglot.ast.NodeOps, polyglot.ast.Stmt, polyglot.ast.Term
All Known Implementing Classes:
LabelCase_c

public interface LabelCase
extends polyglot.ast.CompoundStmt

An immutable represention of a Jif label case statement that handles a case of a Jif switch label statement.


Method Summary
 polyglot.ast.Stmt body()
           
 LabelCase body(polyglot.ast.Stmt body)
           
 polyglot.ast.Formal decl()
           
 LabelCase decl(polyglot.ast.Formal decl)
           
 boolean isDefault()
           
 LabelNode label()
           
 LabelCase label(LabelNode label)
           
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, entry
 
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, exceptionCheck, exceptionCheckEnter, foldConstants, foldConstantsEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 

Method Detail

label

public LabelNode label()

label

public LabelCase label(LabelNode label)

decl

public polyglot.ast.Formal decl()

decl

public LabelCase decl(polyglot.ast.Formal decl)

body

public polyglot.ast.Stmt body()

body

public LabelCase body(polyglot.ast.Stmt body)

isDefault

public boolean isDefault()