| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library yaml.loader; | |
| 6 | |
| 7 import 'package:charcode/ascii.dart'; | 5 import 'package:charcode/ascii.dart'; |
| 8 import 'package:source_span/source_span.dart'; | 6 import 'package:source_span/source_span.dart'; |
| 9 | 7 |
| 10 import 'equality.dart'; | 8 import 'equality.dart'; |
| 11 import 'event.dart'; | 9 import 'event.dart'; |
| 12 import 'parser.dart'; | 10 import 'parser.dart'; |
| 13 import 'yaml_document.dart'; | 11 import 'yaml_document.dart'; |
| 14 import 'yaml_exception.dart'; | 12 import 'yaml_exception.dart'; |
| 15 import 'yaml_node.dart'; | 13 import 'yaml_node.dart'; |
| 16 | 14 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 case ".nan": | 348 case ".nan": |
| 351 case ".NaN": | 349 case ".NaN": |
| 352 case ".NAN": | 350 case ".NAN": |
| 353 return double.NAN; | 351 return double.NAN; |
| 354 } | 352 } |
| 355 } | 353 } |
| 356 | 354 |
| 357 return null; | 355 return null; |
| 358 } | 356 } |
| 359 } | 357 } |
| OLD | NEW |