Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/interceptors.dart

Issue 1181003005: Use ArgumentError.value in more places in js_lib. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/core_patch.dart ('k') | sdk/lib/_internal/compiler/js_lib/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698