Add a new experimental 'flutter' domain and move FLUTTER_OUTLINE there.
R=brianwilkerson@google.com, devoncarew@google.com Change-Id: I8f829f10a630e38c5a3f1638d077e37832a08daa Reviewed-on: https://dart-review.googlesource.com/36320 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
42e2a555be
commit
402af4db46
@@ -626,6 +626,35 @@ public interface AnalysisServer {
|
||||
*/
|
||||
public void execution_setSubscriptions(List<String> subscriptions);
|
||||
|
||||
/**
|
||||
* {@code flutter.setSubscriptions}
|
||||
*
|
||||
* Subscribe for services that are specific to individual files. All previous subscriptions are
|
||||
* replaced by the current set of subscriptions. If a given service is not included as a key in the
|
||||
* map then no files will be subscribed to the service, exactly as if the service had been included
|
||||
* in the map with an explicit empty list of files.
|
||||
*
|
||||
* Note that this request determines the set of requested subscriptions. The actual set of
|
||||
* subscriptions at any given time is the intersection of this set with the set of files currently
|
||||
* subject to analysis. The files currently subject to analysis are the set of files contained
|
||||
* within an actual analysis root but not excluded, plus all of the files transitively reachable
|
||||
* from those files via import, export and part directives. (See analysis.setAnalysisRoots for an
|
||||
* explanation of how the actual analysis roots are determined.) When the actual analysis roots
|
||||
* change, the actual set of subscriptions is automatically updated, but the set of requested
|
||||
* subscriptions is unchanged.
|
||||
*
|
||||
* If a requested subscription is a directory it is ignored, but remains in the set of requested
|
||||
* subscriptions so that if it later becomes a file it can be included in the set of actual
|
||||
* subscriptions.
|
||||
*
|
||||
* It is an error if any of the keys in the map are not valid services. If there is an error, then
|
||||
* the existing subscriptions will remain unchanged.
|
||||
*
|
||||
* @param subscriptions A table mapping services to a list of the files being subscribed to the
|
||||
* service.
|
||||
*/
|
||||
public void flutter_setSubscriptions(Map<String, List<String>> subscriptions);
|
||||
|
||||
/**
|
||||
* Return {@code true} if the socket is open.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user