comp
Class VarDef

java.lang.Object
  |
  +--comp.VarDef

class VarDef
extends java.lang.Object

Represents a variable definition in a given Scope. A variable has a type, is possibly a parameter, and knows its offset into the current frame.


Field Summary
(package private)  boolean isParm
           
(package private)  int offset
           
(package private)  Type type
           
 
Constructor Summary
(package private) VarDef(boolean isParm, int offset, Type t)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

Type type

isParm

boolean isParm

offset

int offset
Constructor Detail

VarDef

VarDef(boolean isParm,
       int offset,
       Type t)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object