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

Side by Side Diff: pkg/analyzer/lib/src/services/formatter_impl.dart

Issue 689793003: Rename ForEachStatement.iterator -> iterable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library formatter_impl; 5 library formatter_impl;
6 6
7 import 'dart:math'; 7 import 'dart:math';
8 8
9 import 'package:analyzer/analyzer.dart'; 9 import 'package:analyzer/analyzer.dart';
10 import 'package:analyzer/src/generated/parser.dart'; 10 import 'package:analyzer/src/generated/parser.dart';
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 space(); 821 space();
822 token(node.leftParenthesis); 822 token(node.leftParenthesis);
823 if (node.loopVariable != null) { 823 if (node.loopVariable != null) {
824 visit(node.loopVariable); 824 visit(node.loopVariable);
825 } else { 825 } else {
826 visit(node.identifier); 826 visit(node.identifier);
827 } 827 }
828 space(); 828 space();
829 token(node.inKeyword); 829 token(node.inKeyword);
830 space(); 830 space();
831 visit(node.iterator); 831 visit(node.iterable);
832 token(node.rightParenthesis); 832 token(node.rightParenthesis);
833 space(); 833 space();
834 visit(node.body); 834 visit(node.body);
835 } 835 }
836 836
837 visitFormalParameterList(FormalParameterList node) { 837 visitFormalParameterList(FormalParameterList node) {
838 var groupEnd = null; 838 var groupEnd = null;
839 token(node.leftParenthesis); 839 token(node.leftParenthesis);
840 var parameters = node.parameters; 840 var parameters = node.parameters;
841 var size = parameters.length; 841 var size = parameters.length;
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1845 @override 1845 @override
1846 visitEnumConstantDeclaration(EnumConstantDeclaration node) { 1846 visitEnumConstantDeclaration(EnumConstantDeclaration node) {
1847 // TODO: implement visitEnumConstantDeclaration 1847 // TODO: implement visitEnumConstantDeclaration
1848 } 1848 }
1849 1849
1850 @override 1850 @override
1851 visitEnumDeclaration(EnumDeclaration node) { 1851 visitEnumDeclaration(EnumDeclaration node) {
1852 // TODO: implement visitEnumDeclaration 1852 // TODO: implement visitEnumDeclaration
1853 } 1853 }
1854 } 1854 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698