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

Side by Side Diff: pkg/analyzer2dart/lib/src/modely.dart

Issue 1021813002: Redo "Use an explicit 'this' parameter instead of 'This' nodes." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer2dart/test/sexpr_data.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of analyzer2dart.element_converter; 5 part of analyzer2dart.element_converter;
6 6
7 7
8 /// Base [dart2js.Element] implementation for converted analyzer elements. 8 /// Base [dart2js.Element] implementation for converted analyzer elements.
9 class ElementY extends dart2js.Element { 9 class ElementY extends dart2js.Element {
10 final ElementConverter converter; 10 final ElementConverter converter;
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 @override 746 @override
747 get nestedClosures => unsupported('nestedClosures'); 747 get nestedClosures => unsupported('nestedClosures');
748 } 748 }
749 749
750 abstract class LocalElementMixin implements ElementY, dart2js.LocalElement { 750 abstract class LocalElementMixin implements ElementY, dart2js.LocalElement {
751 751
752 @override 752 @override
753 bool get isLocal => true; 753 bool get isLocal => true;
754 754
755 @override 755 @override
756 bool get isInstanceMember => false;
757
758 @override
756 bool get isStatic => false; 759 bool get isStatic => false;
757 760
758 @override 761 @override
762 bool get isTopLevel => false;
763
764 @override
759 get executableContext => unsupported('executableContext'); 765 get executableContext => unsupported('executableContext');
760 766
761 // TODO(johnniwinther): Ensure the correct semantics of this. 767 // TODO(johnniwinther): Ensure the correct semantics of this.
762 @override 768 @override
763 bool get isFactoryConstructor => false; 769 bool get isFactoryConstructor => false;
764 } 770 }
765 771
766 class LocalVariableElementY extends ElementY 772 class LocalVariableElementY extends ElementY
767 with AnalyzableElementY, 773 with AnalyzableElementY,
768 AstElementY, 774 AstElementY,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 879
874 @override 880 @override
875 bool get isInstanceMember => true; 881 bool get isInstanceMember => true;
876 882
877 InstanceMethodElementY(ElementConverter converter, 883 InstanceMethodElementY(ElementConverter converter,
878 analyzer.MethodElement element) 884 analyzer.MethodElement element)
879 : super(converter, element); 885 : super(converter, element);
880 886
881 @override 887 @override
882 get nestedClosures => unsupported('nestedClosures'); 888 get nestedClosures => unsupported('nestedClosures');
883 } 889 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer2dart/test/sexpr_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698