Class NewClass


java.lang.Object

  |

  +--Statement

        |

        +--ExprStmt

              |

              +--Expr

                    |

                    +--NewClass


public class NewClass
extends Expr


Field Summary
private  ArgumentList arglist
           
 
Fields inherited from class Expr
usedid
 
Fields inherited from class ExprStmt
type
 
Constructor Summary
NewClass()
           
 
Method Summary
 void codegen(ClassFile classfile, CodeAttribute code, java.util.Vector paralist)
           
 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)
           
 void set_ArgumentList(ArgumentList al)
           
 void set_UsedId(UsedId t)
           
 
Methods inherited from class Expr
get_Name_Vector, get_Type_Vector, get_UsedId, set_Type
 
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

arglist


private ArgumentList arglist
Constructor Detail

NewClass


public NewClass()
Method Detail

get_Name


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

set_UsedId


public void set_UsedId(UsedId t)
Overrides:
set_UsedId 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)
              throws SCStatementException
Specified by:
sc_check in class Expr
SCStatementException

set_ArgumentList


public void set_ArgumentList(ArgumentList al)

codegen


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