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

Unified Diff: pkg/analyzer2dart/lib/src/modely.dart

Issue 1062913003: Extract CallStructure from Selector. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix expentancy in unittest Created 5 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 | « no previous file | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer2dart/lib/src/modely.dart
diff --git a/pkg/analyzer2dart/lib/src/modely.dart b/pkg/analyzer2dart/lib/src/modely.dart
index 19c8b534df39929744a0485bab28b484d4d48906..e69d5f058066f889aa14880a85acf00f299f48dd 100644
--- a/pkg/analyzer2dart/lib/src/modely.dart
+++ b/pkg/analyzer2dart/lib/src/modely.dart
@@ -720,7 +720,8 @@ class TopLevelVariableElementY extends ElementY
with AnalyzableElementY,
AstElementY,
TopLevelElementMixin,
- VariableElementMixin
+ VariableElementMixin,
+ MemberElementMixin
implements dart2js.FieldElement {
analyzer.TopLevelVariableElement get element => super.element;
@@ -810,7 +811,8 @@ class ConstructorElementY extends ElementY
with AnalyzableElementY,
AstElementY,
FunctionElementMixin,
- ClassMemberMixin
+ ClassMemberMixin,
+ MemberElementMixin
implements dart2js.ConstructorElement {
analyzer.ConstructorElement get element => super.element;
@@ -861,7 +863,8 @@ class InstanceMethodElementY extends ElementY
with AnalyzableElementY,
AstElementY,
FunctionElementMixin,
- ClassMemberMixin
+ ClassMemberMixin,
+ MemberElementMixin
implements dart2js.MethodElement {
analyzer.MethodElement get element => super.element;
@@ -888,3 +891,7 @@ class InstanceMethodElementY extends ElementY
@override
get nestedClosures => unsupported('nestedClosures');
}
+
+abstract class MemberElementMixin implements dart2js.MemberElement {
+ dart2js.Name get memberName => new dart2js.Name(name, library);
+}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698