| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 for creating mock versions of platform and internal libraries. | 5 // Library for creating mock versions of platform and internal libraries. |
| 6 | 6 |
| 7 library mock_libraries; | 7 library mock_libraries; |
| 8 | 8 |
| 9 String buildLibrarySource( | 9 String buildLibrarySource( |
| 10 Map<String, String> elementMap, | 10 Map<String, String> elementMap, |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 'isJsIndexable': 'isJsIndexable(a, b) {}', | 145 'isJsIndexable': 'isJsIndexable(a, b) {}', |
| 146 'JavaScriptIndexingBehavior': 'abstract class JavaScriptIndexingBehavior {}', | 146 'JavaScriptIndexingBehavior': 'abstract class JavaScriptIndexingBehavior {}', |
| 147 'JSInvocationMirror': 'class JSInvocationMirror {}', | 147 'JSInvocationMirror': 'class JSInvocationMirror {}', |
| 148 'listSuperNativeTypeCast': 'listSuperNativeTypeCast(value) {}', | 148 'listSuperNativeTypeCast': 'listSuperNativeTypeCast(value) {}', |
| 149 'listSuperNativeTypeCheck': 'listSuperNativeTypeCheck(value) {}', | 149 'listSuperNativeTypeCheck': 'listSuperNativeTypeCheck(value) {}', |
| 150 'listSuperTypeCast': 'listSuperTypeCast(value) {}', | 150 'listSuperTypeCast': 'listSuperTypeCast(value) {}', |
| 151 'listSuperTypeCheck': 'listSuperTypeCheck(value) {}', | 151 'listSuperTypeCheck': 'listSuperTypeCheck(value) {}', |
| 152 'listTypeCast': 'listTypeCast(value) {}', | 152 'listTypeCast': 'listTypeCast(value) {}', |
| 153 'listTypeCheck': 'listTypeCheck(value) {}', | 153 'listTypeCheck': 'listTypeCheck(value) {}', |
| 154 'makeLiteralMap': 'makeLiteralMap(List keyValuePairs) {}', | 154 'makeLiteralMap': 'makeLiteralMap(List keyValuePairs) {}', |
| 155 'Native': 'class Native {}', |
| 155 'NoInline': 'class NoInline {}', | 156 'NoInline': 'class NoInline {}', |
| 156 'NoSideEffects': 'class NoSideEffects {}', | 157 'NoSideEffects': 'class NoSideEffects {}', |
| 157 'NoThrows': 'class NoThrows {}', | 158 'NoThrows': 'class NoThrows {}', |
| 158 'numberOrStringSuperNativeTypeCast': | 159 'numberOrStringSuperNativeTypeCast': |
| 159 'numberOrStringSuperNativeTypeCast(value) {}', | 160 'numberOrStringSuperNativeTypeCast(value) {}', |
| 160 'numberOrStringSuperNativeTypeCheck': | 161 'numberOrStringSuperNativeTypeCheck': |
| 161 'numberOrStringSuperNativeTypeCheck(value) {}', | 162 'numberOrStringSuperNativeTypeCheck(value) {}', |
| 162 'numberOrStringSuperTypeCast': 'numberOrStringSuperTypeCast(value) {}', | 163 'numberOrStringSuperTypeCast': 'numberOrStringSuperTypeCast(value) {}', |
| 163 'numberOrStringSuperTypeCheck': 'numberOrStringSuperTypeCheck(value) {}', | 164 'numberOrStringSuperTypeCheck': 'numberOrStringSuperTypeCheck(value) {}', |
| 164 'numTypeCast': 'numTypeCast(value) {}', | 165 'numTypeCast': 'numTypeCast(value) {}', |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 '_callInIsolate': 'var _callInIsolate;', | 329 '_callInIsolate': 'var _callInIsolate;', |
| 329 '_WorkerBase': 'class _WorkerBase {}', | 330 '_WorkerBase': 'class _WorkerBase {}', |
| 330 }; | 331 }; |
| 331 | 332 |
| 332 const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{ | 333 const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{ |
| 333 'Comment': 'class Comment {}', | 334 'Comment': 'class Comment {}', |
| 334 'MirrorSystem': 'class MirrorSystem {}', | 335 'MirrorSystem': 'class MirrorSystem {}', |
| 335 'MirrorsUsed': 'class MirrorsUsed {}', | 336 'MirrorsUsed': 'class MirrorsUsed {}', |
| 336 }; | 337 }; |
| 337 | 338 |
| OLD | NEW |