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 'shared/embedded_names.dart' show | 7 import 'shared/embedded_names.dart' show |
8 DISPATCH_PROPERTY_NAME; | 8 DISPATCH_PROPERTY_NAME; |
9 | 9 |
10 import 'dart:collection'; | 10 import 'dart:collection'; |
11 import 'dart:_internal' hide Symbol; | 11 import 'dart:_internal' hide Symbol; |
12 import "dart:_internal" as _symbol_dev show Symbol; | 12 import "dart:_internal" as _symbol_dev show Symbol; |
13 import 'dart:_js_helper' show allMatchesInStringUnchecked, | 13 import 'dart:_js_helper' show allMatchesInStringUnchecked, |
14 Null, | 14 Null, |
15 JSSyntaxRegExp, | 15 JSSyntaxRegExp, |
16 Primitives, | 16 Primitives, |
17 checkInt, | 17 checkInt, |
18 checkNull, | 18 checkNull, |
19 checkNum, | 19 checkNum, |
20 checkString, | 20 checkString, |
21 defineProperty, | 21 defineProperty, |
22 getRuntimeType, | 22 getRuntimeType, |
23 initNativeDispatch, | 23 initNativeDispatch, |
24 initNativeDispatchFlag, | 24 initNativeDispatchFlag, |
25 regExpGetNative, | 25 regExpGetNative, |
| 26 regExpCaptureCount, |
26 stringContainsUnchecked, | 27 stringContainsUnchecked, |
27 stringLastIndexOfUnchecked, | 28 stringLastIndexOfUnchecked, |
28 stringReplaceAllFuncUnchecked, | 29 stringReplaceAllFuncUnchecked, |
29 stringReplaceAllUnchecked, | 30 stringReplaceAllUnchecked, |
30 stringReplaceFirstUnchecked, | 31 stringReplaceFirstUnchecked, |
31 lookupAndCacheInterceptor, | 32 lookupAndCacheInterceptor, |
32 lookupDispatchRecord, | 33 lookupDispatchRecord, |
33 StringMatch, | 34 StringMatch, |
34 firstMatchAfter, | 35 firstMatchAfter, |
35 NoInline; | 36 NoInline; |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 * Interceptor for unclassified JavaScript objects, typically objects with a | 403 * Interceptor for unclassified JavaScript objects, typically objects with a |
403 * non-trivial prototype chain. | 404 * non-trivial prototype chain. |
404 * | 405 * |
405 * This class also serves as a fallback for unknown JavaScript exceptions. | 406 * This class also serves as a fallback for unknown JavaScript exceptions. |
406 */ | 407 */ |
407 class UnknownJavaScriptObject extends JavaScriptObject { | 408 class UnknownJavaScriptObject extends JavaScriptObject { |
408 const UnknownJavaScriptObject(); | 409 const UnknownJavaScriptObject(); |
409 | 410 |
410 String toString() => JS('String', 'String(#)', this); | 411 String toString() => JS('String', 'String(#)', this); |
411 } | 412 } |
OLD | NEW |