Class DebugEnvironment
java.lang.Object
com.oracle.truffle.js.parser.env.Environment
com.oracle.truffle.js.parser.env.DebugEnvironment
Read-only environment based on a frame descriptor used to give debugger code access to the
lexical environment it's to be evaluated in.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.js.parser.env.Environment
Environment.AbstractFrameVarRef, Environment.FrameSlotVarRef, Environment.GlobalLexVarRef, Environment.GlobalVarRef, Environment.MappedArgumentVarRef, Environment.VarRef, Environment.WrappedVarRef -
Field Summary
Fields inherited from class com.oracle.truffle.js.parser.env.Environment
context, factory -
Constructor Summary
ConstructorsConstructorDescriptionDebugEnvironment(Environment parent, NodeFactory factory, JSContext context, Object scope) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasMember(com.oracle.truffle.api.strings.TruffleString name) booleanMethods inherited from class com.oracle.truffle.js.parser.env.Environment
addFrameSlotFromSymbol, addFrameSlotsFromSymbols, addFrameSlotsFromSymbols, createLocal, createTempVar, declareInternalSlot, declareLocalVar, findActiveModule, findArgumentsVar, findAsyncContextVar, findAsyncResultVar, findBlockFrameSlot, 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, joinElements, reserveArgumentsSlot, reserveDynamicScopeSlot, reserveNewTargetSlot, reserveSuperSlot, reserveThisSlot, toString, toStringImpl
-
Constructor Details
-
DebugEnvironment
-
-
Method Details
-
isStrictMode
public boolean isStrictMode()- Overrides:
isStrictModein classEnvironment
-
hasMember
public boolean hasMember(com.oracle.truffle.api.strings.TruffleString name)
-