OLD | NEW |
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_INL_H_ | 5 #ifndef V8_DATEPARSER_INL_H_ |
6 #define V8_DATEPARSER_INL_H_ | 6 #define V8_DATEPARSER_INL_H_ |
7 | 7 |
8 #include "src/char-predicates-inl.h" | 8 #include "src/char-predicates-inl.h" |
9 #include "src/dateparser.h" | 9 #include "src/dateparser.h" |
10 #include "src/unicode-cache-inl.h" | 10 #include "src/unicode-cache-inl.h" |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 } | 320 } |
321 } | 321 } |
322 if (!scanner->Peek().IsEndOfInput()) return DateToken::Invalid(); | 322 if (!scanner->Peek().IsEndOfInput()) return DateToken::Invalid(); |
323 } | 323 } |
324 // Successfully parsed ES6 Date Time String. | 324 // Successfully parsed ES6 Date Time String. |
325 day->set_iso_date(); | 325 day->set_iso_date(); |
326 return DateToken::EndOfInput(); | 326 return DateToken::EndOfInput(); |
327 } | 327 } |
328 | 328 |
329 | 329 |
330 } } // namespace v8::internal | 330 } // namespace internal |
| 331 } // namespace v8 |
331 | 332 |
332 #endif // V8_DATEPARSER_INL_H_ | 333 #endif // V8_DATEPARSER_INL_H_ |
OLD | NEW |