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

Side by Side Diff: pkg/fletchc/lib/src/closure_environment.dart

Issue 1491823004: Followup to https://codereview.chromium.org/1450393002/ (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « pkg/fletchc/lib/fletch_compiler.dart ('k') | pkg/fletchc/lib/src/codegen_visitor.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) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fletchc.closure_environment; 5 library fletchc.closure_environment;
6 6
7 import 'package:compiler/src/resolution/semantic_visitor.dart'; 7 import 'package:compiler/src/resolution/semantic_visitor.dart';
8 8
9 import 'package:compiler/src/resolution/operators.dart' show 9 import 'package:compiler/src/resolution/operators.dart' show
10 AssignmentOperator, 10 AssignmentOperator,
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 FunctionElement indexFunction, 739 FunctionElement indexFunction,
740 FunctionElement indexSetFunction, 740 FunctionElement indexSetFunction,
741 Node index, 741 Node index,
742 IncDecOperator operator, 742 IncDecOperator operator,
743 _) { 743 _) {
744 markThisUsed(); 744 markThisUsed();
745 super.visitSuperIndexPrefix( 745 super.visitSuperIndexPrefix(
746 node, indexFunction, indexSetFunction, index, operator, null); 746 node, indexFunction, indexSetFunction, index, operator, null);
747 } 747 }
748 748
749 @override
750 void visitTypeAnnotation(TypeAnnotation node) { 749 void visitTypeAnnotation(TypeAnnotation node) {
751 // This is to avoid the inherited implementation that visits children and 750 // TODO(sigurdm): This is to avoid the inherited implementation that visits
752 // throws when encountering anything unresolved. 751 // children and throws when encountering anything unresolved.
753 } 752 }
754 753
755 void handleImmutableLocalSet( 754 void handleImmutableLocalSet(
756 SendSet node, 755 SendSet node,
757 LocalElement element, 756 LocalElement element,
758 Node rhs, 757 Node rhs,
759 _) { 758 _) {
760 apply(rhs); 759 apply(rhs);
761 } 760 }
762 761
763 void bulkHandleNode(Node node, String message, _) { 762 void bulkHandleNode(Node node, String message, _) {
764 } 763 }
765 764
766 void applyInitializers(FunctionExpression initializers, _) { 765 void applyInitializers(FunctionExpression initializers, _) {
767 } 766 }
768 767
769 void applyParameters(NodeList parameters, _) { 768 void applyParameters(NodeList parameters, _) {
770 } 769 }
771 } 770 }
OLDNEW
« no previous file with comments | « pkg/fletchc/lib/fletch_compiler.dart ('k') | pkg/fletchc/lib/src/codegen_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698