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_H_ | 5 #ifndef V8_AST_H_ |
6 #define V8_AST_H_ | 6 #define V8_AST_H_ |
7 | 7 |
8 #include "v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "assembler.h" | 10 #include "src/assembler.h" |
11 #include "factory.h" | 11 #include "src/factory.h" |
12 #include "feedback-slots.h" | 12 #include "src/feedback-slots.h" |
13 #include "isolate.h" | 13 #include "src/isolate.h" |
14 #include "jsregexp.h" | 14 #include "src/jsregexp.h" |
15 #include "list-inl.h" | 15 #include "src/list-inl.h" |
16 #include "runtime.h" | 16 #include "src/runtime.h" |
17 #include "small-pointer-list.h" | 17 #include "src/small-pointer-list.h" |
18 #include "smart-pointers.h" | 18 #include "src/smart-pointers.h" |
19 #include "token.h" | 19 #include "src/token.h" |
20 #include "types.h" | 20 #include "src/types.h" |
21 #include "utils.h" | 21 #include "src/utils.h" |
22 #include "variables.h" | 22 #include "src/variables.h" |
23 #include "interface.h" | 23 #include "src/interface.h" |
24 #include "zone-inl.h" | 24 #include "src/zone-inl.h" |
25 | 25 |
26 namespace v8 { | 26 namespace v8 { |
27 namespace internal { | 27 namespace internal { |
28 | 28 |
29 // The abstract syntax tree is an intermediate, light-weight | 29 // The abstract syntax tree is an intermediate, light-weight |
30 // representation of the parsed JavaScript code suitable for | 30 // representation of the parsed JavaScript code suitable for |
31 // compilation to native code. | 31 // compilation to native code. |
32 | 32 |
33 // Nodes are allocated in a separate zone, which allows faster | 33 // Nodes are allocated in a separate zone, which allows faster |
34 // allocation and constant-time deallocation of the entire syntax | 34 // allocation and constant-time deallocation of the entire syntax |
(...skipping 3313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3348 | 3348 |
3349 private: | 3349 private: |
3350 Zone* zone_; | 3350 Zone* zone_; |
3351 Visitor visitor_; | 3351 Visitor visitor_; |
3352 }; | 3352 }; |
3353 | 3353 |
3354 | 3354 |
3355 } } // namespace v8::internal | 3355 } } // namespace v8::internal |
3356 | 3356 |
3357 #endif // V8_AST_H_ | 3357 #endif // V8_AST_H_ |
OLD | NEW |