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; | |
6 | |
7 import 'src/loader.dart'; | 5 import 'src/loader.dart'; |
8 import 'src/style.dart'; | 6 import 'src/style.dart'; |
9 import 'src/yaml_document.dart'; | 7 import 'src/yaml_document.dart'; |
10 import 'src/yaml_exception.dart'; | 8 import 'src/yaml_exception.dart'; |
11 import 'src/yaml_node.dart'; | 9 import 'src/yaml_node.dart'; |
12 | 10 |
13 export 'src/style.dart'; | 11 export 'src/style.dart'; |
14 export 'src/utils.dart' show YamlWarningCallback, yamlWarningCallback; | 12 export 'src/utils.dart' show YamlWarningCallback, yamlWarningCallback; |
15 export 'src/yaml_document.dart'; | 13 export 'src/yaml_document.dart'; |
16 export 'src/yaml_exception.dart'; | 14 export 'src/yaml_exception.dart'; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 103 |
106 var documents = <YamlDocument>[]; | 104 var documents = <YamlDocument>[]; |
107 var document = loader.load(); | 105 var document = loader.load(); |
108 while (document != null) { | 106 while (document != null) { |
109 documents.add(document); | 107 documents.add(document); |
110 document = loader.load(); | 108 document = loader.load(); |
111 } | 109 } |
112 | 110 |
113 return documents; | 111 return documents; |
114 } | 112 } |
OLD | NEW |