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

Unified Diff: utils/dartdoc/dartdoc.dart

Issue 8879004: Fix broken dartdoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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 | « no previous file | utils/markdown/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdoc/dartdoc.dart
diff --git a/utils/dartdoc/dartdoc.dart b/utils/dartdoc/dartdoc.dart
index 734df6a00028ac20284af4d91361e348bc9b873d..2eb9ec34b1440360d223604c0c554cd8bca18c16 100644
--- a/utils/dartdoc/dartdoc.dart
+++ b/utils/dartdoc/dartdoc.dart
@@ -33,6 +33,8 @@ final outdir = 'docs';
/** Set to `false` to not include the source code in the generated docs. */
bool includeSource = true;
+FileSystem files;
+
/** Special comment position used to store the library-level doc comment. */
final _libraryDoc = -1;
@@ -105,7 +107,7 @@ void main() {
document(entrypoint);
});
- printStats();
+ printStats(elapsed);
}
void initializeDartDoc() {
@@ -167,7 +169,7 @@ document(String entrypoint) {
}
}
-printStats() {
+printStats(num elapsed) {
print('Documented $_totalLibraries libraries, $_totalTypes types, and ' +
'$_totalMembers members in ${elapsed}msec.');
}
« no previous file with comments | « no previous file | utils/markdown/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698