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

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

Issue 770333003: First step to resolving simple API changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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/element_handle.dart
diff --git a/pkg/analyzer/lib/src/generated/element_handle.dart b/pkg/analyzer/lib/src/generated/element_handle.dart
index 61afb897b5ce43ff045caff0961a2d60f4d9966d..9c2ada3bb4bc5c1a729b97bdabf86eabc17d8175 100644
--- a/pkg/analyzer/lib/src/generated/element_handle.dart
+++ b/pkg/analyzer/lib/src/generated/element_handle.dart
@@ -7,6 +7,8 @@
library engine.element_handle;
+import 'package:analyzer/src/generated/utilities_collection.dart';
+
import 'ast.dart';
import 'element.dart';
import 'engine.dart';
@@ -279,6 +281,11 @@ class ConstructorElementHandle extends ExecutableElementHandle implements
*/
abstract class ElementHandle implements Element {
/**
+ * The unique integer identifier of this element.
+ */
+ final int id = 0;
+
+ /**
* The context in which the element is defined.
*/
AnalysisContext _context;
@@ -374,6 +381,9 @@ abstract class ElementHandle implements Element {
CompilationUnit get unit => actualElement.unit;
@override
+ IntSet get users => new IntSet();
+
+ @override
bool operator ==(Object object) =>
object is Element && object.location == _location;
@@ -381,6 +391,10 @@ abstract class ElementHandle implements Element {
accept(ElementVisitor visitor) => actualElement.accept(visitor);
@override
+ void addUser(Element element) {
+ }
+
+ @override
String computeDocumentationComment() =>
actualElement.computeDocumentationComment();

Powered by Google App Engine
This is Rietveld 408576698