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 // These Dart classes correspond to the VM internal implementation classes. | 5 // These Dart classes correspond to the VM internal implementation classes. |
6 | 6 |
7 // Equivalent of RawAbstractType. | 7 // Equivalent of RawAbstractType. |
8 abstract class _AbstractType implements Type { | 8 abstract class _AbstractType implements Type { |
9 String toString() native "AbstractType_toString"; | 9 String toString() native "AbstractType_toString"; |
10 } | 10 } |
11 | 11 |
12 // Equivalent of RawType. | 12 // Equivalent of RawType. |
13 class _Type extends _AbstractType { | 13 class _Type extends _AbstractType { |
14 } | 14 } |
15 | 15 |
| 16 // Equivalent of RawFunctionType. |
| 17 class _FunctionType extends _AbstractType { |
| 18 } |
| 19 |
16 // Equivalent of RawTypeRef. | 20 // Equivalent of RawTypeRef. |
17 class _TypeRef extends _AbstractType { | 21 class _TypeRef extends _AbstractType { |
18 } | 22 } |
19 | 23 |
20 // Equivalent of RawTypeParameter. | 24 // Equivalent of RawTypeParameter. |
21 class _TypeParameter extends _AbstractType { | 25 class _TypeParameter extends _AbstractType { |
22 } | 26 } |
23 | 27 |
24 // Equivalent of RawBoundedType. | 28 // Equivalent of RawBoundedType. |
25 class _BoundedType extends _AbstractType { | 29 class _BoundedType extends _AbstractType { |
26 } | 30 } |
27 | 31 |
28 // Equivalent of RawMixinAppType. | 32 // Equivalent of RawMixinAppType. |
29 class _MixinAppType extends _AbstractType { | 33 class _MixinAppType extends _AbstractType { |
30 } | 34 } |
OLD | NEW |