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

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: 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
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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 }; 461 };
460 462
461 463
462 #undef ERROR_CODES 464 #undef ERROR_CODES
463 465
464 466
465 } // namespace internal 467 } // namespace internal
466 } // namespace v8 468 } // namespace v8
467 469
468 #endif // V8_PARSING_EXPRESSION_CLASSIFIER_H 470 #endif // V8_PARSING_EXPRESSION_CLASSIFIER_H
OLDNEW
« src/collector.h ('K') | « 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