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

Side by Side Diff: src/ast/modules.h

Issue 2301423002: includes: Make ast.h not need isolate.h any more. (Closed)
Patch Set: rebased 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/ast/ast-traversal-visitor.h ('k') | src/ast/modules.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_AST_MODULES_H_ 5 #ifndef V8_AST_MODULES_H_
6 #define V8_AST_MODULES_H_ 6 #define V8_AST_MODULES_H_
7 7
8 #include "src/parsing/scanner.h" // Only for Scanner::Location. 8 #include "src/parsing/scanner.h" // Only for Scanner::Location.
9 #include "src/pending-compilation-error-handler.h"
10 #include "src/zone-containers.h" 9 #include "src/zone-containers.h"
11 10
12 namespace v8 { 11 namespace v8 {
13 namespace internal { 12 namespace internal {
14 13
15
16 class AstRawString; 14 class AstRawString;
17 15 class PendingCompilationErrorHandler;
18 16
19 class ModuleDescriptor : public ZoneObject { 17 class ModuleDescriptor : public ZoneObject {
20 public: 18 public:
21 explicit ModuleDescriptor(Zone* zone) 19 explicit ModuleDescriptor(Zone* zone)
22 : special_exports_(1, zone), 20 : special_exports_(1, zone),
23 special_imports_(1, zone), 21 special_imports_(1, zone),
24 regular_exports_(zone), 22 regular_exports_(zone),
25 regular_imports_(zone) {} 23 regular_imports_(zone) {}
26 24
27 // The following Add* methods are high-level convenience functions for use by 25 // The following Add* methods are high-level convenience functions for use by
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // into: 165 // into:
168 // import {a as b} from "X"; export {a as c} from "X"; 166 // import {a as b} from "X"; export {a as c} from "X";
169 // (The import entry is never deleted.) 167 // (The import entry is never deleted.)
170 void MakeIndirectExportsExplicit(Zone* zone); 168 void MakeIndirectExportsExplicit(Zone* zone);
171 }; 169 };
172 170
173 } // namespace internal 171 } // namespace internal
174 } // namespace v8 172 } // namespace v8
175 173
176 #endif // V8_AST_MODULES_H_ 174 #endif // V8_AST_MODULES_H_
OLDNEW
« no previous file with comments | « src/ast/ast-traversal-visitor.h ('k') | src/ast/modules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698