Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: src/debug/debug-scopes.h

Issue 2316443002: Include only stuff you need, part 8: Fix debug.h -> liveedit.h. (Closed)
Patch Set: code review (mstarzinger@) Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/debug/debug.cc ('k') | src/debug/ia32/debug-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_DEBUG_SCOPES_H_ 5 #ifndef V8_DEBUG_DEBUG_SCOPES_H_
6 #define V8_DEBUG_DEBUG_SCOPES_H_ 6 #define V8_DEBUG_DEBUG_SCOPES_H_
7 7
8 #include "src/debug/debug-frames.h" 8 #include "src/debug/debug-frames.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 class ParseInfo;
15
14 // Iterate over the actual scopes visible from a stack frame or from a closure. 16 // Iterate over the actual scopes visible from a stack frame or from a closure.
15 // The iteration proceeds from the innermost visible nested scope outwards. 17 // The iteration proceeds from the innermost visible nested scope outwards.
16 // All scopes are backed by an actual context except the local scope, 18 // All scopes are backed by an actual context except the local scope,
17 // which is inserted "artificially" in the context chain. 19 // which is inserted "artificially" in the context chain.
18 class ScopeIterator { 20 class ScopeIterator {
19 public: 21 public:
20 enum ScopeType { 22 enum ScopeType {
21 ScopeTypeGlobal = 0, 23 ScopeTypeGlobal = 0,
22 ScopeTypeLocal, 24 ScopeTypeLocal,
23 ScopeTypeWith, 25 ScopeTypeWith,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 void GetNestedScopeChain(Isolate* isolate, Scope* scope, 164 void GetNestedScopeChain(Isolate* isolate, Scope* scope,
163 int statement_position); 165 int statement_position);
164 166
165 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); 167 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
166 }; 168 };
167 169
168 } // namespace internal 170 } // namespace internal
169 } // namespace v8 171 } // namespace v8
170 172
171 #endif // V8_DEBUG_DEBUG_SCOPES_H_ 173 #endif // V8_DEBUG_DEBUG_SCOPES_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/debug/ia32/debug-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698