public static class AbstractScriptEngineFactory.BindingsEnvironment extends InheritingEnvironment
curEnvironment, INDIRECT_DEFINESnameKey| 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, toStringBaseaddLocation, addUnboundLocation, define, entrySet, getCurrentLocation, lookup_global, put, readExternal, readResolve, redefineError, size, toStringVerbose, unlink, writeExternaladdLocation, 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, usergetName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbolpublic 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 SimpleEnvironmentpublic NamedLocation lookupDirect(Symbol name, java.lang.Object property, int hash)
lookupDirect in class SimpleEnvironmentpublic void define(Symbol key, java.lang.Object property, java.lang.Object newValue)
define in class SimpleEnvironmentpublic void fixEntries()
public LocationEnumeration enumerateLocations()
SimpleEnvironmentenumerateLocations in class SimpleEnvironmentpublic LocationEnumeration enumerateAllLocations()
SimpleEnvironmentenumerateAllLocations in class InheritingEnvironment