![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <debug-scope-iterator.h>
Public Member Functions | |
DebugScopeIterator (Isolate *isolate, FrameInspector *frame_inspector) | |
DebugScopeIterator (Isolate *isolate, DirectHandle< JSFunction > function) | |
DebugScopeIterator (Isolate *isolate, Handle< JSGeneratorObject > generator) | |
bool | Done () override |
void | Advance () override |
ScopeType | GetType () override |
v8::Local< v8::Object > | GetObject () override |
v8::Local< v8::Value > | GetFunctionDebugName () override |
int | GetScriptId () override |
bool | HasLocationInfo () override |
debug::Location | GetStartLocation () override |
debug::Location | GetEndLocation () override |
bool | SetVariableValue (v8::Local< v8::String > name, v8::Local< v8::Value > value) override |
![]() | |
ScopeIterator ()=default | |
virtual | ~ScopeIterator ()=default |
ScopeIterator (const ScopeIterator &)=delete | |
ScopeIterator & | operator= (const ScopeIterator &)=delete |
Private Member Functions | |
bool | ShouldIgnore () |
Private Attributes | |
v8::internal::ScopeIterator | iterator_ |
Additional Inherited Members | |
![]() | |
enum | ScopeType { ScopeTypeGlobal = 0 , ScopeTypeLocal , ScopeTypeWith , ScopeTypeClosure , ScopeTypeCatch , ScopeTypeBlock , ScopeTypeScript , ScopeTypeEval , ScopeTypeModule , ScopeTypeWasmExpressionStack } |
![]() | |
static std::unique_ptr< ScopeIterator > | CreateForFunction (v8::Isolate *isolate, v8::Local< v8::Function > func) |
static std::unique_ptr< ScopeIterator > | CreateForGeneratorObject (v8::Isolate *isolate, v8::Local< v8::Object > generator) |
Definition at line 15 of file debug-scope-iterator.h.
v8::internal::DebugScopeIterator::DebugScopeIterator | ( | Isolate * | isolate, |
FrameInspector * | frame_inspector ) |
v8::internal::DebugScopeIterator::DebugScopeIterator | ( | Isolate * | isolate, |
DirectHandle< JSFunction > | function ) |
v8::internal::DebugScopeIterator::DebugScopeIterator | ( | Isolate * | isolate, |
Handle< JSGeneratorObject > | generator ) |
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 65 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 63 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 111 of file debug-scope-iterator.cc.
Implements v8::debug::ScopeIterator.
Definition at line 95 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 83 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 90 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 105 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 78 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 101 of file debug-scope-iterator.cc.
|
overridevirtual |
Implements v8::debug::ScopeIterator.
Definition at line 117 of file debug-scope-iterator.cc.
|
private |
Definition at line 73 of file debug-scope-iterator.cc.
|
private |
Definition at line 37 of file debug-scope-iterator.h.