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

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

Issue 2508973005: Un-deprecate some deprecated code and fix a couple of hints (Closed)
Patch Set: Created 4 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
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 library analyzer.src.generated.engine; 5 library analyzer.src.generated.engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 1283
1284 /** 1284 /**
1285 * A predicate indicating whether analysis is to parse and analyze function 1285 * A predicate indicating whether analysis is to parse and analyze function
1286 * bodies. 1286 * bodies.
1287 */ 1287 */
1288 AnalyzeFunctionBodiesPredicate _analyzeFunctionBodiesPredicate = 1288 AnalyzeFunctionBodiesPredicate _analyzeFunctionBodiesPredicate =
1289 _analyzeAllFunctionBodies; 1289 _analyzeAllFunctionBodies;
1290 1290
1291 @override 1291 @override
1292 @deprecated 1292 @deprecated
1293 int cacheSize = DEFAULT_CACHE_SIZE; 1293 int cacheSize = 64;
1294 1294
1295 @override 1295 @override
1296 bool dart2jsHint = false; 1296 bool dart2jsHint = false;
1297 1297
1298 @override 1298 @override
1299 bool enableAssertInitializer = false; 1299 bool enableAssertInitializer = false;
1300 1300
1301 @override 1301 @override
1302 bool enableAssertMessage = false; 1302 bool enableAssertMessage = false;
1303 1303
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
2715 */ 2715 */
2716 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; 2716 bool get wereSourcesAdded => _changeSet.addedSources.length > 0;
2717 2717
2718 /** 2718 /**
2719 * Return `true` if any sources were removed or deleted. 2719 * Return `true` if any sources were removed or deleted.
2720 */ 2720 */
2721 bool get wereSourcesRemoved => 2721 bool get wereSourcesRemoved =>
2722 _changeSet.removedSources.length > 0 || 2722 _changeSet.removedSources.length > 0 ||
2723 _changeSet.removedContainers.length > 0; 2723 _changeSet.removedContainers.length > 0;
2724 } 2724 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/constant.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698