| 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 TYPE_TO_INTERCEPTOR_MAP; | 9 TYPE_TO_INTERCEPTOR_MAP; |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 getRuntimeType, | 23 getRuntimeType, |
| 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 stringReplaceFirstMappedUnchecked, |
| 33 lookupAndCacheInterceptor, | 34 lookupAndCacheInterceptor, |
| 34 lookupDispatchRecord, | 35 lookupDispatchRecord, |
| 35 StringMatch, | 36 StringMatch, |
| 36 firstMatchAfter, | 37 firstMatchAfter, |
| 37 NoInline; | 38 NoInline; |
| 38 import 'dart:_foreign_helper' show | 39 import 'dart:_foreign_helper' show |
| 39 JS, | 40 JS, |
| 40 JS_EFFECT, | 41 JS_EFFECT, |
| 41 JS_EMBEDDED_GLOBAL, | 42 JS_EMBEDDED_GLOBAL, |
| 42 JS_INTERCEPTOR_CONSTANT, | 43 JS_INTERCEPTOR_CONSTANT, |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 * Interceptor for unclassified JavaScript objects, typically objects with a | 398 * Interceptor for unclassified JavaScript objects, typically objects with a |
| 398 * non-trivial prototype chain. | 399 * non-trivial prototype chain. |
| 399 * | 400 * |
| 400 * This class also serves as a fallback for unknown JavaScript exceptions. | 401 * This class also serves as a fallback for unknown JavaScript exceptions. |
| 401 */ | 402 */ |
| 402 class UnknownJavaScriptObject extends JavaScriptObject { | 403 class UnknownJavaScriptObject extends JavaScriptObject { |
| 403 const UnknownJavaScriptObject(); | 404 const UnknownJavaScriptObject(); |
| 404 | 405 |
| 405 String toString() => JS('String', 'String(#)', this); | 406 String toString() => JS('String', 'String(#)', this); |
| 406 } | 407 } |
| OLD | NEW |