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

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

Issue 10911143: Remove some exceptions from mock.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot file. 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 | « lib/compiler/implementation/lib/mock.dart ('k') | tests/co19/co19-dart2js.status » ('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 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 } 1720 }
1721 1721
1722 /** 1722 /**
1723 * Returns [:true:] if [type] should be regarded as an exception. 1723 * Returns [:true:] if [type] should be regarded as an exception.
1724 */ 1724 */
1725 bool isException(TypeMirror type) { 1725 bool isException(TypeMirror type) {
1726 return type.simpleName.endsWith('Exception'); 1726 return type.simpleName.endsWith('Exception');
1727 } 1727 }
1728 } 1728 }
1729 1729
1730 /**
1731 * Used to report an unexpected error in the DartDoc tool or the
1732 * underlying data
1733 */
1734 class InternalError {
1735 final String message;
1736 const InternalError(this.message);
1737 String toString() => "InternalError: '$message'";
1738 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/lib/mock.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698