ESC/Java2
© 2003,2004,2005 David Cok and Joseph Kiniry
© 2005 UCD Dublin
© 2003,2004 Radboud University Nijmegen
© 1999,2000 Compaq Computer Corporation
© 1997,1998,1999 Digital Equipment Corporation
All Rights Reserved

javafe.ast
Class BranchStmt

java.lang.Object
  extended byjavafe.ast.ASTNode
      extended byjavafe.ast.Stmt
          extended byjavafe.ast.BranchStmt
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
BreakStmt, ContinueStmt

public abstract class BranchStmt
extends Stmt


Field Summary
 Identifier label
           
 int loc
           
 
Fields inherited from class javafe.ast.ASTNode
decorations
 
Constructor Summary
protected BranchStmt()
          Construct a raw BranchStmt whose class invariant(s) have not yet been established.
 
Method Summary
 void check()
           
 int getStartLoc()
           
 
Methods inherited from class javafe.ast.ASTNode
accept, accept, childAt, childCount, clone, clone, getDecorations, getEndLoc, getTag, setDecorations, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

public Identifier label

loc

public int loc
Constructor Detail

BranchStmt

protected BranchStmt()
Construct a raw BranchStmt whose class invariant(s) have not yet been established. It is the caller's job to initialize the returned node's fields so that any class invariants hold.

Method Detail

getStartLoc

public int getStartLoc()
Specified by:
getStartLoc in class ASTNode

check

public void check()
Overrides:
check in class Stmt

ESC/Java2
© 2003,2004,2005 David Cok and Joseph Kiniry
© 2005 UCD Dublin
© 2003,2004 Radboud University Nijmegen
© 1999,2000 Compaq Computer Corporation
© 1997,1998,1999 Digital Equipment Corporation
All Rights Reserved

The ESC/Java2 Project Homepage