| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 'JSInvocationMirror': 'class JSInvocationMirror {}', | 172 'JSInvocationMirror': 'class JSInvocationMirror {}', |
| 173 'listSuperNativeTypeCast': 'listSuperNativeTypeCast(value) {}', | 173 'listSuperNativeTypeCast': 'listSuperNativeTypeCast(value) {}', |
| 174 'listSuperNativeTypeCheck': 'listSuperNativeTypeCheck(value) {}', | 174 'listSuperNativeTypeCheck': 'listSuperNativeTypeCheck(value) {}', |
| 175 'listSuperTypeCast': 'listSuperTypeCast(value) {}', | 175 'listSuperTypeCast': 'listSuperTypeCast(value) {}', |
| 176 'listSuperTypeCheck': 'listSuperTypeCheck(value) {}', | 176 'listSuperTypeCheck': 'listSuperTypeCheck(value) {}', |
| 177 'listTypeCast': 'listTypeCast(value) {}', | 177 'listTypeCast': 'listTypeCast(value) {}', |
| 178 'listTypeCheck': 'listTypeCheck(value) {}', | 178 'listTypeCheck': 'listTypeCheck(value) {}', |
| 179 'makeLiteralMap': 'makeLiteralMap(List keyValuePairs) {}', | 179 'makeLiteralMap': 'makeLiteralMap(List keyValuePairs) {}', |
| 180 'Native': 'class Native {}', | 180 'Native': 'class Native {}', |
| 181 'NoInline': 'class NoInline {}', | 181 'NoInline': 'class NoInline {}', |
| 182 'ForceInline': 'class ForceInline {}', |
| 182 'NoSideEffects': 'class NoSideEffects {}', | 183 'NoSideEffects': 'class NoSideEffects {}', |
| 183 'NoThrows': 'class NoThrows {}', | 184 'NoThrows': 'class NoThrows {}', |
| 184 'numberOrStringSuperNativeTypeCast': | 185 'numberOrStringSuperNativeTypeCast': |
| 185 'numberOrStringSuperNativeTypeCast(value) {}', | 186 'numberOrStringSuperNativeTypeCast(value) {}', |
| 186 'numberOrStringSuperNativeTypeCheck': | 187 'numberOrStringSuperNativeTypeCheck': |
| 187 'numberOrStringSuperNativeTypeCheck(value) {}', | 188 'numberOrStringSuperNativeTypeCheck(value) {}', |
| 188 'numberOrStringSuperTypeCast': 'numberOrStringSuperTypeCast(value) {}', | 189 'numberOrStringSuperTypeCast': 'numberOrStringSuperTypeCast(value) {}', |
| 189 'numberOrStringSuperTypeCheck': 'numberOrStringSuperTypeCheck(value) {}', | 190 'numberOrStringSuperTypeCheck': 'numberOrStringSuperTypeCheck(value) {}', |
| 190 'numTypeCast': 'numTypeCast(value) {}', | 191 'numTypeCast': 'numTypeCast(value) {}', |
| 191 'numTypeCheck': 'numTypeCheck(value) {}', | 192 'numTypeCheck': 'numTypeCheck(value) {}', |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 'Stream': 'class Stream<T> {}', | 375 'Stream': 'class Stream<T> {}', |
| 375 'Completer': 'class Completer<T> {}', | 376 'Completer': 'class Completer<T> {}', |
| 376 'StreamIterator': 'class StreamIterator<T> {}', | 377 'StreamIterator': 'class StreamIterator<T> {}', |
| 377 }; | 378 }; |
| 378 | 379 |
| 379 const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{ | 380 const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{ |
| 380 'Comment': 'class Comment {}', | 381 'Comment': 'class Comment {}', |
| 381 'MirrorSystem': 'class MirrorSystem {}', | 382 'MirrorSystem': 'class MirrorSystem {}', |
| 382 'MirrorsUsed': 'class MirrorsUsed {}', | 383 'MirrorsUsed': 'class MirrorsUsed {}', |
| 383 }; | 384 }; |
| OLD | NEW |