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

Side by Side Diff: src/preparser.h

Issue 333013002: Check alpha-sorting of includes during presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/preparse-data.cc ('k') | src/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_PREPARSER_H
6 #define V8_PREPARSER_H 6 #define V8_PREPARSER_H
7 7
8 #include "src/v8.h"
9
8 #include "src/func-name-inferrer.h" 10 #include "src/func-name-inferrer.h"
9 #include "src/hashmap.h" 11 #include "src/hashmap.h"
12 #include "src/scanner.h"
10 #include "src/scopes.h" 13 #include "src/scopes.h"
11 #include "src/token.h" 14 #include "src/token.h"
12 #include "src/scanner.h"
13 #include "src/v8.h"
14 15
15 namespace v8 { 16 namespace v8 {
16 namespace internal { 17 namespace internal {
17 18
18 // Common base class shared between parser and pre-parser. Traits encapsulate 19 // Common base class shared between parser and pre-parser. Traits encapsulate
19 // the differences between Parser and PreParser: 20 // the differences between Parser and PreParser:
20 21
21 // - Return types: For example, Parser functions return Expression* and 22 // - Return types: For example, Parser functions return Expression* and
22 // PreParser functions return PreParserExpression. 23 // PreParser functions return PreParserExpression.
23 24
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after
2161 parser()->ReportMessage("accessor_get_set"); 2162 parser()->ReportMessage("accessor_get_set");
2162 } 2163 }
2163 *ok = false; 2164 *ok = false;
2164 } 2165 }
2165 } 2166 }
2166 2167
2167 2168
2168 } } // v8::internal 2169 } } // v8::internal
2169 2170
2170 #endif // V8_PREPARSER_H 2171 #endif // V8_PREPARSER_H
OLDNEW
« no previous file with comments | « src/preparse-data.cc ('k') | src/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698