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

Side by Side Diff: src/parsing/preparser.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/parsing/preparse-data-format.h ('k') | src/parsing/preparser.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_PREPARSER_H 5 #ifndef V8_PARSING_PREPARSER_H
6 #define V8_PREPARSER_H 6 #define V8_PARSING_PREPARSER_H
7 7
8 #include "src/ast/scopes.h"
8 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
9 #include "src/expression-classifier.h"
10 #include "src/func-name-inferrer.h"
11 #include "src/hashmap.h" 10 #include "src/hashmap.h"
12 #include "src/messages.h" 11 #include "src/messages.h"
13 #include "src/scanner.h" 12 #include "src/parsing/expression-classifier.h"
14 #include "src/scopes.h" 13 #include "src/parsing/func-name-inferrer.h"
15 #include "src/token.h" 14 #include "src/parsing/scanner.h"
15 #include "src/parsing/token.h"
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 19
20 20
21 enum FunctionNameValidity { 21 enum FunctionNameValidity {
22 kFunctionNameIsStrictReserved, 22 kFunctionNameIsStrictReserved,
23 kSkipFunctionNameCheck, 23 kSkipFunctionNameCheck,
24 kFunctionNameValidityUnknown 24 kFunctionNameValidityUnknown
25 }; 25 };
(...skipping 4226 matching lines...) Expand 10 before | Expand all | Expand 10 after
4252 *ok = false; 4252 *ok = false;
4253 return; 4253 return;
4254 } 4254 }
4255 has_seen_constructor_ = true; 4255 has_seen_constructor_ = true;
4256 return; 4256 return;
4257 } 4257 }
4258 } 4258 }
4259 } // namespace internal 4259 } // namespace internal
4260 } // namespace v8 4260 } // namespace v8
4261 4261
4262 #endif // V8_PREPARSER_H 4262 #endif // V8_PARSING_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parsing/preparse-data-format.h ('k') | src/parsing/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698