edu.mit.ai.psg.jeva
Class EnvEnd

java.lang.Object
  |
  +--edu.mit.ai.psg.jeva.EnvEnd

public class EnvEnd
extends Object
implements IEnv

A tail environment node that holds the root package. Top level definitions should lookup package name, then store into package.

Author:
CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology

Method Summary
 IEnv getNext()
           
 int getOptionBits()
           
 IClass lookupClass(String queryName)
           
 IClass lookupEnclosingClass()
           
 IPackage lookupEnclosingPackage()
           
 IField lookupField(String queryName)
           
 IStatementNode lookupLabel(String queryName, boolean isForContinue)
           
 IStore lookupLocal(String queryName)
           
 IPackage lookupPackage(String firstPackageName)
           
 IClass lookupReturnType()
           
 Object lookupThis()
           
 IClass[] lookupThrows()
           
static IEnv makeDefaultEnv(int initOptions)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

makeDefaultEnv

public static IEnv makeDefaultEnv(int initOptions)

toString

public String toString()
Overrides:
toString in class Object

lookupLocal

public IStore lookupLocal(String queryName)
Specified by:
lookupLocal in interface IEnv

lookupField

public IField lookupField(String queryName)
Specified by:
lookupField in interface IEnv

lookupLabel

public IStatementNode lookupLabel(String queryName,
                                  boolean isForContinue)
Specified by:
lookupLabel in interface IEnv

lookupClass

public IClass lookupClass(String queryName)
Specified by:
lookupClass in interface IEnv

lookupPackage

public IPackage lookupPackage(String firstPackageName)
Specified by:
lookupPackage in interface IEnv

lookupReturnType

public IClass lookupReturnType()
Specified by:
lookupReturnType in interface IEnv

lookupThrows

public IClass[] lookupThrows()
Specified by:
lookupThrows in interface IEnv

lookupThis

public Object lookupThis()
Specified by:
lookupThis in interface IEnv

lookupEnclosingClass

public IClass lookupEnclosingClass()
Specified by:
lookupEnclosingClass in interface IEnv

lookupEnclosingPackage

public IPackage lookupEnclosingPackage()
Specified by:
lookupEnclosingPackage in interface IEnv

getOptionBits

public int getOptionBits()
Specified by:
getOptionBits in interface IEnv

getNext

public IEnv getNext()
Specified by:
getNext in interface IEnv

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-bugs@ai.mit.edu