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

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

Issue 652403005: Support assignment of locals in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 1 month 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
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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 analyzer.LocalVariableElement get element => super.element; 678 analyzer.LocalVariableElement get element => super.element;
679 679
680 dart2js.ElementKind get kind => dart2js.ElementKind.VARIABLE; 680 dart2js.ElementKind get kind => dart2js.ElementKind.VARIABLE;
681 681
682 @override 682 @override
683 bool get isLocal => true; 683 bool get isLocal => true;
684 684
685 @override 685 @override
686 bool get isConst => element.isConst; 686 bool get isConst => element.isConst;
687 687
688 @override
689 bool get isStatic => false;
690
688 LocalVariableElementY(ElementConverter converter, 691 LocalVariableElementY(ElementConverter converter,
689 analyzer.LocalVariableElement element) 692 analyzer.LocalVariableElement element)
690 : super(converter, element); 693 : super(converter, element);
691 694
692 @override 695 @override
693 get executableContext => unsupported('executableContext'); 696 get executableContext => unsupported('executableContext');
694 697
695 @override 698 @override
696 dart2js.DartType get type => unsupported('type'); 699 dart2js.DartType get type => unsupported('type');
697 } 700 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 734
732 @override 735 @override
733 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); 736 bool get isRedirectingFactory => unsupported('isRedirectingFactory');
734 737
735 @override 738 @override
736 get nestedClosures => unsupported('nestedClosures'); 739 get nestedClosures => unsupported('nestedClosures');
737 740
738 @override 741 @override
739 get type => unsupported('type'); 742 get type => unsupported('type');
740 } 743 }
OLDNEW
« no previous file with comments | « pkg/analyzer2dart/lib/src/identifier_semantics.dart ('k') | pkg/analyzer2dart/lib/src/semantic_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698