| 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 "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| 11 #include "src/factory.h" | 11 #include "src/factory.h" |
| 12 #include "src/feedback-slots.h" | 12 #include "src/feedback-slots.h" |
| 13 #include "src/interface.h" |
| 13 #include "src/isolate.h" | 14 #include "src/isolate.h" |
| 14 #include "src/jsregexp.h" | 15 #include "src/jsregexp.h" |
| 15 #include "src/list-inl.h" | 16 #include "src/list-inl.h" |
| 16 #include "src/runtime.h" | 17 #include "src/runtime.h" |
| 17 #include "src/small-pointer-list.h" | 18 #include "src/small-pointer-list.h" |
| 18 #include "src/smart-pointers.h" | 19 #include "src/smart-pointers.h" |
| 19 #include "src/token.h" | 20 #include "src/token.h" |
| 20 #include "src/types.h" | 21 #include "src/types.h" |
| 21 #include "src/utils.h" | 22 #include "src/utils.h" |
| 22 #include "src/variables.h" | 23 #include "src/variables.h" |
| 23 #include "src/interface.h" | |
| 24 #include "src/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 |
| (...skipping 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3346 | 3346 |
| 3347 private: | 3347 private: |
| 3348 Zone* zone_; | 3348 Zone* zone_; |
| 3349 Visitor visitor_; | 3349 Visitor visitor_; |
| 3350 }; | 3350 }; |
| 3351 | 3351 |
| 3352 | 3352 |
| 3353 } } // namespace v8::internal | 3353 } } // namespace v8::internal |
| 3354 | 3354 |
| 3355 #endif // V8_AST_H_ | 3355 #endif // V8_AST_H_ |
| OLD | NEW |