Class WhileStmt

java.lang.Object
  |
  +--Statement
        |
        +--WhileStmt

public class WhileStmt
extends Statement


Field Summary
(package private)  Expr expr
           
(package private)  Statement loop_block
           
 
Constructor Summary
WhileStmt()
           
 
Method Summary
 void codegen(ClassFile classfile, CodeAttribute code)
           
 void loop_codegen(ClassFile classfile, CodeAttribute code, int breakpoint, boolean not)
           
(package private)  void sc_check(java.util.Vector classname, java.util.Hashtable ch, java.util.Hashtable bh, boolean ext, java.util.Hashtable parach, java.util.Hashtable parabh)
           
(package private)  void set_Expr(Expr exp)
           
(package private)  void set_Loop_block(Statement blk)
           
 
Methods inherited from class Statement
print_rec, print_rec, print_rec, print_rec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expr

Expr expr

loop_block

Statement loop_block
Constructor Detail

WhileStmt

public WhileStmt()
Method Detail

set_Expr

void set_Expr(Expr exp)

set_Loop_block

void set_Loop_block(Statement blk)

sc_check

void sc_check(java.util.Vector classname,
              java.util.Hashtable ch,
              java.util.Hashtable bh,
              boolean ext,
              java.util.Hashtable parach,
              java.util.Hashtable parabh)
        throws SCStatementException
Specified by:
sc_check in class Statement
SCStatementException

codegen

public void codegen(ClassFile classfile,
                    CodeAttribute code)
             throws JVMCodeException
Specified by:
codegen in class Statement
JVMCodeException

loop_codegen

public void loop_codegen(ClassFile classfile,
                         CodeAttribute code,
                         int breakpoint,
                         boolean not)
                  throws JVMCodeException
JVMCodeException