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

Side by Side Diff: src/parsing/expression-classifier.h

Issue 2281443002: Separate DuplicateFinder from Scanner. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix rebase. Created 4 years, 3 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 | « src/parsing/duplicate-finder.cc ('k') | src/parsing/parser.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 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_PARSING_EXPRESSION_CLASSIFIER_H 5 #ifndef V8_PARSING_EXPRESSION_CLASSIFIER_H
6 #define V8_PARSING_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/parsing/scanner.h" 9 #include "src/parsing/scanner.h"
10 #include "src/parsing/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 class DuplicateFinder;
16
15 #define ERROR_CODES(T) \ 17 #define ERROR_CODES(T) \
16 T(ExpressionProduction, 0) \ 18 T(ExpressionProduction, 0) \
17 T(FormalParameterInitializerProduction, 1) \ 19 T(FormalParameterInitializerProduction, 1) \
18 T(BindingPatternProduction, 2) \ 20 T(BindingPatternProduction, 2) \
19 T(AssignmentPatternProduction, 3) \ 21 T(AssignmentPatternProduction, 3) \
20 T(DistinctFormalParametersProduction, 4) \ 22 T(DistinctFormalParametersProduction, 4) \
21 T(StrictModeFormalParametersProduction, 5) \ 23 T(StrictModeFormalParametersProduction, 5) \
22 T(ArrowFormalParametersProduction, 6) \ 24 T(ArrowFormalParametersProduction, 6) \
23 T(LetPatternProduction, 7) \ 25 T(LetPatternProduction, 7) \
24 T(ObjectLiteralProduction, 8) \ 26 T(ObjectLiteralProduction, 8) \
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 }; 451 };
450 452
451 453
452 #undef ERROR_CODES 454 #undef ERROR_CODES
453 455
454 456
455 } // namespace internal 457 } // namespace internal
456 } // namespace v8 458 } // namespace v8
457 459
458 #endif // V8_PARSING_EXPRESSION_CLASSIFIER_H 460 #endif // V8_PARSING_EXPRESSION_CLASSIFIER_H
OLDNEW
« no previous file with comments | « src/parsing/duplicate-finder.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698