Class InitialEnvironment

java.lang.Object
  extended by 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.


Method Summary
 Value get(java.lang.String name)
          Return the value corresponding to the specified name.
static InitialEnvironment getEnvironment()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()