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

Side by Side Diff: src/parsing/preparser.cc

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/parsing/preparser.h ('k') | src/parsing/rewriter.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #include <cmath> 5 #include <cmath>
6 6
7 #include "src/allocation.h" 7 #include "src/allocation.h"
8 #include "src/base/logging.h" 8 #include "src/base/logging.h"
9 #include "src/conversions-inl.h" 9 #include "src/conversions-inl.h"
10 #include "src/conversions.h" 10 #include "src/conversions.h"
11 #include "src/globals.h" 11 #include "src/globals.h"
12 #include "src/hashmap.h" 12 #include "src/hashmap.h"
13 #include "src/list.h" 13 #include "src/list.h"
14 #include "src/preparse-data.h" 14 #include "src/parsing/preparse-data.h"
15 #include "src/preparse-data-format.h" 15 #include "src/parsing/preparse-data-format.h"
16 #include "src/preparser.h" 16 #include "src/parsing/preparser.h"
17 #include "src/unicode.h" 17 #include "src/unicode.h"
18 #include "src/utils.h" 18 #include "src/utils.h"
19 19
20 namespace v8 { 20 namespace v8 {
21 namespace internal { 21 namespace internal {
22 22
23 void PreParserTraits::ReportMessageAt(Scanner::Location location, 23 void PreParserTraits::ReportMessageAt(Scanner::Location location,
24 MessageTemplate::Template message, 24 MessageTemplate::Template message,
25 const char* arg, 25 const char* arg,
26 ParseErrorType error_type) { 26 ParseErrorType error_type) {
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 Expect(Token::RBRACE, CHECK_OK); 1266 Expect(Token::RBRACE, CHECK_OK);
1267 return PreParserExpression::Default(); 1267 return PreParserExpression::Default();
1268 } 1268 }
1269 } 1269 }
1270 1270
1271 #undef CHECK_OK 1271 #undef CHECK_OK
1272 1272
1273 1273
1274 } // namespace internal 1274 } // namespace internal
1275 } // namespace v8 1275 } // namespace v8
OLDNEW
« no previous file with comments | « src/parsing/preparser.h ('k') | src/parsing/rewriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698