public class EvalEnvironment extends Environment
Environment.AbstractFrameVarRef, Environment.FrameSlotVarRef, Environment.GlobalLexVarRef, Environment.GlobalVarRef, Environment.MappedArgumentVarRef, Environment.VarRef, Environment.WrappedVarRefARGUMENTS_NAME, context, factory, NEW_TARGET_NAME, SUPER_NAME, THIS_NAME| Constructor and Description |
|---|
EvalEnvironment(Environment parent,
NodeFactory factory,
JSContext context,
boolean isDirectEval) |
| Modifier and Type | Method and Description |
|---|---|
protected com.oracle.truffle.api.frame.FrameSlot |
findBlockFrameSlot(String name) |
FunctionEnvironment |
function() |
boolean |
isDirectEval() |
addFrameSlotFromSymbol, addFrameSlotsFromSymbols, addFrameSlotsFromSymbols, createLocal, createLocal, createTempVar, declareLocalVar, declareVar, findArgumentsVar, findAsyncContextVar, findAsyncResultVar, findDynamicScopeVar, findInternalSlot, findInternalSlot, findLocalVar, findNewTargetVar, findSuperVar, findTempVar, findThisVar, findVar, findVar, findYieldValueVar, getBlockFrameDescriptor, getFunctionFrameDescriptor, getParent, getParentAt, getParentSlots, getParentSlots, getScopeLevel, getVariableEnvironment, hasLocalVar, isDynamicallyScoped, isDynamicScopeContext, isStrictModepublic EvalEnvironment(Environment parent, NodeFactory factory, JSContext context, boolean isDirectEval)
public boolean isDirectEval()
public FunctionEnvironment function()
function in class Environmentprotected com.oracle.truffle.api.frame.FrameSlot findBlockFrameSlot(String name)
findBlockFrameSlot in class Environment