Class EvalEnvironment
java.lang.Object
com.oracle.truffle.js.parser.env.Environment
com.oracle.truffle.js.parser.env.EvalEnvironment
-
Nested Class Summary
Nested classes/interfaces inherited from class Environment
Environment.AbstractFrameVarRef, Environment.FrameSlotVarRef, Environment.GlobalLexVarRef, Environment.GlobalVarRef, Environment.MappedArgumentVarRef, Environment.VarRef, Environment.WrappedVarRef -
Field Summary
Fields inherited from class Environment
context, factory -
Constructor Summary
ConstructorsConstructorDescriptionEvalEnvironment(Environment parent, NodeFactory factory, JSContext context, boolean isDirectEval) -
Method Summary
Methods inherited from class Environment
addFrameSlotFromSymbol, addFrameSlotsFromSymbols, addFrameSlotsFromSymbols, createLocal, createTempVar, declareInternalSlot, declareLocalVar, findActiveModule, findArgumentsVar, findAsyncContextVar, findAsyncResultVar, findBlockScopedVar, findDynamicScopeVar, findFunctionFrameSlot, findInternalSlot, findInternalSlot, findInternalSlot, findLocalVar, findNewTargetVar, findSuperVar, findTempVar, findThisVar, findVar, findVar, findVar, findYieldValueVar, function, getBlockFrameDescriptor, getBlockScopeSlot, getCurrentBlockScopeSlot, getFunctionFrameDescriptor, getParent, getParentAt, getScope, getScopeLevel, getVariableEnvironment, hasLocalVar, hasScopeFrame, isDynamicallyScoped, isDynamicScopeContext, isStrictMode, joinElements, reserveArgumentsSlot, reserveDynamicScopeSlot, reserveNewTargetSlot, reserveSuperSlot, reserveThisSlot, toString, toStringImpl
-
Constructor Details
-
EvalEnvironment
public EvalEnvironment(Environment parent, NodeFactory factory, JSContext context, boolean isDirectEval)
-
-
Method Details
-
isDirectEval
public boolean isDirectEval() -
findBlockFrameSlot
- Overrides:
findBlockFrameSlotin classEnvironment
-