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

Unified Diff: pkg/docgen/lib/src/models/model_helpers.dart

Issue 245673002: pkg/docgen: a bunch of cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 years, 8 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/src/models/method.dart ('k') | pkg/docgen/test/multi_library_code/lib/root_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/src/models/model_helpers.dart
diff --git a/pkg/docgen/lib/src/models/model_helpers.dart b/pkg/docgen/lib/src/models/model_helpers.dart
index 76fea851d2c6e309756fd952a382631ac5335226..9f683d05792e76cebaf1ef499cbbaf401548a316 100644
--- a/pkg/docgen/lib/src/models/model_helpers.dart
+++ b/pkg/docgen/lib/src/models/model_helpers.dart
@@ -22,6 +22,9 @@ import 'method.dart';
import 'parameter.dart';
import 'variable.dart';
+String getLibraryDocName(LibraryMirror mirror) =>
+ dart2js_util.qualifiedNameOf(mirror).replaceAll('.', '-');
+
/// Expand the method map [mapToExpand] into a more detailed map that
/// separates out setters, getters, constructors, operators, and methods.
Map expandMethodMap(Map<String, Method> mapToExpand) => {
« no previous file with comments | « pkg/docgen/lib/src/models/method.dart ('k') | pkg/docgen/test/multi_library_code/lib/root_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698