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_SCOPES_H_ | 5 #ifndef V8_AST_SCOPES_H_ |
6 #define V8_SCOPES_H_ | 6 #define V8_AST_SCOPES_H_ |
7 | 7 |
8 #include "src/ast.h" | 8 #include "src/ast/ast.h" |
9 #include "src/pending-compilation-error-handler.h" | 9 #include "src/pending-compilation-error-handler.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 class ParseInfo; | 15 class ParseInfo; |
16 | 16 |
17 // A hash map to support fast variable declaration and lookup. | 17 // A hash map to support fast variable declaration and lookup. |
18 class VariableMap: public ZoneHashMap { | 18 class VariableMap: public ZoneHashMap { |
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 PendingCompilationErrorHandler pending_error_handler_; | 842 PendingCompilationErrorHandler pending_error_handler_; |
843 | 843 |
844 // For tracking which classes are declared consecutively. Needed for strong | 844 // For tracking which classes are declared consecutively. Needed for strong |
845 // mode. | 845 // mode. |
846 int class_declaration_group_start_; | 846 int class_declaration_group_start_; |
847 }; | 847 }; |
848 | 848 |
849 } // namespace internal | 849 } // namespace internal |
850 } // namespace v8 | 850 } // namespace v8 |
851 | 851 |
852 #endif // V8_SCOPES_H_ | 852 #endif // V8_AST_SCOPES_H_ |
OLD | NEW |