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

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

Issue 839553005: Add a flag/options for enabling incremental resolution validation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.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 // 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:math" as math; 10 import "dart:math" as math;
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 this._options.analyzeAngular = options.analyzeAngular; 1095 this._options.analyzeAngular = options.analyzeAngular;
1096 this._options.analyzeFunctionBodies = options.analyzeFunctionBodies; 1096 this._options.analyzeFunctionBodies = options.analyzeFunctionBodies;
1097 this._options.generateSdkErrors = options.generateSdkErrors; 1097 this._options.generateSdkErrors = options.generateSdkErrors;
1098 this._options.enableAsync = options.enableAsync; 1098 this._options.enableAsync = options.enableAsync;
1099 this._options.enableDeferredLoading = options.enableDeferredLoading; 1099 this._options.enableDeferredLoading = options.enableDeferredLoading;
1100 this._options.enableEnum = options.enableEnum; 1100 this._options.enableEnum = options.enableEnum;
1101 this._options.dart2jsHint = options.dart2jsHint; 1101 this._options.dart2jsHint = options.dart2jsHint;
1102 this._options.hint = options.hint; 1102 this._options.hint = options.hint;
1103 this._options.incremental = options.incremental; 1103 this._options.incremental = options.incremental;
1104 this._options.incrementalApi = options.incrementalApi; 1104 this._options.incrementalApi = options.incrementalApi;
1105 this._options.incrementalValidation = options.incrementalValidation;
1105 this._options.preserveComments = options.preserveComments; 1106 this._options.preserveComments = options.preserveComments;
1106 _generateSdkErrors = options.generateSdkErrors; 1107 _generateSdkErrors = options.generateSdkErrors;
1107 if (needsRecompute) { 1108 if (needsRecompute) {
1108 _invalidateAllLocalResolutionInformation(false); 1109 _invalidateAllLocalResolutionInformation(false);
1109 } 1110 }
1110 } 1111 }
1111 1112
1112 @override 1113 @override
1113 void set analysisPriorityOrder(List<Source> sources) { 1114 void set analysisPriorityOrder(List<Source> sources) {
1114 if (sources == null || sources.isEmpty) { 1115 if (sources == null || sources.isEmpty) {
(...skipping 5420 matching lines...) Expand 10 before | Expand all | Expand 10 after
6535 */ 6536 */
6536 bool get incremental; 6537 bool get incremental;
6537 6538
6538 /** 6539 /**
6539 * A flag indicating whether incremental analysis should be used for API 6540 * A flag indicating whether incremental analysis should be used for API
6540 * changes. 6541 * changes.
6541 */ 6542 */
6542 bool get incrementalApi; 6543 bool get incrementalApi;
6543 6544
6544 /** 6545 /**
6546 * A flag indicating whether validation should be performed after incremental
6547 * analysis.
6548 */
6549 bool get incrementalValidation;
6550
6551 /**
6545 * Return `true` if analysis is to parse comments. 6552 * Return `true` if analysis is to parse comments.
6546 * 6553 *
6547 * @return `true` if analysis is to parse comments 6554 * @return `true` if analysis is to parse comments
6548 */ 6555 */
6549 bool get preserveComments; 6556 bool get preserveComments;
6550 } 6557 }
6551 6558
6552 /** 6559 /**
6553 * Instances of the class `AnalysisOptions` represent a set of analysis options used to 6560 * Instances of the class `AnalysisOptions` represent a set of analysis options used to
6554 * control the behavior of an analysis context. 6561 * control the behavior of an analysis context.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
6631 */ 6638 */
6632 bool incremental = false; 6639 bool incremental = false;
6633 6640
6634 /** 6641 /**
6635 * A flag indicating whether incremental analysis should be used for API 6642 * A flag indicating whether incremental analysis should be used for API
6636 * changes. 6643 * changes.
6637 */ 6644 */
6638 bool incrementalApi = false; 6645 bool incrementalApi = false;
6639 6646
6640 /** 6647 /**
6648 * A flag indicating whether validation should be performed after incremental
6649 * analysis.
6650 */
6651 bool incrementalValidation = false;
6652
6653 /**
6641 * A flag indicating whether analysis is to parse comments. 6654 * A flag indicating whether analysis is to parse comments.
6642 */ 6655 */
6643 bool preserveComments = true; 6656 bool preserveComments = true;
6644 6657
6645 /** 6658 /**
6646 * Initialize a newly created set of analysis options to have their default va lues. 6659 * Initialize a newly created set of analysis options to have their default va lues.
6647 */ 6660 */
6648 AnalysisOptionsImpl(); 6661 AnalysisOptionsImpl();
6649 6662
6650 /** 6663 /**
6651 * Initialize a newly created set of analysis options to have the same values as those in the 6664 * Initialize a newly created set of analysis options to have the same values as those in the
6652 * given set of analysis options. 6665 * given set of analysis options.
6653 * 6666 *
6654 * @param options the analysis options whose values are being copied 6667 * @param options the analysis options whose values are being copied
6655 */ 6668 */
6656 AnalysisOptionsImpl.con1(AnalysisOptions options) { 6669 AnalysisOptionsImpl.con1(AnalysisOptions options) {
6657 analyzeAngular = options.analyzeAngular; 6670 analyzeAngular = options.analyzeAngular;
6658 analyzeFunctionBodies = options.analyzeFunctionBodies; 6671 analyzeFunctionBodies = options.analyzeFunctionBodies;
6659 analyzePolymer = options.analyzePolymer; 6672 analyzePolymer = options.analyzePolymer;
6660 cacheSize = options.cacheSize; 6673 cacheSize = options.cacheSize;
6661 dart2jsHint = options.dart2jsHint; 6674 dart2jsHint = options.dart2jsHint;
6662 enableAsync = options.enableAsync; 6675 enableAsync = options.enableAsync;
6663 enableDeferredLoading = options.enableDeferredLoading; 6676 enableDeferredLoading = options.enableDeferredLoading;
6664 enableEnum = options.enableEnum; 6677 enableEnum = options.enableEnum;
6665 _generateSdkErrors = options.generateSdkErrors; 6678 _generateSdkErrors = options.generateSdkErrors;
6666 hint = options.hint; 6679 hint = options.hint;
6667 incremental = options.incremental; 6680 incremental = options.incremental;
6668 incrementalApi = options.incrementalApi; 6681 incrementalApi = options.incrementalApi;
6682 incrementalValidation = options.incrementalValidation;
6669 preserveComments = options.preserveComments; 6683 preserveComments = options.preserveComments;
6670 } 6684 }
6671 6685
6672 @override 6686 @override
6673 bool get generateSdkErrors => _generateSdkErrors; 6687 bool get generateSdkErrors => _generateSdkErrors;
6674 6688
6675 /** 6689 /**
6676 * Set whether errors, warnings and hints should be generated for sources in t he SDK to match the 6690 * Set whether errors, warnings and hints should be generated for sources in t he SDK to match the
6677 * given value. 6691 * given value.
6678 * 6692 *
(...skipping 7748 matching lines...) Expand 10 before | Expand all | Expand 10 after
14427 14441
14428 @override 14442 @override
14429 Object visitPolymerTagDartElement(PolymerTagDartElement element) { 14443 Object visitPolymerTagDartElement(PolymerTagDartElement element) {
14430 if (element.name == PolymerHtmlUnitBuilder_this._elementName) { 14444 if (element.name == PolymerHtmlUnitBuilder_this._elementName) {
14431 throw new PolymerHtmlUnitBuilder_FoundTagDartElementError( 14445 throw new PolymerHtmlUnitBuilder_FoundTagDartElementError(
14432 element as PolymerTagDartElementImpl); 14446 element as PolymerTagDartElementImpl);
14433 } 14447 }
14434 return null; 14448 return null;
14435 } 14449 }
14436 } 14450 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698