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_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 Loading... |
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 |
OLD | NEW |