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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 1416093007: Experimental `getDiagnostics` request (#24480). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Review fixes. Created 5 years, 1 month 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/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index 7c8f75333ad26d9c2642ad2f2c8a60e257816db1..45aae246d9cf97cce44f49c35b5b3d975cea7d0f 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -1959,6 +1959,25 @@
</params>
</notification>
</domain>
+ <domain name="experimental" experimental="true">
+ <p>
+ The experimental domain contains experimental server APIs. Experimental
+ APIs are not considered to be part of the analysis server's API, docs are
+ not generated for them and they are subject to change without notice.
+ Because the experimental domain is not part of the analysis server's API,
+ the version number of the API will not be updated when changes are made.
+ Caveat emptor!
+ </p>
+ <request method="getDiagnostics">
+ <p>Return server diagnostics.</p>
+ <result>
+ <field name="contexts">
+ <list><ref>ContextData</ref></list>
+ <p>The list of analysis contexts.</p>
+ </field>
+ </result>
+ </request>
+ </domain>
<types>
<h2 class="domain"><a name="types">Types</a></h2>
<p>
@@ -2441,6 +2460,43 @@
<value><code>PARAMETER</code></value>
</enum>
</type>
+ <type name="ContextData" experimental="true">
+ <p>
+ Information about an analysis context.
+ </p>
+ <object>
+ <field name="name">
+ <ref>String</ref>
+ <p>
+ The name of the context.
+ </p>
+ </field>
+ <field name="explicitFileCount">
+ <ref>int</ref>
+ <p>
+ Explicitly analyzed files.
+ </p>
+ </field>
+ <field name="implicitFileCount">
+ <ref>int</ref>
+ <p>
+ Implicitly analyzed files.
+ </p>
+ </field>
+ <field name="workItemQueueLength">
+ <ref>int</ref>
+ <p>
+ The number of work items in the queue.
+ </p>
+ </field>
+ <field name="cacheEntryExceptions">
+ <list><ref>String</ref></list>
+ <p>
+ Exceptions associated with cache entries.
+ </p>
+ </field>
+ </object>
+ </type>
<type name="Element">
<p>
Information about an element (something that can be declared
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/TypeHierarchyItem.java ('k') | pkg/analysis_server/tool/spec/to_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698