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

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

Issue 2394733004: Clean up hints (Closed)
Patch Set: Created 4 years, 2 months 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 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 * values. 1361 * values.
1362 */ 1362 */
1363 AnalysisOptionsImpl(); 1363 AnalysisOptionsImpl();
1364 1364
1365 /** 1365 /**
1366 * Initialize a newly created set of analysis options to have the same values 1366 * Initialize a newly created set of analysis options to have the same values
1367 * as those in the given set of analysis [options]. 1367 * as those in the given set of analysis [options].
1368 */ 1368 */
1369 AnalysisOptionsImpl.from(AnalysisOptions options) { 1369 AnalysisOptionsImpl.from(AnalysisOptions options) {
1370 analyzeFunctionBodiesPredicate = options.analyzeFunctionBodiesPredicate; 1370 analyzeFunctionBodiesPredicate = options.analyzeFunctionBodiesPredicate;
1371 cacheSize = options.cacheSize;
1372 dart2jsHint = options.dart2jsHint; 1371 dart2jsHint = options.dart2jsHint;
1373 enableAssertInitializer = options.enableAssertInitializer; 1372 enableAssertInitializer = options.enableAssertInitializer;
1374 enableAssertMessage = options.enableAssertMessage; 1373 enableAssertMessage = options.enableAssertMessage;
1375 enableStrictCallChecks = options.enableStrictCallChecks; 1374 enableStrictCallChecks = options.enableStrictCallChecks;
1376 enableGenericMethods = options.enableGenericMethods; 1375 enableGenericMethods = options.enableGenericMethods;
1377 enableInitializingFormalAccess = options.enableInitializingFormalAccess; 1376 enableInitializingFormalAccess = options.enableInitializingFormalAccess;
1378 enableLazyAssignmentOperators = options.enableLazyAssignmentOperators; 1377 enableLazyAssignmentOperators = options.enableLazyAssignmentOperators;
1379 enableSuperMixins = options.enableSuperMixins; 1378 enableSuperMixins = options.enableSuperMixins;
1380 enableTiming = options.enableTiming; 1379 enableTiming = options.enableTiming;
1381 generateImplicitErrors = options.generateImplicitErrors; 1380 generateImplicitErrors = options.generateImplicitErrors;
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2700 * The data that was created from the source. 2699 * The data that was created from the source.
2701 */ 2700 */
2702 final E data; 2701 final E data;
2703 2702
2704 /** 2703 /**
2705 * Initialize a newly created holder to associate the given [data] with the 2704 * Initialize a newly created holder to associate the given [data] with the
2706 * given [modificationTime]. 2705 * given [modificationTime].
2707 */ 2706 */
2708 TimestampedData(this.modificationTime, this.data); 2707 TimestampedData(this.modificationTime, this.data);
2709 } 2708 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/test/generated/analysis_context_factory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698