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