OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import "dart:async"; |
| 6 import "dart:collection" show LinkedList, LinkedListEntry; |
| 7 import 'dart:convert' show ASCII, JSON; |
| 8 import "dart:isolate"; |
5 import "dart:math"; | 9 import "dart:math"; |
6 import "dart:typed_data"; | 10 import "dart:typed_data"; |
| 11 import 'dart:_internal' as internal; |
7 | 12 |
8 // Equivalent of calling FATAL from C++ code. | 13 // Equivalent of calling FATAL from C++ code. |
9 _fatal(msg) native "DartCore_fatal"; | 14 _fatal(msg) native "DartCore_fatal"; |
10 | 15 |
11 // The members of this class are cloned and added to each class that | 16 // The members of this class are cloned and added to each class that |
12 // represents an enum type. | 17 // represents an enum type. |
13 class _EnumHelper { | 18 class _EnumHelper { |
14 String _name; | 19 String _name; |
15 String toString() => _name; | 20 String toString() => _name; |
16 int get hashCode => _name.hashCode; | 21 int get hashCode => _name.hashCode; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 continue; | 76 continue; |
72 } | 77 } |
73 return true; | 78 return true; |
74 } | 79 } |
75 } | 80 } |
76 } | 81 } |
77 | 82 |
78 @patch class StackTrace { | 83 @patch class StackTrace { |
79 @patch static StackTrace get current native "StackTrace_current"; | 84 @patch static StackTrace get current native "StackTrace_current"; |
80 } | 85 } |
OLD | NEW |