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

Unified Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 895113002: Add static type checking of "yield" statements to analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
Index: pkg/analyzer/lib/src/generated/resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
index 23b984f7c11cbaca258c867ae2542913f88d9e8c..76d159c232500a86b7ab16cd35a310cfdeb77ad3 100644
--- a/pkg/analyzer/lib/src/generated/resolver.dart
+++ b/pkg/analyzer/lib/src/generated/resolver.dart
@@ -13427,6 +13427,16 @@ abstract class TypeProvider {
InterfaceType get intType;
/**
+ * Return the type representing the type 'Iterable<dynamic>'.
+ */
+ InterfaceType get iterableDynamicType;
+
+ /**
+ * Return the type representing the built-in type 'Iterable'.
+ */
+ InterfaceType get iterableType;
+
+ /**
* Return the type representing the built-in type 'List'.
*
* @return the type representing the built-in type 'List'
@@ -13469,6 +13479,16 @@ abstract class TypeProvider {
InterfaceType get stackTraceType;
/**
+ * Return the type representing 'Stream<dynamic>'.
+ */
+ InterfaceType get streamDynamicType;
+
+ /**
+ * Return the type representing the built-in type 'Stream'.
+ */
+ InterfaceType get streamType;
+
+ /**
* Return the type representing the built-in type 'String'.
*
* @return the type representing the built-in type 'String'
@@ -13546,6 +13566,16 @@ class TypeProviderImpl implements TypeProvider {
InterfaceType _intType;
/**
+ * The type representing 'Iterable<dynamic>'.
+ */
+ InterfaceType _iterableDynamicType;
+
+ /**
+ * The type representing the built-in type 'Iterable'.
+ */
+ InterfaceType _iterableType;
+
+ /**
* The type representing the built-in type 'List'.
*/
InterfaceType _listType;
@@ -13576,6 +13606,16 @@ class TypeProviderImpl implements TypeProvider {
InterfaceType _stackTraceType;
/**
+ * The type representing 'Stream<dynamic>'.
+ */
+ InterfaceType _streamDynamicType;
+
+ /**
+ * The type representing the built-in type 'Stream'.
+ */
+ InterfaceType _streamType;
+
+ /**
* The type representing the built-in type 'String'.
*/
InterfaceType _stringType;
@@ -13632,6 +13672,12 @@ class TypeProviderImpl implements TypeProvider {
InterfaceType get intType => _intType;
@override
+ InterfaceType get iterableDynamicType => _iterableDynamicType;
+
+ @override
+ InterfaceType get iterableType => _iterableType;
+
+ @override
InterfaceType get listType => _listType;
@override
@@ -13650,6 +13696,12 @@ class TypeProviderImpl implements TypeProvider {
InterfaceType get stackTraceType => _stackTraceType;
@override
+ InterfaceType get streamDynamicType => _streamDynamicType;
+
+ @override
+ InterfaceType get streamType => _streamType;
+
+ @override
InterfaceType get stringType => _stringType;
@override
@@ -13698,17 +13750,21 @@ class TypeProviderImpl implements TypeProvider {
_functionType = _getType(coreNamespace, "Function");
_futureType = _getType(asyncNamespace, "Future");
_intType = _getType(coreNamespace, "int");
+ _iterableType = _getType(coreNamespace, "Iterable");
_listType = _getType(coreNamespace, "List");
_mapType = _getType(coreNamespace, "Map");
_nullType = _getType(coreNamespace, "Null");
_numType = _getType(coreNamespace, "num");
_objectType = _getType(coreNamespace, "Object");
_stackTraceType = _getType(coreNamespace, "StackTrace");
+ _streamType = _getType(asyncNamespace, "Stream");
_stringType = _getType(coreNamespace, "String");
_symbolType = _getType(coreNamespace, "Symbol");
_typeType = _getType(coreNamespace, "Type");
_undefinedType = UndefinedTypeImpl.instance;
_futureNullType = _futureType.substitute4(<DartType>[_nullType]);
+ _iterableDynamicType = _iterableType.substitute4(<DartType>[_dynamicType]);
+ _streamDynamicType = _streamType.substitute4(<DartType>[_dynamicType]);
}
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/error_verifier.dart ('k') | pkg/analyzer/lib/src/generated/static_type_analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698