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('core'); | 5 #library('core'); |
6 | 6 |
7 #import('coreimpl.dart'); | 7 #import('coreimpl.dart'); |
8 | 8 |
9 #import('js_helper.dart'); // TODO(ahe): remove this import. | 9 #import('js_helper.dart'); // TODO(ahe): remove this import. |
10 | 10 |
11 #source('../../../corelib/src/bool.dart'); | 11 #source('../../../corelib/src/bool.dart'); |
12 #source('../../../corelib/src/collection.dart'); | 12 #source('../../../corelib/src/collection.dart'); |
13 #source('../../../corelib/src/comparable.dart'); | 13 #source('../../../corelib/src/comparable.dart'); |
14 #source('../../../corelib/src/date.dart'); | 14 #source('../../../corelib/src/date.dart'); |
15 #source('../../../corelib/src/double.dart'); | 15 #source('../../../corelib/src/double.dart'); |
16 #source('../../../corelib/src/duration.dart'); | 16 #source('../../../corelib/src/duration.dart'); |
17 #source('../../../corelib/src/exceptions.dart'); | 17 #source('../../../corelib/src/exceptions.dart'); |
18 #source('../../../corelib/src/expect.dart'); | 18 #source('../../../corelib/src/expect.dart'); |
19 #source('../../../corelib/src/function.dart'); | 19 #source('../../../corelib/src/function.dart'); |
20 #source('../../../corelib/src/future.dart'); | 20 #source('../../../corelib/src/future.dart'); |
21 #source('../../../corelib/src/hashable.dart'); | 21 #source('../../../corelib/src/hashable.dart'); |
22 #source('../../../corelib/src/int.dart'); | 22 #source('../../../corelib/src/int.dart'); |
23 #source('../../../corelib/src/isolate.dart'); | |
24 #source('../../../corelib/src/iterable.dart'); | 23 #source('../../../corelib/src/iterable.dart'); |
25 #source('../../../corelib/src/iterator.dart'); | 24 #source('../../../corelib/src/iterator.dart'); |
26 #source('../../../corelib/src/list.dart'); | 25 #source('../../../corelib/src/list.dart'); |
27 #source('../../../corelib/src/map.dart'); | 26 #source('../../../corelib/src/map.dart'); |
28 #source('../../../corelib/src/math.dart'); | 27 #source('../../../corelib/src/math.dart'); |
29 #source('../../../corelib/src/num.dart'); | 28 #source('../../../corelib/src/num.dart'); |
30 #source('../../../corelib/src/options.dart'); | 29 #source('../../../corelib/src/options.dart'); |
31 #source('../../../corelib/src/pattern.dart'); | 30 #source('../../../corelib/src/pattern.dart'); |
32 #source('../../../corelib/src/queue.dart'); | 31 #source('../../../corelib/src/queue.dart'); |
33 #source('../../../corelib/src/regexp.dart'); | 32 #source('../../../corelib/src/regexp.dart'); |
34 #source('../../../corelib/src/set.dart'); | 33 #source('../../../corelib/src/set.dart'); |
35 #source('../../../corelib/src/stopwatch.dart'); | 34 #source('../../../corelib/src/stopwatch.dart'); |
36 #source('../../../corelib/src/string.dart'); | 35 #source('../../../corelib/src/string.dart'); |
37 #source('../../../corelib/src/string_buffer.dart'); | 36 #source('../../../corelib/src/string_buffer.dart'); |
38 #source('../../../corelib/src/strings.dart'); | 37 #source('../../../corelib/src/strings.dart'); |
39 #source('../../../corelib/src/time_zone.dart'); | 38 #source('../../../corelib/src/time_zone.dart'); |
40 #source('mock.dart'); | 39 #source('mock.dart'); |
41 #source('clock.dart'); | 40 #source('clock.dart'); |
42 | 41 |
43 void print(var obj) => Primitives.printString(obj.toString()); | 42 void print(var obj) => Primitives.printString(obj.toString()); |
44 | 43 |
45 class Object { | 44 class Object { |
46 String toString() => Primitives.objectToString(this); | 45 String toString() => Primitives.objectToString(this); |
47 | 46 |
48 void noSuchMethod(String name, List args) { | 47 void noSuchMethod(String name, List args) { |
49 throw new NoSuchMethodException(this, name, args); | 48 throw new NoSuchMethodException(this, name, args); |
50 } | 49 } |
51 } | 50 } |
OLD | NEW |