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 16 matching lines...) Expand all Loading... |
27 regExpGetNative, | 27 regExpGetNative, |
28 regExpCaptureCount, | 28 regExpCaptureCount, |
29 stringContainsUnchecked, | 29 stringContainsUnchecked, |
30 stringIndexOfStringUnchecked, | 30 stringIndexOfStringUnchecked, |
31 stringLastIndexOfUnchecked, | 31 stringLastIndexOfUnchecked, |
32 stringReplaceAllFuncUnchecked, | 32 stringReplaceAllFuncUnchecked, |
33 stringReplaceAllUnchecked, | 33 stringReplaceAllUnchecked, |
34 stringReplaceFirstUnchecked, | 34 stringReplaceFirstUnchecked, |
35 stringReplaceFirstMappedUnchecked, | 35 stringReplaceFirstMappedUnchecked, |
36 stringReplaceRangeUnchecked, | 36 stringReplaceRangeUnchecked, |
| 37 throwConcurrentModificationError, |
37 lookupAndCacheInterceptor, | 38 lookupAndCacheInterceptor, |
38 StringMatch, | 39 StringMatch, |
39 firstMatchAfter, | 40 firstMatchAfter, |
40 NoInline; | 41 NoInline; |
41 import 'dart:_foreign_helper' show | 42 import 'dart:_foreign_helper' show |
42 JS, | 43 JS, |
43 JS_EFFECT, | 44 JS_EFFECT, |
44 JS_EMBEDDED_GLOBAL, | 45 JS_EMBEDDED_GLOBAL, |
45 JS_INTERCEPTOR_CONSTANT, | 46 JS_INTERCEPTOR_CONSTANT, |
46 JS_STRING_CONCAT; | 47 JS_STRING_CONCAT; |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 * Interceptor for unclassified JavaScript objects, typically objects with a | 416 * Interceptor for unclassified JavaScript objects, typically objects with a |
416 * non-trivial prototype chain. | 417 * non-trivial prototype chain. |
417 * | 418 * |
418 * This class also serves as a fallback for unknown JavaScript exceptions. | 419 * This class also serves as a fallback for unknown JavaScript exceptions. |
419 */ | 420 */ |
420 class UnknownJavaScriptObject extends JavaScriptObject { | 421 class UnknownJavaScriptObject extends JavaScriptObject { |
421 const UnknownJavaScriptObject(); | 422 const UnknownJavaScriptObject(); |
422 | 423 |
423 String toString() => JS('String', 'String(#)', this); | 424 String toString() => JS('String', 'String(#)', this); |
424 } | 425 } |
OLD | NEW |