Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | 1 |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="UTF-8"/> | 4 <meta charset="UTF-8"/> |
| 5 <title>Analysis Server API Specification</title> | 5 <title>Analysis Server API Specification</title> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <h1>Analysis Server API Specification</h1> | 8 <h1>Analysis Server API Specification</h1> |
| 9 <h1 style="color:#999999">Version <version>1.0.0</version></h1> | 9 <h1 style="color:#999999">Version <version>1.0.0</version></h1> |
| 10 <p> | 10 <p> |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 469 <request method="reanalyze"> | 469 <request method="reanalyze"> |
| 470 <p> | 470 <p> |
| 471 Force the re-analysis of everything contained in the | 471 Force the re-analysis of everything contained in the |
| 472 existing analysis roots. This will cause all previously | 472 existing analysis roots. This will cause all previously |
| 473 computed analysis results to be discarded and recomputed, | 473 computed analysis results to be discarded and recomputed, |
| 474 and will cause all subscribed notifications to be re-sent. | 474 and will cause all subscribed notifications to be re-sent. |
| 475 </p> | 475 </p> |
| 476 </request> | 476 </request> |
| 477 <request method="setAnalysisRoots"> | 477 <request method="setAnalysisRoots"> |
| 478 <p> | 478 <p> |
| 479 Sets the root paths used to determine which files to | 479 Sets the root paths used to determine which files to analyze. The set |
| 480 analyze. The set of files to be analyzed are all of the | 480 of files to be analyzed are all of the files in one of the root paths |
| 481 files in one of the root paths that are not also in one of | 481 that are not also in one of the excluded paths and do not start with |
|
Paul Berry
2015/02/04 21:34:44
IMHO this is ambiguous. It's not clear whether "d
| |
| 482 the excluded paths. | 482 a dot ('.'). |
| 483 </p> | 483 </p> |
| 484 <p> | 484 <p> |
| 485 Note that this request determines the set of requested | 485 Note that this request determines the set of requested |
| 486 analysis roots. The actual set of analysis roots at any | 486 analysis roots. The actual set of analysis roots at any |
| 487 given time is the intersection of this set with the set of | 487 given time is the intersection of this set with the set of |
| 488 files and directories actually present on the | 488 files and directories actually present on the |
| 489 filesystem. When the filesystem changes, the actual set of | 489 filesystem. When the filesystem changes, the actual set of |
| 490 analysis roots is automatically updated, but the set of | 490 analysis roots is automatically updated, but the set of |
| 491 requested analysis roots is unchanged. This means that if | 491 requested analysis roots is unchanged. This means that if |
| 492 the client sets an analysis root before the root becomes | 492 the client sets an analysis root before the root becomes |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1294 <params> | 1294 <params> |
| 1295 <field name="file"> | 1295 <field name="file"> |
| 1296 <ref>FilePath</ref> | 1296 <ref>FilePath</ref> |
| 1297 <p> | 1297 <p> |
| 1298 The file containing the code to be formatted. | 1298 The file containing the code to be formatted. |
| 1299 </p> | 1299 </p> |
| 1300 </field> | 1300 </field> |
| 1301 <field name="selectionOffset"> | 1301 <field name="selectionOffset"> |
| 1302 <ref>int</ref> | 1302 <ref>int</ref> |
| 1303 <p> | 1303 <p> |
| 1304 The offset of the current selection in the file. In case | 1304 The offset of the current selection in the file. In case |
| 1305 preserving, selection information is not required, 0 can be | 1305 preserving, selection information is not required, 0 can be |
| 1306 specified for both selection offset and length. | 1306 specified for both selection offset and length. |
| 1307 </p> | 1307 </p> |
| 1308 </field> | 1308 </field> |
| 1309 <field name="selectionLength"> | 1309 <field name="selectionLength"> |
| 1310 <ref>int</ref> | 1310 <ref>int</ref> |
| 1311 <p> | 1311 <p> |
| 1312 The length of the current selection in the file. In case | 1312 The length of the current selection in the file. In case |
| 1313 preserving, selection information is not required, 0 can be | 1313 preserving, selection information is not required, 0 can be |
| 1314 specified for both selection offset and length. | 1314 specified for both selection offset and length. |
| 1315 </p> | 1315 </p> |
| 1316 </field> | 1316 </field> |
| 1317 <!-- | 1317 <!-- |
| 1318 <field name="selectionOnly" optional="true"> | 1318 <field name="selectionOnly" optional="true"> |
| 1319 <ref>bool</ref> | 1319 <ref>bool</ref> |
| 1320 <p> | 1320 <p> |
| 1321 True if the code to be formatted should be limited to the selected | 1321 True if the code to be formatted should be limited to the selected |
| 1322 text (or the smallest portion of text that encloses the selected | 1322 text (or the smallest portion of text that encloses the selected |
| (...skipping 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3796 <h2>Errors</h2> | 3796 <h2>Errors</h2> |
| 3797 <p> | 3797 <p> |
| 3798 This section contains a list of all of the errors that are | 3798 This section contains a list of all of the errors that are |
| 3799 produced by the server and the data that is returned with each. | 3799 produced by the server and the data that is returned with each. |
| 3800 </p> | 3800 </p> |
| 3801 <p> | 3801 <p> |
| 3802 TBD | 3802 TBD |
| 3803 </p> | 3803 </p> |
| 3804 </body> | 3804 </body> |
| 3805 </html> | 3805 </html> |
| OLD | NEW |