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

Unified Diff: pkg/analysis_server/doc/api.html

Issue 456613004: Integration test search.getTypeHierarchy and make some minor fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/analysis_server/doc/api.html
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html
index 4685d73791110d822b080d81a8295242502438cb..fcb39f30b2317d34da6935df748dbc1ab8da1952 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -1137,7 +1137,7 @@ dt {
"id": String
"error": <span style="color:#999999">optional</span> <a href="#type_Error">Error</a>
"result": {
- "<b>hierarchyItems</b>": List&lt;<a href="#type_TypeHierarchyItem">TypeHierarchyItem</a>&gt;
+ "<b>hierarchyItems</b>": <span style="color:#999999">optional</span> List&lt;<a href="#type_TypeHierarchyItem">TypeHierarchyItem</a>&gt;
}
}</pre></div>
<p>
@@ -1157,7 +1157,7 @@ dt {
<p>
The offset of the name of the type within the file.
</p>
- </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>hierarchyItems ( List&lt;<a href="#type_TypeHierarchyItem">TypeHierarchyItem</a>&gt; )</i></b></dt><dd>
+ </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>hierarchyItems ( <span style="color:#999999">optional</span> List&lt;<a href="#type_TypeHierarchyItem">TypeHierarchyItem</a>&gt; )</i></b></dt><dd>
<p>
A list of the types in the requested hierarchy. The
@@ -1167,6 +1167,12 @@ dt {
correspond to the integers used to reference supertype
and subtype items within the items.
</p>
+ <p>
+ This field will be absent if the code at the given file
+ and offset does not represent a type, or if the file has
+ not been sufficiently analyzed to allow a type hierarchy
+ to be produced.
+ </p>
</dd></dl></dd></dl><h3>Notifications</h3><dl><dt class="notification">search.results</dt><dd><div class="box"><pre>notification: {
"event": "search.results"
"params": {
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/protocol.dart » ('j') | pkg/analysis_server/lib/src/search/search_domain.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698