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.style; | 5 library yaml.style; |
6 | 6 |
7 /// An enum of source scalar styles. | 7 /// An enum of source scalar styles. |
8 class ScalarStyle { | 8 class ScalarStyle { |
9 /// No source style was specified. | 9 /// No source style was specified. |
10 /// | 10 /// |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 /// | 64 /// |
65 /// See http://yaml.org/spec/1.2/spec.html#id2790088. | 65 /// See http://yaml.org/spec/1.2/spec.html#id2790088. |
66 static const FLOW = const CollectionStyle._("FLOW"); | 66 static const FLOW = const CollectionStyle._("FLOW"); |
67 | 67 |
68 final String name; | 68 final String name; |
69 | 69 |
70 const CollectionStyle._(this.name); | 70 const CollectionStyle._(this.name); |
71 | 71 |
72 String toString() => name; | 72 String toString() => name; |
73 } | 73 } |
OLD | NEW |