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_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" | 9 #include "src/pending-compilation-error-handler.h" |
10 #include "src/zone-containers.h" | 10 #include "src/zone/zone-containers.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 | 15 |
16 class AstRawString; | 16 class AstRawString; |
17 class ModuleInfoEntry; | 17 class ModuleInfoEntry; |
18 | 18 |
19 class ModuleDescriptor : public ZoneObject { | 19 class ModuleDescriptor : public ZoneObject { |
20 public: | 20 public: |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 .insert(std::make_pair(specifier, module_requests_.size())) | 191 .insert(std::make_pair(specifier, module_requests_.size())) |
192 .first; | 192 .first; |
193 return it->second; | 193 return it->second; |
194 } | 194 } |
195 }; | 195 }; |
196 | 196 |
197 } // namespace internal | 197 } // namespace internal |
198 } // namespace v8 | 198 } // namespace v8 |
199 | 199 |
200 #endif // V8_AST_MODULES_H_ | 200 #endif // V8_AST_MODULES_H_ |
OLD | NEW |