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

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

Issue 484313002: Make search.findElementReferences.result.element field optional. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/generated_protocol.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_Error">Err or</a> 995 "error": <span style="color:#999999">optional</span> <a href="#type_Error">Err or</a>
996 "result": { 996 "result": {
997 "<b>id</b>": <a href="#type_SearchId">SearchId</a> 997 "<b>id</b>": <a href="#type_SearchId">SearchId</a>
998 "<b>element</b>": <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
1008 as they become available. 1008 as they become available.
(...skipping 17 matching lines...) Expand all
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 ( <a href="#t ype_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 </dd><dt class="field"><b><i>element ( <a href="#type_Element">Element </a> )</i></b></dt><dd> 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>
1037 1037
1038 <p> 1038 <p>
1039 The element referenced or defined at the given offset 1039 The element referenced or defined at the given offset
1040 and whose references will be returned in the search 1040 and whose references will be returned in the search
1041 results. 1041 results.
1042 </p> 1042 </p>
1043 <p>
1044 If no element was found at the given location, this
1045 field will be absent.
1046 </p>
1043 </dd></dl></dd><dt class="request">search.findMemberDeclarations</dt>< dd><div class="box"><pre>request: { 1047 </dd></dl></dd><dt class="request">search.findMemberDeclarations</dt>< dd><div class="box"><pre>request: {
1044 "id": String 1048 "id": String
1045 "method": "search.findMemberDeclarations" 1049 "method": "search.findMemberDeclarations"
1046 "params": { 1050 "params": {
1047 "<b>name</b>": String 1051 "<b>name</b>": String
1048 } 1052 }
1049 }</pre><br><pre>response: { 1053 }</pre><br><pre>response: {
1050 "<b>id</b>": String 1054 "<b>id</b>": String
1051 "error": <span style="color:#999999">optional</span> <a href="#type_Error">Err or</a> 1055 "error": <span style="color:#999999">optional</span> <a href="#type_Error">Err or</a>
1052 "result": { 1056 "result": {
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
3035 <p> 3039 <p>
3036 This section contains a list of all of the errors that are 3040 This section contains a list of all of the errors that are
3037 produced by the server and the data that is returned with each. 3041 produced by the server and the data that is returned with each.
3038 </p> 3042 </p>
3039 <p> 3043 <p>
3040 TBD 3044 TBD
3041 </p> 3045 </p>
3042 3046
3043 3047
3044 </body></html> 3048 </body></html>
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/generated_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698