OLD | NEW |
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_MODULES_H_ | 5 #ifndef V8_AST_MODULES_H_ |
6 #define V8_MODULES_H_ | 6 #define V8_AST_MODULES_H_ |
7 | 7 |
8 #include "src/zone.h" | 8 #include "src/zone.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 | 13 |
14 class AstRawString; | 14 class AstRawString; |
15 | 15 |
16 | 16 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 bool frozen_; | 112 bool frozen_; |
113 ZoneHashMap* exports_; // Module exports and their types (allocated lazily) | 113 ZoneHashMap* exports_; // Module exports and their types (allocated lazily) |
114 ZoneList<const AstRawString*> requested_modules_; | 114 ZoneList<const AstRawString*> requested_modules_; |
115 int index_; | 115 int index_; |
116 }; | 116 }; |
117 | 117 |
118 } // namespace internal | 118 } // namespace internal |
119 } // namespace v8 | 119 } // namespace v8 |
120 | 120 |
121 #endif // V8_MODULES_H_ | 121 #endif // V8_AST_MODULES_H_ |
OLD | NEW |