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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 1388783003: Spec change: include covering expressions into Extract Local protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/ExtractLocalVariableFeedback.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
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.10.0</version></h1> 9 <h1 style="color:#999999">Version <version>1.10.0</version></h1>
Brian Wilkerson 2015/10/05 18:03:30 We'll need to increment the version number so that
10 <p> 10 <p>
11 This document contains a specification of the API provided by the 11 This document contains a specification of the API provided by the
12 analysis server. The API in this document is currently under 12 analysis server. The API in this document is currently under
13 development. Changes to the API will be accompanied by an update to the 13 development. Changes to the API will be accompanied by an update to the
14 protocol version number according to the principles of semantic 14 protocol version number according to the principles of semantic
15 versioning <a href="http://semver.org/">http://semver.org/</a>. 15 versioning <a href="http://semver.org/">http://semver.org/</a>.
16 </p> 16 </p>
17 <h2>Overview</h2> 17 <h2>Overview</h2>
18 <p> 18 <p>
19 The analysis server API is a bi-directional client-server 19 The analysis server API is a bi-directional client-server
(...skipping 3984 matching lines...) Expand 10 before | Expand all | Expand 10 after
4004 removing the parameter list. 4004 removing the parameter list.
4005 </p> 4005 </p>
4006 <p> 4006 <p>
4007 It is an error if the range contains anything other than all 4007 It is an error if the range contains anything other than all
4008 or part of the name of a single method or if the method has 4008 or part of the name of a single method or if the method has
4009 a non-empty parameter list. 4009 a non-empty parameter list.
4010 </p> 4010 </p>
4011 </refactoring> 4011 </refactoring>
4012 <refactoring kind="EXTRACT_LOCAL_VARIABLE"> 4012 <refactoring kind="EXTRACT_LOCAL_VARIABLE">
4013 <p> 4013 <p>
4014 Create a local variable initialized by a specified 4014 Create a local variable initialized by the expression that covers
4015 expression. 4015 the specified selection.
4016 </p> 4016 </p>
4017 <p> 4017 <p>
4018 It is an error if the range contains anything other than a 4018 It is an error if the selection range is not covered by a
4019 complete expression (no partial expressions are allowed). 4019 complete expression.
4020 </p> 4020 </p>
4021 <feedback> 4021 <feedback>
4022 <field name="coveringExpressionOffsets">
4023 <list><ref>int</ref></list>
4024 <p>
4025 The offsets of the expressions that cover the specified
4026 selection, from the down most to the up most.
4027 </p>
4028 </field>
4029 <field name="coveringExpressionLengths">
4030 <list><ref>int</ref></list>
4031 <p>
4032 The lengths of the expressions that cover the specified
4033 selection, from the down most to the up most.
4034 </p>
4035 </field>
4022 <field name="names"> 4036 <field name="names">
4023 <list><ref>String</ref></list> 4037 <list><ref>String</ref></list>
4024 <p> 4038 <p>
4025 The proposed names for the local variable. 4039 The proposed names for the local variable.
4026 </p> 4040 </p>
4027 </field> 4041 </field>
4028 <field name="offsets"> 4042 <field name="offsets">
4029 <list><ref>int</ref></list> 4043 <list><ref>int</ref></list>
4030 <p> 4044 <p>
4031 The offsets of the expressions that would be replaced by 4045 The offsets of the expressions that would be replaced by
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
4338 This section contains a list of all of the errors that are 4352 This section contains a list of all of the errors that are
4339 produced by the server and the data that is returned with each. 4353 produced by the server and the data that is returned with each.
4340 </p> 4354 </p>
4341 <p> 4355 <p>
4342 TBD 4356 TBD
4343 </p> 4357 </p>
4344 <h2 class="domain"><a name="index">Index</a></h2> 4358 <h2 class="domain"><a name="index">Index</a></h2>
4345 <index></index> 4359 <index></index>
4346 </body> 4360 </body>
4347 </html> 4361 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/ExtractLocalVariableFeedback.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698