Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: packages/yaml/lib/src/style.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « packages/yaml/lib/src/scanner.dart ('k') | packages/yaml/lib/src/token.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
6
7 /// An enum of source scalar styles. 5 /// An enum of source scalar styles.
8 class ScalarStyle { 6 class ScalarStyle {
9 /// No source style was specified. 7 /// No source style was specified.
10 /// 8 ///
11 /// This usually indicates a scalar constructed with [YamlScalar.wrap]. 9 /// This usually indicates a scalar constructed with [YamlScalar.wrap].
12 static const ANY = const ScalarStyle._("ANY"); 10 static const ANY = const ScalarStyle._("ANY");
13 11
14 /// The plain scalar style, unquoted and without a prefix. 12 /// The plain scalar style, unquoted and without a prefix.
15 /// 13 ///
16 /// See http://yaml.org/spec/1.2/spec.html#style/flow/plain. 14 /// See http://yaml.org/spec/1.2/spec.html#style/flow/plain.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 /// 62 ///
65 /// See http://yaml.org/spec/1.2/spec.html#id2790088. 63 /// See http://yaml.org/spec/1.2/spec.html#id2790088.
66 static const FLOW = const CollectionStyle._("FLOW"); 64 static const FLOW = const CollectionStyle._("FLOW");
67 65
68 final String name; 66 final String name;
69 67
70 const CollectionStyle._(this.name); 68 const CollectionStyle._(this.name);
71 69
72 String toString() => name; 70 String toString() => name;
73 } 71 }
OLDNEW
« no previous file with comments | « packages/yaml/lib/src/scanner.dart ('k') | packages/yaml/lib/src/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698