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

Side by Side Diff: src/parser.h

Issue 1233913008: Split off ParserBase into src/parser-base.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Copy whole ParserBase, not just the class Created 5 years, 5 months 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 | « no previous file | src/parser-base.h » ('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_PARSER_H_ 5 #ifndef V8_PARSER_H_
6 #define V8_PARSER_H_ 6 #define V8_PARSER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/compiler.h" // TODO(titzer): remove this include dependency 10 #include "src/compiler.h" // TODO(titzer): remove this include dependency
11 #include "src/parser-base.h"
11 #include "src/pending-compilation-error-handler.h" 12 #include "src/pending-compilation-error-handler.h"
12 #include "src/preparse-data.h" 13 #include "src/preparse-data.h"
13 #include "src/preparse-data-format.h" 14 #include "src/preparse-data-format.h"
14 #include "src/preparser.h" 15 #include "src/preparser.h"
15 #include "src/scopes.h" 16 #include "src/scopes.h"
16 17
17 namespace v8 { 18 namespace v8 {
18 19
19 class ScriptCompiler; 20 class ScriptCompiler;
20 21
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 auto* init_block = 1340 auto* init_block =
1340 parser_->BuildParameterInitializationBlock(formal_parameters, ok); 1341 parser_->BuildParameterInitializationBlock(formal_parameters, ok);
1341 if (!*ok) return; 1342 if (!*ok) return;
1342 if (init_block != nullptr) { 1343 if (init_block != nullptr) {
1343 body->Add(init_block, parser_->zone()); 1344 body->Add(init_block, parser_->zone());
1344 } 1345 }
1345 } 1346 }
1346 } } // namespace v8::internal 1347 } } // namespace v8::internal
1347 1348
1348 #endif // V8_PARSER_H_ 1349 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | src/parser-base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698