Class InitialEnvironment
java.lang.Object
InitialEnvironment
- All Implemented Interfaces:
- Environment
public class InitialEnvironment
- extends java.lang.Object
- implements Environment
This is the outermost environment, containing predefined names. The
names +, -, *, /, %, =, !=, <, >, <=, and >= are
associated with corresponding functions.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public Value get(java.lang.String name)
- Description copied from interface:
Environment
- Return the value corresponding to the specified name.
- Specified by:
get
in interface Environment
- Parameters:
name
- the name to look up
- Returns:
- the value associated with the name
getEnvironment
public static InitialEnvironment getEnvironment()