OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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; | 5 library yaml; |
6 | 6 |
7 import 'dart:math' as Math; | 7 import 'dart:math' as Math; |
| 8 import 'dart:collection' show Queue; |
8 | 9 |
9 import 'deep_equals.dart'; | 10 import 'deep_equals.dart'; |
10 | 11 |
11 part 'yaml_map.dart'; | 12 part 'yaml_map.dart'; |
12 part 'model.dart'; | 13 part 'model.dart'; |
13 part 'parser.dart'; | 14 part 'parser.dart'; |
14 part 'visitor.dart'; | 15 part 'visitor.dart'; |
15 part 'composer.dart'; | 16 part 'composer.dart'; |
16 part 'constructor.dart'; | 17 part 'constructor.dart'; |
17 | 18 |
(...skipping 27 matching lines...) Expand all Loading... |
45 } | 46 } |
46 | 47 |
47 /// An error thrown by the YAML processor. | 48 /// An error thrown by the YAML processor. |
48 class YamlException implements Exception { | 49 class YamlException implements Exception { |
49 String msg; | 50 String msg; |
50 | 51 |
51 YamlException(this.msg); | 52 YamlException(this.msg); |
52 | 53 |
53 String toString() => msg; | 54 String toString() => msg; |
54 } | 55 } |
OLD | NEW |