Chromium Code Reviews| Index: pkg/analysis_server/tool/spec/spec_input.html |
| diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html |
| index e2a4c158ba843ebfcb417a9cc103687a464a1aa8..1598d7954320ada476ca63c002fa5659ebfbcfbb 100644 |
| --- a/pkg/analysis_server/tool/spec/spec_input.html |
| +++ b/pkg/analysis_server/tool/spec/spec_input.html |
| @@ -1801,6 +1801,46 @@ |
| </field> |
| </result> |
| </request> |
| + <request method="getStatementCompletion"> |
| + <p> |
| + Get the changes required to convert the partial statement at the given |
| + location into a syntactically valid statement. If the current statement |
| + is already valid the change will insert a newline plus appropriate |
| + indentation at the end of the line containing the offset. |
| + If a change that makes the statement valid cannot be determined (perhaps |
| + because it has not yet been implemented) the statement will be considered |
| + already valid and the appropriate change returned. |
| + </p> |
| + <params> |
| + <field name="file"> |
| + <ref>FilePath</ref> |
| + <p> |
| + The file containing the statement to be completed. |
| + </p> |
| + </field> |
| + <field name="offset"> |
| + <ref>int</ref> |
| + <p> |
| + The offset used to identify the statement to be completed. |
| + </p> |
| + </field> |
| + </params> |
| + <result> |
| + <field name="change"> |
| + <ref>SourceChange</ref> |
| + <p> |
| + The change to be applied in order to complete the statement. |
| + </p> |
| + </field> |
| + <field name="whitespaceOnly"> |
| + <ref>int</ref> |
|
scheglov
2017/03/29 01:18:34
bool?
|
| + <p> |
| + Will be true if the change contains nothing but whitespace |
| + characters, or is empty. |
| + </p> |
| + </field> |
| + </result> |
| + </request> |
| <request method="sortMembers"> |
| <p> |
| Sort all of the directives, unit and class members |