All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class epp.VarEnv

java.lang.Object
   |
   +----epp.VarEnv

public class VarEnv
extends Object
The VarEnv class implements an environment for variables within the type checking pass.

Normally, variable environments are stored in a dynamic variable named :varEnv.

See Also:
Dynamic, VarInfo

Constructor Index

 o VarEnv(Symbol, VarInfo, VarEnv)

Method Index

 o lookup(Symbol)
Searches and returns the VarInfo of a variable named name.

Constructors

 o VarEnv
 public VarEnv(Symbol name,
               VarInfo info,
               VarEnv next)

Methods

 o lookup
 public VarInfo lookup(Symbol name) throws NotFound
Searches and returns the VarInfo of a variable named name.

Throws: NotFound
when not found.

All Packages  Class Hierarchy  This Package  Previous  Next  Index