v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
debug-scope-iterator.h
Go to the documentation of this file.
1// Copyright 2017 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_DEBUG_DEBUG_SCOPE_ITERATOR_H_
6#define V8_DEBUG_DEBUG_SCOPE_ITERATOR_H_
7
11
12namespace v8 {
13namespace internal {
14
16 public:
17 DebugScopeIterator(Isolate* isolate, FrameInspector* frame_inspector);
20
21 bool Done() override;
22 void Advance() override;
23 ScopeType GetType() override;
26 int GetScriptId() override;
27 bool HasLocationInfo() override;
30
32 v8::Local<v8::Value> value) override;
33
34 private:
35 bool ShouldIgnore();
36
38};
39
40} // namespace internal
41} // namespace v8
42
43#endif // V8_DEBUG_DEBUG_SCOPE_ITERATOR_H_
debug::Location GetStartLocation() override
DebugScopeIterator(Isolate *isolate, FrameInspector *frame_inspector)
debug::Location GetEndLocation() override
v8::Local< v8::Object > GetObject() override
bool SetVariableValue(v8::Local< v8::String > name, v8::Local< v8::Value > value) override
v8::Local< v8::Value > GetFunctionDebugName() override
v8::internal::ScopeIterator iterator_