| 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:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:collection-dev'; | 8 import 'dart:collection-dev'; |
| 9 import 'dart:_js_helper' show allMatchesInStringUnchecked, | 9 import 'dart:_js_helper' show allMatchesInStringUnchecked, |
| 10 Null, | 10 Null, |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 /** | 79 /** |
| 80 * The interceptor class for [Null]. | 80 * The interceptor class for [Null]. |
| 81 */ | 81 */ |
| 82 class JSNull implements Null { | 82 class JSNull implements Null { |
| 83 const JSNull(); | 83 const JSNull(); |
| 84 | 84 |
| 85 // Note: if you change this, also change the function [S]. | 85 // Note: if you change this, also change the function [S]. |
| 86 String toString() => 'null'; | 86 String toString() => 'null'; |
| 87 | 87 |
| 88 int get hashCode => 0; | 88 int get hashCode => 0; |
| 89 Type get runtimeType => createRuntimeType('Null'); | 89 Type get runtimeType => Null; |
| 90 } | 90 } |
| OLD | NEW |