![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <debug-interface.h>
Public Types | |
| enum | ScopeType { ScopeTypeGlobal = 0 , ScopeTypeLocal , ScopeTypeWith , ScopeTypeClosure , ScopeTypeCatch , ScopeTypeBlock , ScopeTypeScript , ScopeTypeEval , ScopeTypeModule , ScopeTypeWasmExpressionStack } |
Public Member Functions | |
| ScopeIterator ()=default | |
| virtual | ~ScopeIterator ()=default |
| ScopeIterator (const ScopeIterator &)=delete | |
| ScopeIterator & | operator= (const ScopeIterator &)=delete |
| virtual bool | Done ()=0 |
| virtual void | Advance ()=0 |
| virtual ScopeType | GetType ()=0 |
| virtual v8::Local< v8::Object > | GetObject ()=0 |
| virtual v8::Local< v8::Value > | GetFunctionDebugName ()=0 |
| virtual int | GetScriptId ()=0 |
| virtual bool | HasLocationInfo ()=0 |
| virtual debug::Location | GetStartLocation ()=0 |
| virtual debug::Location | GetEndLocation ()=0 |
| virtual bool | SetVariableValue (v8::Local< v8::String > name, v8::Local< v8::Value > value)=0 |
Static Public Member Functions | |
| 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 473 of file debug-interface.h.
| Enumerator | |
|---|---|
| ScopeTypeGlobal | |
| ScopeTypeLocal | |
| ScopeTypeWith | |
| ScopeTypeClosure | |
| ScopeTypeCatch | |
| ScopeTypeBlock | |
| ScopeTypeScript | |
| ScopeTypeEval | |
| ScopeTypeModule | |
| ScopeTypeWasmExpressionStack | |
Definition at line 485 of file debug-interface.h.
|
default |
|
virtualdefault |
|
delete |
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
static |
Definition at line 13 of file debug-scope-iterator.cc.
|
static |
Definition at line 31 of file debug-scope-iterator.cc.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
Implemented in v8::internal::DebugScopeIterator.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.
|
delete |
|
pure virtual |
Implemented in v8::internal::DebugScopeIterator.