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

Unified Diff: pkg/analyzer/lib/src/dart/sdk/sdk.dart

Issue 2411883003: Add SdkPatcher and implement top-level function / getter / setter patching. (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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/dart/sdk/sdk.dart
diff --git a/pkg/analyzer/lib/src/dart/sdk/sdk.dart b/pkg/analyzer/lib/src/dart/sdk/sdk.dart
index 2a71fce3fc57a0416430881ce7fb22fe331b27f0..303e6a49f917532b809816a197506a967fce831c 100644
--- a/pkg/analyzer/lib/src/dart/sdk/sdk.dart
+++ b/pkg/analyzer/lib/src/dart/sdk/sdk.dart
@@ -66,6 +66,11 @@ abstract class AbstractDartSdk implements DartSdk {
PackageBundle _sdkBundle;
/**
+ * Return the analysis options for this SDK analysis context.
+ */
+ AnalysisOptions get analysisOptions => _analysisOptions;
+
+ /**
* Set the [options] for this SDK analysis context. Throw [StateError] if the
* context has been already created.
*/

Powered by Google App Engine
This is Rietveld 408576698