public final class WithEnvironment extends DerivedEnvironment
Environment.AbstractFrameVarRef, Environment.FrameSlotVarRef, Environment.GlobalLexVarRef, Environment.GlobalVarRef, Environment.MappedArgumentVarRef, Environment.VarRef, Environment.WrappedVarRefcontext, factory| Constructor and Description |
|---|
WithEnvironment(Environment parent,
NodeFactory factory,
JSContext context,
Object withVarIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getWithVarIdentifier() |
boolean |
isDynamicScopeContext()
Environment chain contains a dynamic scope (eval or with) that may shadow variables.
|
declareInternalSlot, getBlockFrameDescriptor, getCurrentBlockScopeSlot, getScopeLeveladdFrameSlotFromSymbol, addFrameSlotsFromSymbols, addFrameSlotsFromSymbols, createLocal, createTempVar, declareLocalVar, findActiveModule, findArgumentsVar, findAsyncContextVar, findAsyncResultVar, findBlockFrameSlot, findBlockScopedVar, findDynamicScopeVar, findFunctionFrameSlot, findInternalSlot, findInternalSlot, findInternalSlot, findLocalVar, findNewTargetVar, findSuperVar, findTempVar, findThisVar, findVar, findVar, findVar, findYieldValueVar, function, getBlockScopeSlot, getFunctionFrameDescriptor, getParent, getParentAt, getScope, getVariableEnvironment, hasLocalVar, hasScopeFrame, isDynamicallyScoped, isStrictMode, joinElements, reserveArgumentsSlot, reserveDynamicScopeSlot, reserveNewTargetSlot, reserveSuperSlot, reserveThisSlot, toString, toStringImplpublic WithEnvironment(Environment parent, NodeFactory factory, JSContext context, Object withVarIdentifier)
public Object getWithVarIdentifier()
public boolean isDynamicScopeContext()
EnvironmentisDynamicScopeContext in class Environment