public static class AbstractScriptEngineFactory.BindingsEnvironment extends InheritingEnvironment
curEnvironment, INDIRECT_DEFINES
nameKey
Constructor and Description |
---|
BindingsEnvironment(java.lang.String name,
javax.script.Bindings ebindings,
javax.script.Bindings gbindings,
Environment builtin) |
Modifier and Type | Method and Description |
---|---|
void |
define(Symbol key,
java.lang.Object property,
java.lang.Object newValue) |
LocationEnumeration |
enumerateAllLocations()
Does enumerate inherited Locations.
|
LocationEnumeration |
enumerateLocations()
Does not enumerate inherited Locations.
|
void |
fixEntries() |
NamedLocation |
lookupDirect(Symbol name,
java.lang.Object property,
int hash) |
protected NamedLocation |
newLocation(Symbol name,
java.lang.Object property) |
addParent, getLocation, getNumParents, getParent, hasMoreElements, lookup, lookupInherited, toStringBase
addLocation, addUnboundLocation, define, entrySet, getCurrentLocation, lookup_global, put, readExternal, readResolve, redefineError, size, toStringVerbose, unlink, writeExternal
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, user
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
public BindingsEnvironment(java.lang.String name, javax.script.Bindings ebindings, javax.script.Bindings gbindings, Environment builtin)
protected NamedLocation newLocation(Symbol name, java.lang.Object property)
newLocation
in class SimpleEnvironment
public NamedLocation lookupDirect(Symbol name, java.lang.Object property, int hash)
lookupDirect
in class SimpleEnvironment
public void define(Symbol key, java.lang.Object property, java.lang.Object newValue)
define
in class SimpleEnvironment
public void fixEntries()
public LocationEnumeration enumerateLocations()
SimpleEnvironment
enumerateLocations
in class SimpleEnvironment
public LocationEnumeration enumerateAllLocations()
SimpleEnvironment
enumerateAllLocations
in class InheritingEnvironment