| 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 |
| 11 import 'dart:collection'; | 11 import 'dart:collection'; |
| 12 import 'dart:_internal' hide Symbol; | 12 import 'dart:_internal' hide Symbol; |
| 13 import "dart:_internal" as _symbol_dev show Symbol; | 13 import "dart:_internal" as _symbol_dev show Symbol; |
| 14 import 'dart:_js_helper' show allMatchesInStringUnchecked, | 14 import 'dart:_js_helper' show allMatchesInStringUnchecked, |
| 15 Null, | 15 Null, |
| 16 JSSyntaxRegExp, | 16 JSSyntaxRegExp, |
| 17 Primitives, | 17 Primitives, |
| 18 argumentErrorValue, |
| 18 checkInt, | 19 checkInt, |
| 19 checkNull, | 20 checkNull, |
| 20 checkNum, | 21 checkNum, |
| 21 checkString, | 22 checkString, |
| 22 defineProperty, | 23 defineProperty, |
| 23 diagnoseIndexError, | 24 diagnoseIndexError, |
| 24 getRuntimeType, | 25 getRuntimeType, |
| 25 initNativeDispatch, | 26 initNativeDispatch, |
| 26 initNativeDispatchFlag, | 27 initNativeDispatchFlag, |
| 27 regExpGetNative, | 28 regExpGetNative, |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 * Interceptor for unclassified JavaScript objects, typically objects with a | 402 * Interceptor for unclassified JavaScript objects, typically objects with a |
| 402 * non-trivial prototype chain. | 403 * non-trivial prototype chain. |
| 403 * | 404 * |
| 404 * This class also serves as a fallback for unknown JavaScript exceptions. | 405 * This class also serves as a fallback for unknown JavaScript exceptions. |
| 405 */ | 406 */ |
| 406 class UnknownJavaScriptObject extends JavaScriptObject { | 407 class UnknownJavaScriptObject extends JavaScriptObject { |
| 407 const UnknownJavaScriptObject(); | 408 const UnknownJavaScriptObject(); |
| 408 | 409 |
| 409 String toString() => JS('String', 'String(#)', this); | 410 String toString() => JS('String', 'String(#)', this); |
| 410 } | 411 } |
| OLD | NEW |