gnu.expr
Class BuiltinEnvironment
java.lang.Object
   gnu.mapping.Procedure
gnu.mapping.Procedure
       gnu.mapping.Procedure1
gnu.mapping.Procedure1
           gnu.mapping.NameMap
gnu.mapping.NameMap
               gnu.mapping.Environment
gnu.mapping.Environment
                   gnu.expr.BuiltinEnvironment
gnu.expr.BuiltinEnvironment
- All Implemented Interfaces: 
- HasSetter, Named
- public class BuiltinEnvironment 
- extends Environment
An Environment containing the default bindings for the current Language.
 All lookup operatiosn are indirected to the
 current Language.
 
 
 
 
| Methods inherited from class gnu.mapping.Environment | 
| addLocation, addLocation, containsKey, current, defaultNamespace, get, get, get, get, get, getCanDefine, getCanRedefine, getCurrent, getFlags, getFunction, getFunction, getGlobal, getInstance, getLocation, getLocation, getLocation, getLocation, getSymbol, isBound, isBound, isLocked, lookup, lookup, make, make, make, put, put, put, put, putFunction, remove, remove, remove, remove, remove, removeFunction, setCanDefine, setCanRedefine, setCurrent, setFlag, setGlobal, setIndirectDefines, setLocked, toString, toStringVerbose, unlink, user | 
 
 
 
| Methods inherited from class gnu.mapping.Procedure | 
| apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, setN, setName, setProperty, setProperty, setSetter, setSymbol | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
BuiltinEnvironment
public BuiltinEnvironment()
getInstance
public static BuiltinEnvironment getInstance()
- 
 
getLangEnvironment
public Environment getLangEnvironment()
- 
 
lookup
public NamedLocation lookup(Symbol name,
                            java.lang.Object property,
                            int hash)
- 
- Specified by:
- lookupin class- Environment
 
- 
 
getLocation
public NamedLocation getLocation(Symbol key,
                                 java.lang.Object property,
                                 int hash,
                                 boolean create)
- 
- Specified by:
- getLocationin class- Environment
 
- 
 
define
public void define(Symbol key,
                   java.lang.Object property,
                   java.lang.Object newValue)
- 
- Specified by:
- definein class- Environment
 
- 
 
enumerateLocations
public LocationEnumeration enumerateLocations()
- Description copied from class: Environment
- Does not enumerate inherited Locations.
 
- 
- Specified by:
- enumerateLocationsin class- Environment
 
- 
 
enumerateAllLocations
public LocationEnumeration enumerateAllLocations()
- Description copied from class: Environment
- Does enumerate inherited Locations.
 
- 
- Specified by:
- enumerateAllLocationsin class- Environment
 
- 
 
hasMoreElements
protected boolean hasMoreElements(LocationEnumeration it)
- 
- Specified by:
- hasMoreElementsin class- Environment
 
- 
 
addLocation
public NamedLocation addLocation(Symbol name,
                                 java.lang.Object prop,
                                 Location loc)
- 
- Specified by:
- addLocationin class- Environment
 
-