Class LocalOrFieldVar

java.lang.Object
  |
  +--Statement
        |
        +--ExprStmt
              |
              +--Expr
                    |
                    +--LocalOrFieldVar

public class LocalOrFieldVar
extends Expr


Field Summary
 
Fields inherited from class Expr
usedid
 
Fields inherited from class ExprStmt
type
 
Constructor Summary
LocalOrFieldVar()
           
LocalOrFieldVar(java.lang.String n)
           
 
Method Summary
 void codegen(ClassFile classfile, CodeAttribute code, de.dhbwstuttgart.typeinference.Menge paralist)
           
 java.lang.String get_Name()
           
 void sc_check(de.dhbwstuttgart.typeinference.Menge classname, java.util.Hashtable ch, java.util.Hashtable bh, boolean ext, java.util.Hashtable parach, java.util.Hashtable parabh)
           
 void set_UsedId(UsedId u)
           
 
Methods inherited from class Expr
get_Name_Menge, get_Type_Menge, 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
 

Constructor Detail

LocalOrFieldVar

public LocalOrFieldVar()

LocalOrFieldVar

public LocalOrFieldVar(java.lang.String n)
Method Detail

sc_check

public void sc_check(de.dhbwstuttgart.typeinference.Menge 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 Expr
SCStatementException

set_UsedId

public void set_UsedId(UsedId u)
Overrides:
set_UsedId in class Expr

get_Name

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

codegen

public void codegen(ClassFile classfile,
                    CodeAttribute code,
                    de.dhbwstuttgart.typeinference.Menge paralist)
             throws JVMCodeException
Specified by:
codegen in class Statement
JVMCodeException