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.event; | 5 library yaml.event; |
6 | 6 |
7 import 'package:source_span/source_span.dart'; | 7 import 'package:source_span/source_span.dart'; |
8 | 8 |
9 import 'style.dart'; | 9 import 'style.dart'; |
10 import 'yaml_document.dart'; | 10 import 'yaml_document.dart'; |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 static const MAPPING_START = const EventType._("MAPPING_START"); | 149 static const MAPPING_START = const EventType._("MAPPING_START"); |
150 static const MAPPING_END = const EventType._("MAPPING_END"); | 150 static const MAPPING_END = const EventType._("MAPPING_END"); |
151 | 151 |
152 final String name; | 152 final String name; |
153 | 153 |
154 const EventType._(this.name); | 154 const EventType._(this.name); |
155 | 155 |
156 String toString() => name; | 156 String toString() => name; |
157 } | 157 } |
OLD | NEW |