Class NewArray


java.lang.Object

  |

  +--Statement

        |

        +--ExprStmt

              |

              +--Expr

                    |

                    +--NewArray


public class NewArray
extends Expr


Field Summary
private  java.util.Vector expr
           
private  Type type
           
 
Fields inherited from class Expr
usedid
 
Constructor Summary
NewArray()
           
 
Method Summary
 void codegen(ClassFile classfile, CodeAttribute code, java.util.Vector paralist)
           
 int get_codegen_Array_Type()
           
 java.lang.String get_Name()
           
 void sc_check(java.util.Vector classname, java.util.Hashtable bh, java.util.Hashtable ch, boolean ext, java.util.Hashtable parach, java.util.Hashtable parabh)
           
 
Methods inherited from class Expr
get_Name_Vector, get_Type_Vector, get_UsedId, set_Type, set_UsedId
 
Methods inherited from class ExprStmt
get_Type
 
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

type


private Type type

expr


private java.util.Vector expr
Constructor Detail

NewArray


public NewArray()
Method Detail

get_Name


public java.lang.String get_Name()
Specified by:
get_Name in class Expr

sc_check


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

get_codegen_Array_Type


public int get_codegen_Array_Type()
                           throws JVMCodeException
JVMCodeException

codegen


public void codegen(ClassFile classfile,
                    CodeAttribute code,
                    java.util.Vector paralist)
             throws JVMCodeException
Specified by:
codegen in class Statement
JVMCodeException