#include <debug-scopes.h>
|
| enum | ScopeType {
ScopeTypeGlobal = 0
, ScopeTypeLocal
, ScopeTypeWith
, ScopeTypeClosure
,
ScopeTypeCatch
, ScopeTypeBlock
, ScopeTypeScript
, ScopeTypeEval
,
ScopeTypeModule
} |
| |
| enum class | ReparseStrategy { kFunctionLiteral
, kScriptIfNeeded
} |
| |
| enum class | Mode { STACK
, ALL
} |
| |
|
| JavaScriptFrame * | GetFrame () const |
| |
| bool | AdvanceOneScope () |
| |
| void | AdvanceOneContext () |
| |
| void | AdvanceScope () |
| |
| void | AdvanceContext () |
| |
| void | CollectLocalsFromCurrentScope () |
| |
| void | MaybeCollectAndStoreLocalBlocklists () const |
| |
| int | GetSourcePosition () const |
| |
| void | TryParseAndRetrieveScopes (ReparseStrategy strategy) |
| |
| void | UnwrapEvaluationContext () |
| |
| Handle< JSObject > | WithContextExtension () |
| |
| bool | SetLocalVariableValue (DirectHandle< String > variable_name, DirectHandle< Object > new_value) |
| |
| bool | SetContextVariableValue (DirectHandle< String > variable_name, DirectHandle< Object > new_value) |
| |
| bool | SetContextExtensionValue (DirectHandle< String > variable_name, DirectHandle< Object > new_value) |
| |
| bool | SetScriptVariableValue (DirectHandle< String > variable_name, DirectHandle< Object > new_value) |
| |
| bool | SetModuleVariableValue (DirectHandle< String > variable_name, DirectHandle< Object > new_value) |
| |
| void | VisitScope (const Visitor &visitor, Mode mode) const |
| |
| void | VisitLocalScope (const Visitor &visitor, Mode mode, ScopeType scope_type) const |
| |
| void | VisitScriptScope (const Visitor &visitor) const |
| |
| void | VisitModuleScope (const Visitor &visitor) const |
| |
| bool | VisitLocals (const Visitor &visitor, Mode mode, ScopeType scope_type) const |
| |
| bool | VisitContextLocals (const Visitor &visitor, DirectHandle< ScopeInfo > scope_info, DirectHandle< Context > context, ScopeType scope_type) const |
| |
| | DISALLOW_IMPLICIT_CONSTRUCTORS (ScopeIterator) |
| |
Definition at line 21 of file debug-scopes.h.
◆ Visitor
Initial value: std::function<
bool(Handle<String> name, Handle<Object> value,
Definition at line 158 of file debug-scopes.h.
◆ Mode
◆ ReparseStrategy
| Enumerator |
|---|
| kFunctionLiteral | |
| kScriptIfNeeded | |
Definition at line 43 of file debug-scopes.h.
◆ ScopeType
| Enumerator |
|---|
| ScopeTypeGlobal | |
| ScopeTypeLocal | |
| ScopeTypeWith | |
| ScopeTypeClosure | |
| ScopeTypeCatch | |
| ScopeTypeBlock | |
| ScopeTypeScript | |
| ScopeTypeEval | |
| ScopeTypeModule | |
Definition at line 23 of file debug-scopes.h.
◆ ScopeIterator() [1/3]
◆ ScopeIterator() [2/3]
◆ ScopeIterator() [3/3]
◆ ~ScopeIterator()
| v8::internal::ScopeIterator::~ScopeIterator |
( |
| ) |
|
|
default |
◆ AdvanceContext()
| void v8::internal::ScopeIterator::AdvanceContext |
( |
| ) |
|
|
private |
◆ AdvanceOneContext()
| void v8::internal::ScopeIterator::AdvanceOneContext |
( |
| ) |
|
|
private |
◆ AdvanceOneScope()
| bool v8::internal::ScopeIterator::AdvanceOneScope |
( |
| ) |
|
|
private |
◆ AdvanceScope()
| void v8::internal::ScopeIterator::AdvanceScope |
( |
| ) |
|
|
private |
◆ ClosureScopeHasThisReference()
| bool v8::internal::ScopeIterator::ClosureScopeHasThisReference |
( |
| ) |
const |
◆ CollectLocalsFromCurrentScope()
| void v8::internal::ScopeIterator::CollectLocalsFromCurrentScope |
( |
| ) |
|
|
private |
◆ CurrentContext()
| Handle< Context > v8::internal::ScopeIterator::CurrentContext |
( |
| ) |
const |
|
inline |
◆ DeclaresLocals()
| bool v8::internal::ScopeIterator::DeclaresLocals |
( |
Mode | mode | ) |
const |
◆ DISALLOW_IMPLICIT_CONSTRUCTORS()
| v8::internal::ScopeIterator::DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
ScopeIterator | | ) |
|
|
private |
◆ Done()
| bool v8::internal::ScopeIterator::Done |
( |
| ) |
const |
|
inline |
◆ end_position()
| int v8::internal::ScopeIterator::end_position |
( |
| ) |
|
◆ GetFrame()
◆ GetFunctionDebugName()
◆ GetLocals()
◆ GetScript()
◆ GetSourcePosition()
| int v8::internal::ScopeIterator::GetSourcePosition |
( |
| ) |
const |
|
private |
◆ HasContext()
| bool v8::internal::ScopeIterator::HasContext |
( |
| ) |
const |
◆ HasPositionInfo()
| bool v8::internal::ScopeIterator::HasPositionInfo |
( |
| ) |
|
◆ InInnerScope()
| bool v8::internal::ScopeIterator::InInnerScope |
( |
| ) |
const |
|
inline |
◆ MaterializeScopeDetails()
◆ MaybeCollectAndStoreLocalBlocklists()
| void v8::internal::ScopeIterator::MaybeCollectAndStoreLocalBlocklists |
( |
| ) |
const |
|
private |
◆ NeedsContext()
| bool v8::internal::ScopeIterator::NeedsContext |
( |
| ) |
const |
◆ Next()
| void v8::internal::ScopeIterator::Next |
( |
| ) |
|
◆ Restart()
| void v8::internal::ScopeIterator::Restart |
( |
| ) |
|
◆ ScopeObject()
◆ SetContextExtensionValue()
◆ SetContextVariableValue()
◆ SetLocalVariableValue()
◆ SetModuleVariableValue()
◆ SetScriptVariableValue()
◆ SetVariableValue()
◆ start_position()
| int v8::internal::ScopeIterator::start_position |
( |
| ) |
|
◆ TryParseAndRetrieveScopes()
| void v8::internal::ScopeIterator::TryParseAndRetrieveScopes |
( |
ReparseStrategy | strategy | ) |
|
|
private |
◆ Type()
◆ UnwrapEvaluationContext()
| void v8::internal::ScopeIterator::UnwrapEvaluationContext |
( |
| ) |
|
|
private |
◆ VisitContextLocals()
◆ VisitLocals()
◆ VisitLocalScope()
| void v8::internal::ScopeIterator::VisitLocalScope |
( |
const Visitor & | visitor, |
|
|
Mode | mode, |
|
|
ScopeType | scope_type ) const |
|
private |
◆ VisitModuleScope()
| void v8::internal::ScopeIterator::VisitModuleScope |
( |
const Visitor & | visitor | ) |
const |
|
private |
◆ VisitScope()
| void v8::internal::ScopeIterator::VisitScope |
( |
const Visitor & | visitor, |
|
|
Mode | mode ) const |
|
private |
◆ VisitScriptScope()
| void v8::internal::ScopeIterator::VisitScriptScope |
( |
const Visitor & | visitor | ) |
const |
|
private |
◆ WithContextExtension()
| Handle< JSObject > v8::internal::ScopeIterator::WithContextExtension |
( |
| ) |
|
|
private |
◆ calculate_blocklists_
| bool v8::internal::ScopeIterator::calculate_blocklists_ = false |
|
private |
◆ closure_scope_
◆ context_
◆ current_scope_
| Scope* v8::internal::ScopeIterator::current_scope_ = nullptr |
|
private |
◆ frame_inspector_
| FrameInspector* const v8::internal::ScopeIterator::frame_inspector_ = nullptr |
|
private |
◆ function_
◆ generator_
◆ info_
| std::unique_ptr<ParseInfo> v8::internal::ScopeIterator::info_ |
|
private |
◆ isolate_
| Isolate* v8::internal::ScopeIterator::isolate_ |
|
private |
◆ kScopeDetailsEndPositionIndex
| const int v8::internal::ScopeIterator::kScopeDetailsEndPositionIndex = 4 |
|
static |
◆ kScopeDetailsFunctionIndex
| const int v8::internal::ScopeIterator::kScopeDetailsFunctionIndex = 5 |
|
static |
◆ kScopeDetailsNameIndex
| const int v8::internal::ScopeIterator::kScopeDetailsNameIndex = 2 |
|
static |
◆ kScopeDetailsObjectIndex
| const int v8::internal::ScopeIterator::kScopeDetailsObjectIndex = 1 |
|
static |
◆ kScopeDetailsSize
| const int v8::internal::ScopeIterator::kScopeDetailsSize = 6 |
|
static |
◆ kScopeDetailsStartPositionIndex
| const int v8::internal::ScopeIterator::kScopeDetailsStartPositionIndex = 3 |
|
static |
◆ kScopeDetailsTypeIndex
| const int v8::internal::ScopeIterator::kScopeDetailsTypeIndex = 0 |
|
static |
◆ locals_
◆ reusable_compile_state_
◆ script_
◆ seen_script_scope_
| bool v8::internal::ScopeIterator::seen_script_scope_ = false |
|
private |
◆ start_scope_
| Scope* v8::internal::ScopeIterator::start_scope_ = nullptr |
|
private |
The documentation for this class was generated from the following files: