home *** CD-ROM | disk | FTP | other *** search
/ Tutto per Internet / Internet.iso / soft95 / Java / espints / espinst.exe / classes / espresso / IdRef.class (.txt) < prev    next >
Encoding:
Java Class File  |  1996-02-28  |  490 b   |  20 lines

  1. package espresso;
  2.  
  3. class IdRef extends AST {
  4.    Obj obj;
  5.    Name name;
  6.  
  7.    Name fullName() {
  8.       return this.name;
  9.    }
  10.  
  11.    boolean isConstant() {
  12.       return this.obj != null && this.obj.isConstant();
  13.    }
  14.  
  15.    IdRef(int var1, int var2, Name var3) {
  16.       super(var1, var2);
  17.       this.name = var3;
  18.    }
  19. }
  20.