Chromium Code Reviews| Index: pkg/compiler/lib/src/core_types.dart |
| diff --git a/pkg/compiler/lib/src/core_types.dart b/pkg/compiler/lib/src/core_types.dart |
| index 291978d9e67ef9d8b1608530b922a0f85320e0d8..079c69e8d2f88ebf16034a4abcdcf421111f38f0 100644 |
| --- a/pkg/compiler/lib/src/core_types.dart |
| +++ b/pkg/compiler/lib/src/core_types.dart |
| @@ -40,4 +40,16 @@ abstract class CoreTypes { |
| /// [keyType] and [valueType] as its type arguments. |
| InterfaceType mapType([DartType keyType = const DynamicType(), |
| DartType valueType = const DynamicType()]); |
| + |
| + /// Returns an instance of the `List` type defined in 'dart:core' with |
|
floitsch
2015/02/04 15:44:57
of the `Iterable` type defined in...
Johnni Winther
2015/02/05 08:48:32
Done.
|
| + /// [elementType] as its type argument. |
| + InterfaceType iterableType([DartType elementType = const DynamicType()]); |
| + |
| + /// Returns an instance of the `List` type defined in 'dart:async' with |
|
floitsch
2015/02/04 15:44:57
Future type.
Johnni Winther
2015/02/05 08:48:32
Done.
|
| + /// [elementType] as its type argument. |
| + InterfaceType futureType([DartType elementType = const DynamicType()]); |
| + |
| + /// Returns an instance of the `Stream` type defined in 'dart:async' with |
| + /// [elementType] as its type argument. |
| + InterfaceType streamType([DartType elementType = const DynamicType()]); |
| } |