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