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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 529123002: Make findElementReferences' "id" result optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html><head> 1 <html><head>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <title>Analysis Server API Specification</title> 3 <title>Analysis Server API Specification</title>
4 <style>body { 4 <style>body {
5 font-family: sans-serif, serif; 5 font-family: sans-serif, serif;
6 padding-left: 5%; 6 padding-left: 5%;
7 padding-right: 5%; 7 padding-right: 5%;
8 } 8 }
9 h1 { 9 h1 {
10 text-align: center; 10 text-align: center;
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 "method": "search.findElementReferences" 987 "method": "search.findElementReferences"
988 "params": { 988 "params": {
989 "<b>file</b>": <a href="#type_FilePath">FilePath</a> 989 "<b>file</b>": <a href="#type_FilePath">FilePath</a>
990 "<b>offset</b>": int 990 "<b>offset</b>": int
991 "<b>includePotential</b>": bool 991 "<b>includePotential</b>": bool
992 } 992 }
993 }</pre><br><pre>response: { 993 }</pre><br><pre>response: {
994 "<b>id</b>": String 994 "<b>id</b>": String
995 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a> 995 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a>
996 "result": { 996 "result": {
997 "<b>id</b>": <a href="#type_SearchId">SearchId</a> 997 "<b>id</b>": <span style="color:#999999">optional</span> <a href="#type_Sear chId">SearchId</a>
998 "<b>element</b>": <span style="color:#999999">optional</span> <a href="#type _Element">Element</a> 998 "<b>element</b>": <span style="color:#999999">optional</span> <a href="#type _Element">Element</a>
999 } 999 }
1000 }</pre></div> 1000 }</pre></div>
1001 <p> 1001 <p>
1002 Perform a search for references to the element defined or 1002 Perform a search for references to the element defined or
1003 referenced at the given offset in the given file. 1003 referenced at the given offset in the given file.
1004 </p> 1004 </p>
1005 <p> 1005 <p>
1006 An identifier is returned immediately, and individual 1006 An identifier is returned immediately, and individual
1007 results will be returned via the search.results notification 1007 results will be returned via the search.results notification
(...skipping 12 matching lines...) Expand all
1020 <p> 1020 <p>
1021 The offset within the file of the declaration of or 1021 The offset within the file of the declaration of or
1022 reference to the element. 1022 reference to the element.
1023 </p> 1023 </p>
1024 </dd><dt class="field"><b><i>includePotential ( bool )</i></b></dt><dd > 1024 </dd><dt class="field"><b><i>includePotential ( bool )</i></b></dt><dd >
1025 1025
1026 <p> 1026 <p>
1027 True if potential matches are to be included in the 1027 True if potential matches are to be included in the
1028 results. 1028 results.
1029 </p> 1029 </p>
1030 </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>id ( <a href="#t ype_SearchId">SearchId</a> )</i></b></dt><dd> 1030 </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>id ( <span style ="color:#999999">optional</span> <a href="#type_SearchId">SearchId</a> )</i></b> </dt><dd>
1031 1031
1032 <p> 1032 <p>
1033 The identifier used to associate results with this 1033 The identifier used to associate results with this
1034 search request. 1034 search request.
1035 </p> 1035 </p>
1036 <p>
1037 If no element was found at the given location, this
1038 field will be absent, and no results will be reported
1039 via the search.results notification.
1040 </p>
1036 </dd><dt class="field"><b><i>element ( <span style="color:#999999">opt ional</span> <a href="#type_Element">Element</a> )</i></b></dt><dd> 1041 </dd><dt class="field"><b><i>element ( <span style="color:#999999">opt ional</span> <a href="#type_Element">Element</a> )</i></b></dt><dd>
1037 1042
1038 <p> 1043 <p>
1039 The element referenced or defined at the given offset 1044 The element referenced or defined at the given offset
1040 and whose references will be returned in the search 1045 and whose references will be returned in the search
1041 results. 1046 results.
1042 </p> 1047 </p>
1043 <p> 1048 <p>
1044 If no element was found at the given location, this 1049 If no element was found at the given location, this
1045 field will be absent. 1050 field will be absent.
(...skipping 2044 matching lines...) Expand 10 before | Expand all | Expand 10 after
3090 <p> 3095 <p>
3091 This section contains a list of all of the errors that are 3096 This section contains a list of all of the errors that are
3092 produced by the server and the data that is returned with each. 3097 produced by the server and the data that is returned with each.
3093 </p> 3098 </p>
3094 <p> 3099 <p>
3095 TBD 3100 TBD
3096 </p> 3101 </p>
3097 3102
3098 3103
3099 </body></html> 3104 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698