|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| IEnvironment<T> | Interface for environments. |
| Class Summary | |
|---|---|
| Environment<T> | Implements a variable environment for a Hobbes interpreter. |
| NullEnvironment<T> | |
| Exception Summary | |
|---|---|
| InvalidVariableException | Indicates that a variable is being used incorrectly. |
This package provides classes to support an environment in an
interpreter or compiler. An environment is a linked list of scopes, where
each scope is implemented as a hash table. Declare your variables of
type IEnvironment and allocate a
NullEnvironment or
an Environment.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||