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

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 1570183002: add parser parseAsync flag (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 0e762ee85f44cc22006e4ea33d1ca65045ef1462..f28be2e4e4b0cbbc936e37241b3ee258322eeddb 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1047,6 +1047,11 @@ abstract class AnalysisOptions {
bool get enableAssertMessage;
/**
+ * Return `true` to if analysis is to enable async support.
+ */
+ bool get enableAsync;
+
+ /**
* Return `true` to enable interface libraries (DEP 40).
*/
bool get enableConditionalDirectives;
@@ -1155,6 +1160,11 @@ class AnalysisOptionsImpl implements AnalysisOptions {
bool enableAssertMessage = false;
/**
+ * A flag indicating whether analysis is to enable async support.
+ */
+ bool enableAsync = true;
+
+ /**
* A flag indicating whether interface libraries are to be supported (DEP 40).
*/
bool enableConditionalDirectives = false;
@@ -1249,6 +1259,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
cacheSize = options.cacheSize;
dart2jsHint = options.dart2jsHint;
enableAssertMessage = options.enableAssertMessage;
+ enableAsync = options.enableAsync;
enableStrictCallChecks = options.enableStrictCallChecks;
enableGenericMethods = options.enableGenericMethods;
enableSuperMixins = options.enableSuperMixins;
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698