v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::DebugScopeIterator Class Referencefinal

#include <debug-scope-iterator.h>

Inheritance diagram for v8::internal::DebugScopeIterator:
Collaboration diagram for v8::internal::DebugScopeIterator:

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::ObjectGetObject () override
 
v8::Local< v8::ValueGetFunctionDebugName () 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
 
- Public Member Functions inherited from v8::debug::ScopeIterator
 ScopeIterator ()=default
 
virtual ~ScopeIterator ()=default
 
 ScopeIterator (const ScopeIterator &)=delete
 
ScopeIteratoroperator= (const ScopeIterator &)=delete
 

Private Member Functions

bool ShouldIgnore ()
 

Private Attributes

v8::internal::ScopeIterator iterator_
 

Additional Inherited Members

- Public Types inherited from v8::debug::ScopeIterator
enum  ScopeType {
  ScopeTypeGlobal = 0 , ScopeTypeLocal , ScopeTypeWith , ScopeTypeClosure ,
  ScopeTypeCatch , ScopeTypeBlock , ScopeTypeScript , ScopeTypeEval ,
  ScopeTypeModule , ScopeTypeWasmExpressionStack
}
 
- Static Public Member Functions inherited from v8::debug::ScopeIterator
static std::unique_ptr< ScopeIteratorCreateForFunction (v8::Isolate *isolate, v8::Local< v8::Function > func)
 
static std::unique_ptr< ScopeIteratorCreateForGeneratorObject (v8::Isolate *isolate, v8::Local< v8::Object > generator)
 

Detailed Description

Definition at line 15 of file debug-scope-iterator.h.

Constructor & Destructor Documentation

◆ DebugScopeIterator() [1/3]

v8::internal::DebugScopeIterator::DebugScopeIterator ( Isolate * isolate,
FrameInspector * frame_inspector )

Definition at line 43 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ DebugScopeIterator() [2/3]

v8::internal::DebugScopeIterator::DebugScopeIterator ( Isolate * isolate,
DirectHandle< JSFunction > function )

Definition at line 51 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ DebugScopeIterator() [3/3]

v8::internal::DebugScopeIterator::DebugScopeIterator ( Isolate * isolate,
Handle< JSGeneratorObject > generator )

Definition at line 57 of file debug-scope-iterator.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Advance()

void v8::internal::DebugScopeIterator::Advance ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 65 of file debug-scope-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Done()

bool v8::internal::DebugScopeIterator::Done ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 63 of file debug-scope-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEndLocation()

debug::Location v8::internal::DebugScopeIterator::GetEndLocation ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 111 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ GetFunctionDebugName()

v8::Local< v8::Value > v8::internal::DebugScopeIterator::GetFunctionDebugName ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 95 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ GetObject()

v8::Local< v8::Object > v8::internal::DebugScopeIterator::GetObject ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 83 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ GetScriptId()

int v8::internal::DebugScopeIterator::GetScriptId ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 90 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ GetStartLocation()

debug::Location v8::internal::DebugScopeIterator::GetStartLocation ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 105 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ GetType()

v8::debug::ScopeIterator::ScopeType v8::internal::DebugScopeIterator::GetType ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 78 of file debug-scope-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasLocationInfo()

bool v8::internal::DebugScopeIterator::HasLocationInfo ( )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 101 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ SetVariableValue()

bool v8::internal::DebugScopeIterator::SetVariableValue ( v8::Local< v8::String > name,
v8::Local< v8::Value > value )
overridevirtual

Implements v8::debug::ScopeIterator.

Definition at line 117 of file debug-scope-iterator.cc.

Here is the call graph for this function:

◆ ShouldIgnore()

bool v8::internal::DebugScopeIterator::ShouldIgnore ( )
private

Definition at line 73 of file debug-scope-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ iterator_

v8::internal::ScopeIterator v8::internal::DebugScopeIterator::iterator_
private

Definition at line 37 of file debug-scope-iterator.h.


The documentation for this class was generated from the following files: