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

Side by Side Diff: sdk/lib/core/num.dart

Issue 2973823002: Revert "Remaining private libs" (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « sdk/lib/core/null.dart ('k') | sdk/lib/core/object.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 part of "dart:core"; 5 part of "core.dart";
6 6
7 /** 7 /**
8 * An integer or floating-point number. 8 * An integer or floating-point number.
9 * 9 *
10 * It is a compile-time error for any type other than [int] or [double] 10 * It is a compile-time error for any type other than [int] or [double]
11 * to attempt to extend or implement num. 11 * to attempt to extend or implement num.
12 */ 12 */
13 abstract class num implements Comparable<num> { 13 abstract class num implements Comparable<num> {
14 /** 14 /**
15 * Test whether this value is numerically equal to `other`. 15 * Test whether this value is numerically equal to `other`.
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 result = double.parse(source, _returnDoubleNull); 471 result = double.parse(source, _returnDoubleNull);
472 if (result != null) return result; 472 if (result != null) return result;
473 if (onError == null) throw new FormatException(input); 473 if (onError == null) throw new FormatException(input);
474 return onError(input); 474 return onError(input);
475 } 475 }
476 476
477 /** Helper functions for [parse]. */ 477 /** Helper functions for [parse]. */
478 static int _returnIntNull(String _) => null; 478 static int _returnIntNull(String _) => null;
479 static double _returnDoubleNull(String _) => null; 479 static double _returnDoubleNull(String _) => null;
480 } 480 }
OLDNEW
« no previous file with comments | « sdk/lib/core/null.dart ('k') | sdk/lib/core/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698