Home
last modified time | relevance | path

Searched refs:ScopeIterator (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/debug/
Ddebug-scope-iterator.cc17 std::unique_ptr<debug::ScopeIterator> debug::ScopeIterator::CreateForFunction( in CreateForFunction()
33 return std::unique_ptr<debug::ScopeIterator>(new internal::DebugScopeIterator( in CreateForFunction()
37 std::unique_ptr<debug::ScopeIterator>
38 debug::ScopeIterator::CreateForGeneratorObject( in CreateForGeneratorObject()
43 return std::unique_ptr<debug::ScopeIterator>(new internal::DebugScopeIterator( in CreateForGeneratorObject()
79 if (GetType() == debug::ScopeIterator::ScopeTypeLocal) return false; in ShouldIgnore()
80 return !iterator_.DeclaresLocals(i::ScopeIterator::Mode::ALL); in ShouldIgnore()
83 v8::debug::ScopeIterator::ScopeType DebugScopeIterator::GetType() { in GetType()
85 return static_cast<v8::debug::ScopeIterator::ScopeType>(iterator_.Type()); in GetType()
90 Handle<JSObject> value = iterator_.ScopeObject(i::ScopeIterator::Mode::ALL); in GetObject()
[all …]
Ddebug-scopes.cc24 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, in ScopeIterator() function in v8::internal::ScopeIterator
25 ScopeIterator::Option option) in ScopeIterator()
42 ScopeIterator::~ScopeIterator() { delete info_; } in ~ScopeIterator()
44 Handle<Object> ScopeIterator::GetFunctionDebugName() const { in GetFunctionDebugName()
56 ScopeIterator::ScopeIterator(Isolate* isolate, Handle<JSFunction> function) in ScopeIterator() function in v8::internal::ScopeIterator
67 ScopeIterator::ScopeIterator(Isolate* isolate, in ScopeIterator() function in v8::internal::ScopeIterator
81 void ScopeIterator::Restart() { in Restart()
90 void ScopeIterator::TryParseAndRetrieveScopes(ScopeIterator::Option option) { in TryParseAndRetrieveScopes()
178 void ScopeIterator::UnwrapEvaluationContext() { in UnwrapEvaluationContext()
193 Handle<JSObject> ScopeIterator::MaterializeScopeDetails() { in MaterializeScopeDetails()
[all …]
Ddebug-scopes.h22 class ScopeIterator {
46 ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector,
49 ScopeIterator(Isolate* isolate, Handle<JSFunction> function);
50 ScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator);
51 ~ScopeIterator();
125 void TryParseAndRetrieveScopes(ScopeIterator::Option option);
156 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
Ddebug-stack-trace-iterator.cc91 ScopeIterator scope_iterator(isolate_, frame_inspector_.get(), in GetReceiver()
92 ScopeIterator::COLLECT_NON_LOCALS); in GetReceiver()
154 std::unique_ptr<v8::debug::ScopeIterator>
159 return std::unique_ptr<v8::debug::ScopeIterator>(new DebugWasmScopeIterator( in GetScopeIterator()
162 return std::unique_ptr<v8::debug::ScopeIterator>( in GetScopeIterator()
Ddebug-scope-iterator.h16 class DebugScopeIterator final : public debug::ScopeIterator {
38 v8::internal::ScopeIterator iterator_;
41 class DebugWasmScopeIterator final : public debug::ScopeIterator {
Ddebug-interface.h391 class ScopeIterator {
393 static std::unique_ptr<ScopeIterator> CreateForFunction(
395 static std::unique_ptr<ScopeIterator> CreateForGeneratorObject(
398 ScopeIterator() = default;
399 virtual ~ScopeIterator() = default;
427 DISALLOW_COPY_AND_ASSIGN(ScopeIterator);
447 virtual std::unique_ptr<ScopeIterator> GetScopeIterator() const = 0;
Ddebug-evaluate.cc174 ScopeIterator::COLLECT_NON_LOCALS) { in ContextBuilder()
199 ScopeIterator::ScopeType scope_type = scope_iterator_.Type(); in ContextBuilder()
200 if (scope_type == ScopeIterator::ScopeTypeScript) break; in ContextBuilder()
202 if (scope_type == ScopeIterator::ScopeTypeLocal || in ContextBuilder()
203 scope_iterator_.DeclaresLocals(ScopeIterator::Mode::STACK)) { in ContextBuilder()
205 scope_iterator_.ScopeObject(ScopeIterator::Mode::STACK); in ContextBuilder()
210 if (scope_type == ScopeIterator::ScopeTypeLocal) { in ContextBuilder()
Ddebug-stack-trace-iterator.h30 std::unique_ptr<v8::debug::ScopeIterator> GetScopeIterator() const override;
Ddebug-evaluate.h87 ScopeIterator scope_iterator_;
/external/v8/src/wasm/
Dwasm-debug.cc493 isolate_->factory()->NewFixedArray(ScopeIterator::kScopeDetailsSize); in GetScopeDetails()
494 global_scope->set(ScopeIterator::kScopeDetailsTypeIndex, in GetScopeDetails()
495 Smi::FromInt(ScopeIterator::ScopeTypeGlobal)); in GetScopeDetails()
498 global_scope->set(ScopeIterator::kScopeDetailsObjectIndex, in GetScopeDetails()
502 isolate_->factory()->NewFixedArray(ScopeIterator::kScopeDetailsSize); in GetScopeDetails()
503 local_scope->set(ScopeIterator::kScopeDetailsTypeIndex, in GetScopeDetails()
504 Smi::FromInt(ScopeIterator::ScopeTypeLocal)); in GetScopeDetails()
507 local_scope->set(ScopeIterator::kScopeDetailsObjectIndex, in GetScopeDetails()
/external/v8/src/inspector/
Dv8-debugger-agent-impl.cc226 String16 scopeType(v8::debug::ScopeIterator::ScopeType type) { in scopeType()
228 case v8::debug::ScopeIterator::ScopeTypeGlobal: in scopeType()
230 case v8::debug::ScopeIterator::ScopeTypeLocal: in scopeType()
232 case v8::debug::ScopeIterator::ScopeTypeWith: in scopeType()
234 case v8::debug::ScopeIterator::ScopeTypeClosure: in scopeType()
236 case v8::debug::ScopeIterator::ScopeTypeCatch: in scopeType()
238 case v8::debug::ScopeIterator::ScopeTypeBlock: in scopeType()
240 case v8::debug::ScopeIterator::ScopeTypeScript: in scopeType()
242 case v8::debug::ScopeIterator::ScopeTypeEval: in scopeType()
244 case v8::debug::ScopeIterator::ScopeTypeModule: in scopeType()
[all …]
Dv8-debugger-agent-impl.h226 String16 scopeType(v8::debug::ScopeIterator::ScopeType type);
Dv8-debugger.cc695 std::unique_ptr<v8::debug::ScopeIterator> iterator; in getTargetScopes()
698 iterator = v8::debug::ScopeIterator::CreateForFunction( in getTargetScopes()
706 iterator = v8::debug::ScopeIterator::CreateForGeneratorObject( in getTargetScopes()
/external/v8/src/runtime/
Druntime-debug.cc305 for (ScopeIterator it(isolate, gen); !it.Done(); it.Next()) { in RUNTIME_FUNCTION()
331 ScopeIterator it(isolate, gen); in RUNTIME_FUNCTION()
342 static bool SetScopeVariableValue(ScopeIterator* it, int index, in SetScopeVariableValue()
368 ScopeIterator it(isolate, gen); in RUNTIME_FUNCTION()
/external/v8/src/objects/
Dscope-info.h316 friend class ScopeIterator; variable