| 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.yaml_node; | |
| 6 | |
| 7 import 'dart:collection' as collection; | 5 import 'dart:collection' as collection; |
| 8 | 6 |
| 9 import 'package:collection/collection.dart'; | 7 import 'package:collection/collection.dart'; |
| 10 import 'package:source_span/source_span.dart'; | 8 import 'package:source_span/source_span.dart'; |
| 11 | 9 |
| 12 import 'event.dart'; | 10 import 'event.dart'; |
| 13 import 'null_span.dart'; | 11 import 'null_span.dart'; |
| 14 import 'style.dart'; | 12 import 'style.dart'; |
| 15 import 'yaml_node_wrapper.dart'; | 13 import 'yaml_node_wrapper.dart'; |
| 16 | 14 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 175 |
| 178 String toString() => value.toString(); | 176 String toString() => value.toString(); |
| 179 } | 177 } |
| 180 | 178 |
| 181 /// Sets the source span of a [YamlNode]. | 179 /// Sets the source span of a [YamlNode]. |
| 182 /// | 180 /// |
| 183 /// This method is not exposed publicly. | 181 /// This method is not exposed publicly. |
| 184 void setSpan(YamlNode node, SourceSpan span) { | 182 void setSpan(YamlNode node, SourceSpan span) { |
| 185 node._span = span; | 183 node._span = span; |
| 186 } | 184 } |
| OLD | NEW |