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

Side by Side Diff: src/dateparser.h

Issue 2272013002: Minor header cleanup. (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
« no previous file with comments | « no previous file | src/json-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_DATEPARSER_H_ 5 #ifndef V8_DATEPARSER_H_
6 #define V8_DATEPARSER_H_ 6 #define V8_DATEPARSER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/char-predicates.h" 9 #include "src/char-predicates.h"
10 #include "src/parsing/scanner.h" 10 #include "src/unicode-cache.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 class DateParser : public AllStatic { 15 class DateParser : public AllStatic {
16 public: 16 public:
17 // Parse the string as a date. If parsing succeeds, return true after 17 // Parse the string as a date. If parsing succeeds, return true after
18 // filling out the output array as follows (all integers are Smis): 18 // filling out the output array as follows (all integers are Smis):
19 // [0]: year 19 // [0]: year
20 // [1]: month (0 = Jan, 1 = Feb, ...) 20 // [1]: month (0 = Jan, 1 = Feb, ...)
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 static DateParser::DateToken ParseES5DateTime( 361 static DateParser::DateToken ParseES5DateTime(
362 DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, 362 DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time,
363 TimeZoneComposer* tz); 363 TimeZoneComposer* tz);
364 }; 364 };
365 365
366 366
367 } // namespace internal 367 } // namespace internal
368 } // namespace v8 368 } // namespace v8
369 369
370 #endif // V8_DATEPARSER_H_ 370 #endif // V8_DATEPARSER_H_
OLDNEW
« no previous file with comments | « no previous file | src/json-parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698