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

Side by Side Diff: pkg/dartdoc/lib/dartdoc.dart

Issue 10938010: Switch from interfaces to abstract classes in dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Add test binaries. Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/chunked_stream.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * To generate docs for a library, run this script with the path to an 6 * To generate docs for a library, run this script with the path to an
7 * entrypoint .dart file, like: 7 * entrypoint .dart file, like:
8 * 8 *
9 * $ dart dartdoc.dart foo.dart 9 * $ dart dartdoc.dart foo.dart
10 * 10 *
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 /** 149 /**
150 * Generates the App Cache manifest file, enabling offline doc viewing. 150 * Generates the App Cache manifest file, enabling offline doc viewing.
151 */ 151 */
152 bool generateAppCache = false; 152 bool generateAppCache = false;
153 153
154 /** Path to the dartdoc directory. */ 154 /** Path to the dartdoc directory. */
155 Path dartdocPath; 155 Path dartdocPath;
156 156
157 /** Path to generate HTML files into. */ 157 /** Path to generate HTML files into. */
158 Path outputDir = const Path('docs'); 158 Path outputDir = new Path('docs');
159 159
160 /** 160 /**
161 * The title used for the overall generated output. Set this to change it. 161 * The title used for the overall generated output. Set this to change it.
162 */ 162 */
163 String mainTitle = 'Dart Documentation'; 163 String mainTitle = 'Dart Documentation';
164 164
165 /** 165 /**
166 * The URL that the Dart logo links to. Defaults "index.html", the main 166 * The URL that the Dart logo links to. Defaults "index.html", the main
167 * page for the generated docs, but can be anything. 167 * page for the generated docs, but can be anything.
168 */ 168 */
(...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 1567
1568 /** 1568 /**
1569 * Used to report an unexpected error in the DartDoc tool or the 1569 * Used to report an unexpected error in the DartDoc tool or the
1570 * underlying data 1570 * underlying data
1571 */ 1571 */
1572 class InternalError { 1572 class InternalError {
1573 final String message; 1573 final String message;
1574 const InternalError(this.message); 1574 const InternalError(this.message);
1575 String toString() => "InternalError: '$message'"; 1575 String toString() => "InternalError: '$message'";
1576 } 1576 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/chunked_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698