edu.mit.ai.psg.jevaES
Class EnvEnd
java.lang.Object
|
+--edu.mit.ai.psg.jevaES.EnvEnd
- public class EnvEnd
- extends Object
- implements IEnv
A tail environment node that holds the root package.
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997 Massachusetts Institute of Technology
makeDefaultEnv
public static IEnv makeDefaultEnv(int initOptions)
- options default is 0; for explanation @see JevaES
toString
public String toString()
- Overrides:
- toString in class Object
lookupLocal
public IStore lookupLocal(String queryName)
- Specified by:
- lookupLocal in interface IEnv
lookupLabel
public IStatementNode lookupLabel(String queryName,
boolean isForContinue)
- Specified by:
- lookupLabel in interface IEnv
lookupClass
public Class lookupClass(String queryName)
- Specified by:
- lookupClass in interface IEnv
lookupPackage
public IPackage lookupPackage(String firstPackageName)
- Specified by:
- lookupPackage in interface IEnv
lookupReturnType
public Class lookupReturnType()
- Specified by:
- lookupReturnType in interface IEnv
lookupThrows
public Class[] lookupThrows()
- Specified by:
- lookupThrows 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