OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_EXPRESSION_CLASSIFIER_H | 5 #ifndef V8_PARSING_EXPRESSION_CLASSIFIER_H |
6 #define V8_EXPRESSION_CLASSIFIER_H | 6 #define V8_PARSING_EXPRESSION_CLASSIFIER_H |
7 | 7 |
8 #include "src/messages.h" | 8 #include "src/messages.h" |
9 #include "src/scanner.h" | 9 #include "src/parsing/scanner.h" |
10 #include "src/token.h" | 10 #include "src/parsing/token.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 | 15 |
16 class ExpressionClassifier { | 16 class ExpressionClassifier { |
17 public: | 17 public: |
18 struct Error { | 18 struct Error { |
19 Error() | 19 Error() |
20 : location(Scanner::Location::invalid()), | 20 : location(Scanner::Location::invalid()), |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 Error duplicate_formal_parameter_error_; | 294 Error duplicate_formal_parameter_error_; |
295 Error strict_mode_formal_parameter_error_; | 295 Error strict_mode_formal_parameter_error_; |
296 Error strong_mode_formal_parameter_error_; | 296 Error strong_mode_formal_parameter_error_; |
297 Error let_pattern_error_; | 297 Error let_pattern_error_; |
298 DuplicateFinder* duplicate_finder_; | 298 DuplicateFinder* duplicate_finder_; |
299 }; | 299 }; |
300 | 300 |
301 } // namespace internal | 301 } // namespace internal |
302 } // namespace v8 | 302 } // namespace v8 |
303 | 303 |
304 #endif // V8_EXPRESSION_CLASSIFIER_H | 304 #endif // V8_PARSING_EXPRESSION_CLASSIFIER_H |
OLD | NEW |