| 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 _interceptors; | 5 library _interceptors; |
| 6 | 6 |
| 7 import 'dart:_js_embedded_names' show | 7 import 'dart:_js_embedded_names' show |
| 8 DISPATCH_PROPERTY_NAME, | 8 DISPATCH_PROPERTY_NAME, |
| 9 MAP_TYPE_TO_INTERCEPTOR; | 9 MAP_TYPE_TO_INTERCEPTOR; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 initNativeDispatch, | 24 initNativeDispatch, |
| 25 initNativeDispatchFlag, | 25 initNativeDispatchFlag, |
| 26 regExpGetNative, | 26 regExpGetNative, |
| 27 regExpCaptureCount, | 27 regExpCaptureCount, |
| 28 stringContainsUnchecked, | 28 stringContainsUnchecked, |
| 29 stringLastIndexOfUnchecked, | 29 stringLastIndexOfUnchecked, |
| 30 stringReplaceAllFuncUnchecked, | 30 stringReplaceAllFuncUnchecked, |
| 31 stringReplaceAllUnchecked, | 31 stringReplaceAllUnchecked, |
| 32 stringReplaceFirstUnchecked, | 32 stringReplaceFirstUnchecked, |
| 33 lookupAndCacheInterceptor, | 33 lookupAndCacheInterceptor, |
| 34 lookupDispatchRecord, | |
| 35 StringMatch, | 34 StringMatch, |
| 36 firstMatchAfter, | 35 firstMatchAfter, |
| 37 NoInline; | 36 NoInline; |
| 38 import 'dart:_foreign_helper' show | 37 import 'dart:_foreign_helper' show |
| 39 JS, | 38 JS, |
| 40 JS_EFFECT, | 39 JS_EFFECT, |
| 41 JS_EMBEDDED_GLOBAL, | 40 JS_EMBEDDED_GLOBAL, |
| 42 JS_INTERCEPTOR_CONSTANT, | 41 JS_INTERCEPTOR_CONSTANT, |
| 43 JS_STRING_CONCAT; | 42 JS_STRING_CONCAT; |
| 44 import 'dart:math' show Random; | 43 import 'dart:math' show Random; |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 * Interceptor for unclassified JavaScript objects, typically objects with a | 396 * Interceptor for unclassified JavaScript objects, typically objects with a |
| 398 * non-trivial prototype chain. | 397 * non-trivial prototype chain. |
| 399 * | 398 * |
| 400 * This class also serves as a fallback for unknown JavaScript exceptions. | 399 * This class also serves as a fallback for unknown JavaScript exceptions. |
| 401 */ | 400 */ |
| 402 class UnknownJavaScriptObject extends JavaScriptObject { | 401 class UnknownJavaScriptObject extends JavaScriptObject { |
| 403 const UnknownJavaScriptObject(); | 402 const UnknownJavaScriptObject(); |
| 404 | 403 |
| 405 String toString() => JS('String', 'String(#)', this); | 404 String toString() => JS('String', 'String(#)', this); |
| 406 } | 405 } |
| OLD | NEW |