OLD | NEW |
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 dart.core; |
6 | 6 |
7 // TODO: Convert this abstract class into a concrete class double | 7 // TODO: Convert this abstract class into a concrete class double |
8 // that uses the patch class functionality to account for the | 8 // that uses the patch class functionality to account for the |
9 // different platform implementations. | 9 // different platform implementations. |
10 | 10 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 * | 194 * |
195 * "3.14" | 195 * "3.14" |
196 * " 3.14 \xA0" | 196 * " 3.14 \xA0" |
197 * "0." | 197 * "0." |
198 * ".0" | 198 * ".0" |
199 * "-1.e3" | 199 * "-1.e3" |
200 * "1234E+7" | 200 * "1234E+7" |
201 * "+.12e-9" | 201 * "+.12e-9" |
202 * "-NaN" | 202 * "-NaN" |
203 */ | 203 */ |
204 external static double parse(String source, | 204 external static double parse(String source, [double onError(String source)]); |
205 [double onError(String source)]); | |
206 } | 205 } |
OLD | NEW |