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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/element.dart

Issue 26096002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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_experimental/lib/src/generated/element.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/element.dart b/pkg/analyzer_experimental/lib/src/generated/element.dart
index 776fbf2e8c03dc9e55b97ce2f3fa925c8de0d87d..11c04a8e6cfa9b6ba07e55671aa79640f46d68ff 100644
--- a/pkg/analyzer_experimental/lib/src/generated/element.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/element.dart
@@ -5679,6 +5679,7 @@ class BottomTypeImpl extends TypeImpl {
*/
BottomTypeImpl() : super(null, "<bottom>");
bool operator ==(Object object) => identical(object, this);
+ bool get isBottom => true;
bool isMoreSpecificThan(Type2 type) => true;
bool isSubtypeOf(Type2 type) => true;
bool isSupertypeOf(Type2 type) => false;
@@ -6801,6 +6802,7 @@ abstract class TypeImpl implements Type2 {
Type2 getLeastUpperBound(Type2 type) => null;
String get name => _name;
bool isAssignableTo(Type2 type) => this.isSubtypeOf(type) || type.isSubtypeOf(this);
+ bool get isBottom => false;
bool get isDartCoreFunction => false;
bool get isDynamic => false;
bool isMoreSpecificThan(Type2 type) => false;
@@ -7423,6 +7425,13 @@ abstract class Type2 {
bool isAssignableTo(Type2 type);
/**
+ * Return `true` if this type represents the bottom type.
+ *
+ * @return `true` if this type represents the bottom type
+ */
+ bool get isBottom;
+
+ /**
* Return `true` if this type represents the type 'Function' defined in the dart:core
* library.
*
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/constant.dart ('k') | pkg/analyzer_experimental/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698