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

Unified Diff: test/dart_codegen/expect/core/num.dart

Issue 1148283010: Remove dart backend (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 | « test/dart_codegen/expect/core/null.dart ('k') | test/dart_codegen/expect/core/object.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/num.dart
diff --git a/test/dart_codegen/expect/core/num.dart b/test/dart_codegen/expect/core/num.dart
deleted file mode 100644
index 9075971118e8916e257fc4f180ffb6e6a087db16..0000000000000000000000000000000000000000
--- a/test/dart_codegen/expect/core/num.dart
+++ /dev/null
@@ -1,58 +0,0 @@
-part of dart.core;
- abstract class num implements Comparable<num> {bool operator ==(Object other);
- int get hashCode;
- int compareTo(num other);
- num operator +(num other);
- num operator -(num other);
- num operator *(num other);
- num operator %(num other);
- double operator /(num other);
- int operator ~/(num other);
- num operator -();
- num remainder(num other);
- bool operator <(num other);
- bool operator <=(num other);
- bool operator >(num other);
- bool operator >=(num other);
- bool get isNaN;
- bool get isNegative;
- bool get isInfinite;
- bool get isFinite;
- num abs();
- num get sign;
- int round();
- int floor();
- int ceil();
- int truncate();
- double roundToDouble();
- double floorToDouble();
- double ceilToDouble();
- double truncateToDouble();
- num clamp(num lowerLimit, num upperLimit);
- int toInt();
- double toDouble();
- String toStringAsFixed(int fractionDigits);
- String toStringAsExponential([int fractionDigits]);
- String toStringAsPrecision(int precision);
- String toString();
- static num parse(String input, [num onError(String input)]) {
- String source = input.trim();
- _parseError = false;
- num result = int.parse(source, onError: _onParseErrorInt);
- if (!_parseError) return result;
- _parseError = false;
- result = double.parse(source, _onParseErrorDouble);
- if (!_parseError) return result;
- if (onError == null) throw new FormatException(input);
- return onError(input);
- }
- static bool _parseError = false;
- static int _onParseErrorInt(String _) {
- _parseError = true;
- return 0;
- }
- static double _onParseErrorDouble(String _) {
- _parseError = true;
- return 0.0;
- }
-}
« no previous file with comments | « test/dart_codegen/expect/core/null.dart ('k') | test/dart_codegen/expect/core/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698