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

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 730783002: Make constant lists immutable (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/element.dart ('k') | pkg/analyzer/lib/src/generated/html.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; 8 library engine;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 7415 matching lines...) Expand 10 before | Expand all | Expand 10 after
7426 * changed. 7426 * changed.
7427 */ 7427 */
7428 List<AnalysisError> _errors; 7428 List<AnalysisError> _errors;
7429 7429
7430 /** 7430 /**
7431 * The line information associated with the source, or `null` if errors were n ot changed. 7431 * The line information associated with the source, or `null` if errors were n ot changed.
7432 */ 7432 */
7433 LineInfo _lineInfo; 7433 LineInfo _lineInfo;
7434 7434
7435 /** 7435 /**
7436 * An empty array of change notices. 7436 * An empty list of change notices.
7437 */ 7437 */
7438 static List<ChangeNoticeImpl> EMPTY_ARRAY = new List<ChangeNoticeImpl>(0); 7438 static const List<ChangeNoticeImpl> EMPTY_ARRAY = const <ChangeNoticeImpl>[];
7439 7439
7440 /** 7440 /**
7441 * Initialize a newly created notice associated with the given source. 7441 * Initialize a newly created notice associated with the given source.
7442 * 7442 *
7443 * @param source the source for which the change is being reported 7443 * @param source the source for which the change is being reported
7444 */ 7444 */
7445 ChangeNoticeImpl(this.source); 7445 ChangeNoticeImpl(this.source);
7446 7446
7447 @override 7447 @override
7448 List<AnalysisError> get errors => _errors; 7448 List<AnalysisError> get errors => _errors;
(...skipping 6073 matching lines...) Expand 10 before | Expand all | Expand 10 after
13522 _index++; 13522 _index++;
13523 if (_index >= _manager._workQueues[_queueIndex].length) { 13523 if (_index >= _manager._workQueues[_queueIndex].length) {
13524 _index = 0; 13524 _index = 0;
13525 _queueIndex++; 13525 _queueIndex++;
13526 while (_queueIndex < _manager._workQueues.length && _manager._workQueues[_ queueIndex].isEmpty) { 13526 while (_queueIndex < _manager._workQueues.length && _manager._workQueues[_ queueIndex].isEmpty) {
13527 _queueIndex++; 13527 _queueIndex++;
13528 } 13528 }
13529 } 13529 }
13530 } 13530 }
13531 } 13531 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | pkg/analyzer/lib/src/generated/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698