Package gnu.expr
Class AbstractScriptEngineFactory.BindingsEnvironment
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Environment
gnu.mapping.SimpleEnvironment
gnu.mapping.InheritingEnvironment
gnu.expr.AbstractScriptEngineFactory.BindingsEnvironment
- All Implemented Interfaces:
Named
- Enclosing class:
AbstractScriptEngineFactory
A Environment that proxies lookup in global and engine Bindings.
-
Field Summary
Fields inherited from class gnu.mapping.Environment
curEnvironment, INDIRECT_DEFINESFields inherited from class gnu.mapping.PropertySet
nameKey -
Constructor Summary
ConstructorsConstructorDescriptionBindingsEnvironment(String name, Bindings ebindings, Bindings gbindings, Environment builtin) -
Method Summary
Modifier and TypeMethodDescriptionvoidDoes enumerate inherited Locations.Does not enumerate inherited Locations.voidlookupDirect(Symbol name, Object property, int hash) protected NamedLocationnewLocation(Symbol name, Object property) Methods inherited from class gnu.mapping.InheritingEnvironment
addParent, getLocation, getNumParents, getParent, hasMoreElements, lookup, lookupInherited, toStringBaseMethods inherited from class gnu.mapping.SimpleEnvironment
addLocation, addUnboundLocation, define, entrySet, getCurrentLocation, lookup_global, put, readExternal, readResolve, redefineError, size, toStringVerbose, unlink, writeExternalMethods inherited from class gnu.mapping.Environment
addLocation, addLocation, containsKey, current, defaultNamespace, get, get, get, get, get, getCanDefine, getCanRedefine, getChecked, getCurrent, getFlags, getFunction, getFunction, getGlobal, getInstance, getLocation, getLocation, getLocation, getLocation, getSymbol, isBound, isBound, isLocked, lookup, lookup, make, make, make, put, put, put, putFunction, remove, remove, remove, remove, remove, removeFunction, restoreCurrent, setCanDefine, setCanRedefine, setCurrent, setFlag, setGlobal, setIndirectDefines, setLocked, setSaveCurrent, toString, userMethods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
Constructor Details
-
BindingsEnvironment
public BindingsEnvironment(String name, Bindings ebindings, Bindings gbindings, Environment builtin)
-
-
Method Details
-
newLocation
- Overrides:
newLocationin classSimpleEnvironment
-
lookupDirect
- Overrides:
lookupDirectin classSimpleEnvironment
-
define
- Overrides:
definein classSimpleEnvironment
-
fixEntries
public void fixEntries() -
enumerateLocations
Description copied from class:SimpleEnvironmentDoes not enumerate inherited Locations.- Overrides:
enumerateLocationsin classSimpleEnvironment
-
enumerateAllLocations
Description copied from class:SimpleEnvironmentDoes enumerate inherited Locations.- Overrides:
enumerateAllLocationsin classInheritingEnvironment
-