| 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 part of _interceptors; | 5 part of _interceptors; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The super interceptor class for [JSInt] and [JSDouble]. The compiler | 8 * The super interceptor class for [JSInt] and [JSDouble]. The compiler |
| 9 * recognizes this class as an interceptor, and changes references to | 9 * recognizes this class as an interceptor, and changes references to |
| 10 * [:this:] to actually use the receiver of the method, which is | 10 * [:this:] to actually use the receiver of the method, which is |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 } | 392 } |
| 393 | 393 |
| 394 class JSDouble extends JSNumber implements double { | 394 class JSDouble extends JSNumber implements double { |
| 395 const JSDouble(); | 395 const JSDouble(); |
| 396 Type get runtimeType => double; | 396 Type get runtimeType => double; |
| 397 } | 397 } |
| 398 | 398 |
| 399 class JSPositiveInt extends JSInt {} | 399 class JSPositiveInt extends JSInt {} |
| 400 class JSUInt32 extends JSPositiveInt {} | 400 class JSUInt32 extends JSPositiveInt {} |
| 401 class JSUInt31 extends JSUInt32 {} | 401 class JSUInt31 extends JSUInt32 {} |
| OLD | NEW |