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

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

Issue 473763003: Rename 'kindId' to 'kind' in 'edit.getRefactoring'. (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
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 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 in the response. In particular, it is always the case 1374 in the response. In particular, it is always the case
1375 that errors.length == fixes.length and that fixes[i] is 1375 that errors.length == fixes.length and that fixes[i] is
1376 the list of fixes for the error in errors[i]. The list 1376 the list of fixes for the error in errors[i]. The list
1377 of changes corresponding to an error can be empty if 1377 of changes corresponding to an error can be empty if
1378 there are no fixes available for that error. 1378 there are no fixes available for that error.
1379 </p> 1379 </p>
1380 </dd></dl></dd><dt class="request">edit.getRefactoring</dt><dd><div cl ass="box"><pre>request: { 1380 </dd></dl></dd><dt class="request">edit.getRefactoring</dt><dd><div cl ass="box"><pre>request: {
1381 "id": String 1381 "id": String
1382 "method": "edit.getRefactoring" 1382 "method": "edit.getRefactoring"
1383 "params": { 1383 "params": {
1384 "<b>kindId</b>": <a href="#type_RefactoringKind">RefactoringKind</a> 1384 "<b>kind</b>": <a href="#type_RefactoringKind">RefactoringKind</a>
1385 "<b>file</b>": <a href="#type_FilePath">FilePath</a> 1385 "<b>file</b>": <a href="#type_FilePath">FilePath</a>
1386 "<b>offset</b>": int 1386 "<b>offset</b>": int
1387 "<b>length</b>": int 1387 "<b>length</b>": int
1388 "<b>validateOnly</b>": bool 1388 "<b>validateOnly</b>": bool
1389 "<b>options</b>": <span style="color:#999999">optional</span> object 1389 "<b>options</b>": <span style="color:#999999">optional</span> object
1390 } 1390 }
1391 }</pre><br><pre>response: { 1391 }</pre><br><pre>response: {
1392 "id": String 1392 "id": String
1393 "error": <span style="color:#999999">optional</span> <a href="#type_Error">Err or</a> 1393 "error": <span style="color:#999999">optional</span> <a href="#type_Error">Err or</a>
1394 "result": { 1394 "result": {
1395 "<b>status</b>": List&lt;<a href="#type_RefactoringProblem">RefactoringProbl em</a>&gt; 1395 "<b>status</b>": List&lt;<a href="#type_RefactoringProblem">RefactoringProbl em</a>&gt;
1396 "<b>feedback</b>": <span style="color:#999999">optional</span> object 1396 "<b>feedback</b>": <span style="color:#999999">optional</span> object
1397 "<b>change</b>": <span style="color:#999999">optional</span> <a href="#type_ SourceChange">SourceChange</a> 1397 "<b>change</b>": <span style="color:#999999">optional</span> <a href="#type_ SourceChange">SourceChange</a>
1398 "<b>potentialEdits</b>": <span style="color:#999999">optional</span> List&lt ;String&gt; 1398 "<b>potentialEdits</b>": <span style="color:#999999">optional</span> List&lt ;String&gt;
1399 } 1399 }
1400 }</pre></div> 1400 }</pre></div>
1401 <p> 1401 <p>
1402 Get the changes required to perform a refactoring. 1402 Get the changes required to perform a refactoring.
1403 </p> 1403 </p>
1404 1404
1405 1405
1406 <h4>Parameters</h4><dl><dt class="field"><b><i>kindId ( <a href="#type_Ref actoringKind">RefactoringKind</a> )</i></b></dt><dd> 1406 <h4>Parameters</h4><dl><dt class="field"><b><i>kind ( <a href="#type_Refac toringKind">RefactoringKind</a> )</i></b></dt><dd>
1407 1407
1408 <p> 1408 <p>
1409 The identifier of the kind of refactoring to be 1409 The kind of refactoring to be performed.
1410 performed.
1411 </p> 1410 </p>
1412 </dd><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath< /a> )</i></b></dt><dd> 1411 </dd><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath< /a> )</i></b></dt><dd>
1413 1412
1414 <p> 1413 <p>
1415 The file containing the code involved in the 1414 The file containing the code involved in the
1416 refactoring. 1415 refactoring.
1417 </p> 1416 </p>
1418 </dd><dt class="field"><b><i>offset ( int )</i></b></dt><dd> 1417 </dd><dt class="field"><b><i>offset ( int )</i></b></dt><dd>
1419 1418
1420 <p> 1419 <p>
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
3044 <p> 3043 <p>
3045 This section contains a list of all of the errors that are 3044 This section contains a list of all of the errors that are
3046 produced by the server and the data that is returned with each. 3045 produced by the server and the data that is returned with each.
3047 </p> 3046 </p>
3048 <p> 3047 <p>
3049 TBD 3048 TBD
3050 </p> 3049 </p>
3051 3050
3052 3051
3053 </body></html> 3052 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698