step10
Class type.Env

java.lang.Object
  extended by step10.type.Env
Enclosing class:
type

public static class type.Env
extends Object

environment: block-structured map of keys to values.


Field Summary
protected  HashMap map
          map.
protected  type.Env prev
          previous environment.
 
Constructor Summary
protected type.Env()
           
protected type.Env(String[] keys, Object[] values, type.Env prev)
           
 
Method Summary
 Object get(String key)
          return value for key.
 type.Env prev()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prev

protected final type.Env prev
previous environment.


map

protected final HashMap map
map.

Constructor Detail

type.Env

protected type.Env()

type.Env

protected type.Env(String[] keys,
                   Object[] values,
                   type.Env prev)
Method Detail

prev

public type.Env prev()

get

public Object get(String key)
return value for key.