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

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

Issue 1774213003: Fix `enableConditionalDirectives` option handling. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « pkg/analysis_server/test/context_manager_test.dart ('k') | no next file » | 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 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 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 /** 1282 /**
1283 * Initialize a newly created set of analysis options to have the same values 1283 * Initialize a newly created set of analysis options to have the same values
1284 * as those in the given set of analysis [options]. 1284 * as those in the given set of analysis [options].
1285 */ 1285 */
1286 AnalysisOptionsImpl.from(AnalysisOptions options) { 1286 AnalysisOptionsImpl.from(AnalysisOptions options) {
1287 analyzeFunctionBodiesPredicate = options.analyzeFunctionBodiesPredicate; 1287 analyzeFunctionBodiesPredicate = options.analyzeFunctionBodiesPredicate;
1288 cacheSize = options.cacheSize; 1288 cacheSize = options.cacheSize;
1289 dart2jsHint = options.dart2jsHint; 1289 dart2jsHint = options.dart2jsHint;
1290 enableAssertMessage = options.enableAssertMessage; 1290 enableAssertMessage = options.enableAssertMessage;
1291 enableAsync = options.enableAsync; 1291 enableAsync = options.enableAsync;
1292 enableConditionalDirectives = options.enableConditionalDirectives;
1292 enableStrictCallChecks = options.enableStrictCallChecks; 1293 enableStrictCallChecks = options.enableStrictCallChecks;
1293 enableGenericMethods = options.enableGenericMethods; 1294 enableGenericMethods = options.enableGenericMethods;
1294 enableSuperMixins = options.enableSuperMixins; 1295 enableSuperMixins = options.enableSuperMixins;
1295 generateImplicitErrors = options.generateImplicitErrors; 1296 generateImplicitErrors = options.generateImplicitErrors;
1296 generateSdkErrors = options.generateSdkErrors; 1297 generateSdkErrors = options.generateSdkErrors;
1297 hint = options.hint; 1298 hint = options.hint;
1298 incremental = options.incremental; 1299 incremental = options.incremental;
1299 incrementalApi = options.incrementalApi; 1300 incrementalApi = options.incrementalApi;
1300 incrementalValidation = options.incrementalValidation; 1301 incrementalValidation = options.incrementalValidation;
1301 lint = options.lint; 1302 lint = options.lint;
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
2538 * The data that was created from the source. 2539 * The data that was created from the source.
2539 */ 2540 */
2540 final E data; 2541 final E data;
2541 2542
2542 /** 2543 /**
2543 * Initialize a newly created holder to associate the given [data] with the 2544 * Initialize a newly created holder to associate the given [data] with the
2544 * given [modificationTime]. 2545 * given [modificationTime].
2545 */ 2546 */
2546 TimestampedData(this.modificationTime, this.data); 2547 TimestampedData(this.modificationTime, this.data);
2547 } 2548 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/context_manager_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698