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

Unified Diff: pkg/docgen/lib/dottedLibraryName.dart

Issue 47603014: Further fixes for including package information in docs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Commenting out an unused failing test Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/docgen/lib/docgen.dart ('k') | pkg/docgen/test/single_library_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/dottedLibraryName.dart
diff --git a/pkg/docgen/lib/dottedLibraryName.dart b/pkg/docgen/lib/dottedLibraryName.dart
new file mode 100644
index 0000000000000000000000000000000000000000..97e08c1fa5b466edba56f9fe9492d9ad34f95478
--- /dev/null
+++ b/pkg/docgen/lib/dottedLibraryName.dart
@@ -0,0 +1,34 @@
+library library.name.wiith.dots.init;
+
+/// This library is purely for testing purposes, to ensure
+/// that we have a library that has dots in its name and
+/// that it works properly
+///
+/// In addition, it's nice to have something which has paragraph
+/// breaks inside a triple-slash doc comment.
+///
+/// Like this.
+
+/// This is a top level field holding the number three;
+int topLevelInt = 3;
+
+/// This is a class with various ways of getting the number three.
+///
+/// It also has a comment with paragraph breaks.
+class SomeClass {
+ /// This is a method that returns the number three. See
+ /// [three]
+ someMethod() => 3;
+
+ /// This is a symbolic representation of the number three.
+ int three = 3;
+}
+
+/// This is another class.
+class AnotherClass {
+ /// This method returns [List<int>] containing the number
+ /// three three times. Compare with [SomeClass.someMethod].
+ List<int> anotherMethod() {
+ return const [3, 3, 3];
+ }
+}
« no previous file with comments | « pkg/docgen/lib/docgen.dart ('k') | pkg/docgen/test/single_library_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698