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

Side by Side Diff: pkg/analyzer/lib/src/generated/parser.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
« no previous file with comments | « pkg/analyzer/lib/src/generated/ast.dart ('k') | pkg/analyzer/lib/src/generated/resolver.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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.parser; 8 library engine.parser;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 8802 matching lines...) Expand 10 before | Expand all | Expand 10 after
8813 } 8813 }
8814 8814
8815 @override 8815 @override
8816 bool visitForEachStatement(ForEachStatement node) { 8816 bool visitForEachStatement(ForEachStatement node) {
8817 ForEachStatement toNode = this._toNode as ForEachStatement; 8817 ForEachStatement toNode = this._toNode as ForEachStatement;
8818 return _and( 8818 return _and(
8819 _isEqualTokens(node.forKeyword, toNode.forKeyword), 8819 _isEqualTokens(node.forKeyword, toNode.forKeyword),
8820 _isEqualTokens(node.leftParenthesis, toNode.leftParenthesis), 8820 _isEqualTokens(node.leftParenthesis, toNode.leftParenthesis),
8821 _isEqualNodes(node.loopVariable, toNode.loopVariable), 8821 _isEqualNodes(node.loopVariable, toNode.loopVariable),
8822 _isEqualTokens(node.inKeyword, toNode.inKeyword), 8822 _isEqualTokens(node.inKeyword, toNode.inKeyword),
8823 _isEqualNodes(node.iterator, toNode.iterator), 8823 _isEqualNodes(node.iterable, toNode.iterable),
8824 _isEqualTokens(node.rightParenthesis, toNode.rightParenthesis), 8824 _isEqualTokens(node.rightParenthesis, toNode.rightParenthesis),
8825 _isEqualNodes(node.body, toNode.body)); 8825 _isEqualNodes(node.body, toNode.body));
8826 } 8826 }
8827 8827
8828 @override 8828 @override
8829 bool visitFormalParameterList(FormalParameterList node) { 8829 bool visitFormalParameterList(FormalParameterList node) {
8830 FormalParameterList toNode = this._toNode as FormalParameterList; 8830 FormalParameterList toNode = this._toNode as FormalParameterList;
8831 return _and( 8831 return _and(
8832 _isEqualTokens(node.leftParenthesis, toNode.leftParenthesis), 8832 _isEqualTokens(node.leftParenthesis, toNode.leftParenthesis),
8833 _isEqualNodeLists(node.parameters, toNode.parameters), 8833 _isEqualNodeLists(node.parameters, toNode.parameters),
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
9950 return trampoline(target, arguments[0], arguments[1]); 9950 return trampoline(target, arguments[0], arguments[1]);
9951 case 3: 9951 case 3:
9952 return trampoline(target, arguments[0], arguments[1], arguments[2]); 9952 return trampoline(target, arguments[0], arguments[1], arguments[2]);
9953 case 4: 9953 case 4:
9954 return trampoline(target, arguments[0], arguments[1], arguments[2], argu ments[3]); 9954 return trampoline(target, arguments[0], arguments[1], arguments[2], argu ments[3]);
9955 default: 9955 default:
9956 throw new IllegalArgumentException("Not implemented for > 4 arguments"); 9956 throw new IllegalArgumentException("Not implemented for > 4 arguments");
9957 } 9957 }
9958 } 9958 }
9959 } 9959 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/ast.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698