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 library dart._internal; | 5 library dart._internal; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'dart:core' hide Symbol; | 9 import 'dart:core' hide Symbol; |
10 import 'dart:core' as core; | 10 import 'dart:core' as core; |
11 import 'dart:math' show Random; | 11 import 'dart:math' show Random; |
12 | 12 |
13 part 'iterable.dart'; | 13 part 'iterable.dart'; |
14 part 'list.dart'; | 14 part 'list.dart'; |
15 part 'lists.dart'; | |
16 part 'print.dart'; | 15 part 'print.dart'; |
17 part 'sort.dart'; | 16 part 'sort.dart'; |
18 part 'symbol.dart'; | 17 part 'symbol.dart'; |
19 | 18 |
20 // Powers of 10 up to 10^22 are representable as doubles. | 19 // Powers of 10 up to 10^22 are representable as doubles. |
21 // Powers of 10 above that are only approximate due to lack of precission. | 20 // Powers of 10 above that are only approximate due to lack of precission. |
22 // Used by double-parsing. | 21 // Used by double-parsing. |
23 const POWERS_OF_TEN = const [ | 22 const POWERS_OF_TEN = const [ |
24 1.0, /* 0 */ | 23 1.0, /* 0 */ |
25 10.0, | 24 10.0, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 61 } |
63 | 62 |
64 /// Marks a function as an external implementation ("native" in the Dart VM). | 63 /// Marks a function as an external implementation ("native" in the Dart VM). |
65 /// | 64 /// |
66 /// Provides a backend-specific String that can be used to identify the | 65 /// Provides a backend-specific String that can be used to identify the |
67 /// function's implementation. | 66 /// function's implementation. |
68 class ExternalName { | 67 class ExternalName { |
69 final String name; | 68 final String name; |
70 const ExternalName(this.name); | 69 const ExternalName(this.name); |
71 } | 70 } |
OLD | NEW |