Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <meta charset="UTF-8"/> | 3 <meta charset="UTF-8"/> |
| 4 <title>Analysis Server API Specification</title> | 4 <title>Analysis Server API Specification</title> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <h1>Analysis Server API Specification</h1> | 7 <h1>Analysis Server API Specification</h1> |
| 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > | 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > |
| 9 <p> | 9 <p> |
| 10 This document contains a specification of the API provided by | 10 This document contains a specification of the API provided by |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 382 analyzed. | 382 analyzed. |
| 383 </p> | 383 </p> |
| 384 </field> | 384 </field> |
| 385 <field name="excluded"> | 385 <field name="excluded"> |
| 386 <list><ref>FilePath</ref></list> | 386 <list><ref>FilePath</ref></list> |
| 387 <p> | 387 <p> |
| 388 A list of the files and directories within the | 388 A list of the files and directories within the |
| 389 included directories that should not be analyzed. | 389 included directories that should not be analyzed. |
| 390 </p> | 390 </p> |
| 391 </field> | 391 </field> |
| 392 <field name="packageRoots" optional="true"> | |
| 393 <map> | |
| 394 <key><ref>FilePath</ref></key> | |
| 395 <value><ref>FilePath</ref></value> | |
| 396 </map> | |
| 397 <p> | |
| 398 A mapping from source directories to target directories | |
| 399 that should override the normal package: URI resolution | |
| 400 mechanism. The analyzer will behave as though each | |
| 401 source directory in the map contains a special | |
| 402 pubspec.yaml file which resolves any package: URI to the | |
| 403 corresponding path within the target directory. The | |
| 404 effect is the same as specifying the target directory as | |
| 405 a "--package_root" parameter to the Dart VM when | |
| 406 executing any Dart file inside the source directory. | |
| 407 </p> | |
| 408 <p> | |
| 409 If this field is absent, or the empty map is specified, | |
| 410 then all package: URI's are resolved the normal | |
|
Brian Wilkerson
2014/10/22 20:57:08
"resolved the" --> "resolved using the"
And I ass
Paul Berry
2014/10/23 00:09:01
Done.
| |
| 411 pubspec.yaml mechanism. | |
| 412 </p> | |
| 413 </field> | |
| 392 </params> | 414 </params> |
| 393 </request> | 415 </request> |
| 394 <request method="setPriorityFiles"> | 416 <request method="setPriorityFiles"> |
| 395 <p> | 417 <p> |
| 396 Set the priority files to the files in the given list. A | 418 Set the priority files to the files in the given list. A |
| 397 priority file is a file that is given priority when | 419 priority file is a file that is given priority when |
| 398 scheduling which analysis work to do first. The list | 420 scheduling which analysis work to do first. The list |
| 399 typically contains those files that are visible to the user | 421 typically contains those files that are visible to the user |
| 400 and those for which analysis results will have the biggest | 422 and those for which analysis results will have the biggest |
| 401 impact on the user experience. The order of the files within | 423 impact on the user experience. The order of the files within |
| (...skipping 2984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3386 <h2>Errors</h2> | 3408 <h2>Errors</h2> |
| 3387 <p> | 3409 <p> |
| 3388 This section contains a list of all of the errors that are | 3410 This section contains a list of all of the errors that are |
| 3389 produced by the server and the data that is returned with each. | 3411 produced by the server and the data that is returned with each. |
| 3390 </p> | 3412 </p> |
| 3391 <p> | 3413 <p> |
| 3392 TBD | 3414 TBD |
| 3393 </p> | 3415 </p> |
| 3394 </body> | 3416 </body> |
| 3395 </html> | 3417 </html> |
| OLD | NEW |