Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/ast/ast.h

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ast-value-factory.cc ('k') | src/ast/ast.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_AST_H_
6 #define V8_AST_H_ 6 #define V8_AST_AST_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/ast-value-factory.h" 9 #include "src/ast/ast-value-factory.h"
10 #include "src/ast/modules.h"
11 #include "src/ast/variables.h"
10 #include "src/bailout-reason.h" 12 #include "src/bailout-reason.h"
11 #include "src/base/flags.h" 13 #include "src/base/flags.h"
12 #include "src/base/smart-pointers.h" 14 #include "src/base/smart-pointers.h"
13 #include "src/factory.h" 15 #include "src/factory.h"
14 #include "src/isolate.h" 16 #include "src/isolate.h"
15 #include "src/list.h" 17 #include "src/list.h"
16 #include "src/modules.h" 18 #include "src/parsing/token.h"
17 #include "src/regexp/jsregexp.h" 19 #include "src/regexp/jsregexp.h"
18 #include "src/runtime/runtime.h" 20 #include "src/runtime/runtime.h"
19 #include "src/small-pointer-list.h" 21 #include "src/small-pointer-list.h"
20 #include "src/token.h"
21 #include "src/types.h" 22 #include "src/types.h"
22 #include "src/utils.h" 23 #include "src/utils.h"
23 #include "src/variables.h"
24 24
25 namespace v8 { 25 namespace v8 {
26 namespace internal { 26 namespace internal {
27 27
28 // The abstract syntax tree is an intermediate, light-weight 28 // The abstract syntax tree is an intermediate, light-weight
29 // representation of the parsed JavaScript code suitable for 29 // representation of the parsed JavaScript code suitable for
30 // compilation to native code. 30 // compilation to native code.
31 31
32 // Nodes are allocated in a separate zone, which allows faster 32 // Nodes are allocated in a separate zone, which allows faster
33 // allocation and constant-time deallocation of the entire syntax 33 // allocation and constant-time deallocation of the entire syntax
(...skipping 3631 matching lines...) Expand 10 before | Expand all | Expand 10 after
3665 // ZoneObjects which need to persist until scope analysis must be allocated in 3665 // ZoneObjects which need to persist until scope analysis must be allocated in
3666 // the parser-level zone. 3666 // the parser-level zone.
3667 Zone* parser_zone_; 3667 Zone* parser_zone_;
3668 AstValueFactory* ast_value_factory_; 3668 AstValueFactory* ast_value_factory_;
3669 }; 3669 };
3670 3670
3671 3671
3672 } // namespace internal 3672 } // namespace internal
3673 } // namespace v8 3673 } // namespace v8
3674 3674
3675 #endif // V8_AST_H_ 3675 #endif // V8_AST_AST_H_
OLDNEW
« no previous file with comments | « src/ast-value-factory.cc ('k') | src/ast/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698