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

Unified Diff: pkg/compiler/lib/src/elements/modelx.dart

Issue 1856713002: Test ResolutionImpact equivalence. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments Created 4 years, 8 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/compiler.dart ('k') | pkg/compiler/lib/src/elements/visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/modelx.dart
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart
index 214b25ddd87b0c49805d271a067aa4474b5c4bc3..be8b45cf97ea4daa55f0b247b3ecdecf4e6bb200 100644
--- a/pkg/compiler/lib/src/elements/modelx.dart
+++ b/pkg/compiler/lib/src/elements/modelx.dart
@@ -2078,10 +2078,6 @@ abstract class BaseFunctionElementX
bool get isAbstract => false;
- accept(ElementVisitor visitor, arg) {
- return visitor.visitFunctionElement(this, arg);
- }
-
// A function is defined by the implementation element.
AstElement get definingElement => implementation;
}
@@ -2132,6 +2128,10 @@ abstract class MethodElementX extends FunctionElementX {
bool get isAbstract {
return !modifiers.isExternal && !hasBody;
}
+
+ accept(ElementVisitor visitor, arg) {
+ return visitor.visitMethodElement(this, arg);
+ }
}
abstract class AccessorElementX extends MethodElementX
@@ -2154,6 +2154,10 @@ abstract class GetterElementX extends AccessorElementX
Element enclosing,
bool hasBody)
: super(name, ElementKind.GETTER, modifiers, enclosing, hasBody);
+
+ accept(ElementVisitor visitor, arg) {
+ return visitor.visitGetterElement(this, arg);
+ }
}
abstract class SetterElementX extends AccessorElementX
@@ -2164,6 +2168,10 @@ abstract class SetterElementX extends AccessorElementX
Element enclosing,
bool hasBody)
: super(name, ElementKind.SETTER, modifiers, enclosing, hasBody);
+
+ accept(ElementVisitor visitor, arg) {
+ return visitor.visitSetterElement(this, arg);
+ }
}
class LocalFunctionElementX extends BaseFunctionElementX
@@ -2195,6 +2203,10 @@ class LocalFunctionElementX extends BaseFunctionElementX
}
bool get isLocal => true;
+
+ accept(ElementVisitor visitor, arg) {
+ return visitor.visitLocalFunctionElement(this, arg);
+ }
}
abstract class ConstantConstructorMixin implements ConstructorElement {
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698