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

Unified Diff: utils/pub/yaml/lib/yaml.dart

Issue 11622011: Restructure YAML package suitable for pub lish (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/pub/yaml/lib/visitor.dart ('k') | utils/pub/yaml/lib/yaml_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/lib/yaml.dart
diff --git a/utils/pub/yaml/yaml.dart b/utils/pub/yaml/lib/yaml.dart
similarity index 84%
rename from utils/pub/yaml/yaml.dart
rename to utils/pub/yaml/lib/yaml.dart
index 3918743f508fd38d34d9140d0000e7cb7837971a..c8a39cc30d07383c10019b275f83bc75414338cc 100644
--- a/utils/pub/yaml/yaml.dart
+++ b/utils/pub/yaml/lib/yaml.dart
@@ -2,6 +2,18 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+/**
+ * A parser for [YAML](http://www.yaml.org/).
+ *
+ * Use [loadYaml] to load a single document, or [loadYamlStream] to load a
+ * stream of documents. For example:
+ *
+ * import 'package:yaml/yaml.dart';
+ * main() {
+ * var doc = loadYaml("YAML: YAML Ain't Markup Language");
+ * print(doc['YAML']);
+ * }
+ */
nweiz 2012/12/18 18:45:17 It would be good to mention that this library curr
Jennifer Messerly 2012/12/18 18:59:31 Sure.
nweiz 2012/12/18 19:02:53 Our policy in pub, which I think makes sense for t
library yaml;
import 'dart:math' as Math;
« no previous file with comments | « utils/pub/yaml/lib/visitor.dart ('k') | utils/pub/yaml/lib/yaml_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698