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

Unified Diff: pkg/compiler/lib/src/core_types.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/constants/values.dart ('k') | pkg/compiler/lib/src/deferred_load.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81b3bb4393316818348b395e0df91317d852bb28..cbd1f5904f9340798d8fc18089e551a6396a0e25 100644
--- a/pkg/compiler/lib/src/core_types.dart
+++ b/pkg/compiler/lib/src/core_types.dart
@@ -135,70 +135,71 @@ abstract class CommonElements {
ConstructorElement get filledListConstructor;
/// The `Object` type defined in 'dart:core'.
- InterfaceType get objectType;
+ ResolutionInterfaceType get objectType;
/// The `bool` type defined in 'dart:core'.
- InterfaceType get boolType;
+ ResolutionInterfaceType get boolType;
/// The `num` type defined in 'dart:core'.
- InterfaceType get numType;
+ ResolutionInterfaceType get numType;
/// The `int` type defined in 'dart:core'.
- InterfaceType get intType;
+ ResolutionInterfaceType get intType;
/// The `double` type defined in 'dart:core'.
- InterfaceType get doubleType;
+ ResolutionInterfaceType get doubleType;
/// The `Resource` type defined in 'dart:core'.
- InterfaceType get resourceType;
+ ResolutionInterfaceType get resourceType;
/// The `String` type defined in 'dart:core'.
- InterfaceType get stringType;
+ ResolutionInterfaceType get stringType;
/// The `Symbol` type defined in 'dart:core'.
- InterfaceType get symbolType;
+ ResolutionInterfaceType get symbolType;
/// The `Function` type defined in 'dart:core'.
- InterfaceType get functionType;
+ ResolutionInterfaceType get functionType;
/// The `Null` type defined in 'dart:core'.
- InterfaceType get nullType;
+ ResolutionInterfaceType get nullType;
/// The `Type` type defined in 'dart:core'.
- InterfaceType get typeType;
+ ResolutionInterfaceType get typeType;
/// The `StackTrace` type defined in 'dart:core';
- InterfaceType get stackTraceType;
+ ResolutionInterfaceType get stackTraceType;
/// Returns an instance of the `List` type defined in 'dart:core' with
/// [elementType] as its type argument.
///
/// If no type argument is provided, the canonical raw type is returned.
- InterfaceType listType([DartType elementType]);
+ ResolutionInterfaceType listType([ResolutionDartType elementType]);
/// Returns an instance of the `Map` type defined in 'dart:core' with
/// [keyType] and [valueType] as its type arguments.
///
/// If no type arguments are provided, the canonical raw type is returned.
- InterfaceType mapType([DartType keyType, DartType valueType]);
+ ResolutionInterfaceType mapType(
+ [ResolutionDartType keyType, ResolutionDartType valueType]);
/// Returns an instance of the `Iterable` type defined in 'dart:core' with
/// [elementType] as its type argument.
///
/// If no type argument is provided, the canonical raw type is returned.
- InterfaceType iterableType([DartType elementType]);
+ ResolutionInterfaceType iterableType([ResolutionDartType elementType]);
/// Returns an instance of the `Future` type defined in 'dart:async' with
/// [elementType] as its type argument.
///
/// If no type argument is provided, the canonical raw type is returned.
- InterfaceType futureType([DartType elementType]);
+ ResolutionInterfaceType futureType([ResolutionDartType elementType]);
/// Returns an instance of the `Stream` type defined in 'dart:async' with
/// [elementType] as its type argument.
///
/// If no type argument is provided, the canonical raw type is returned.
- InterfaceType streamType([DartType elementType]);
+ ResolutionInterfaceType streamType([ResolutionDartType elementType]);
/// Returns `true` if [element] is a superclass of `String` or `num`.
bool isNumberOrStringSupertype(ClassElement element);
« no previous file with comments | « pkg/compiler/lib/src/constants/values.dart ('k') | pkg/compiler/lib/src/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698