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

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

Issue 596893002: Rework launch data (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated Java side Created 6 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 | Annotate | Revision Log
OLDNEW
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 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 <field name="subscriptions"> 1392 <field name="subscriptions">
1393 <list><ref>ExecutionService</ref></list> 1393 <list><ref>ExecutionService</ref></list>
1394 <p> 1394 <p>
1395 A list of the services being subscribed to. 1395 A list of the services being subscribed to.
1396 </p> 1396 </p>
1397 </field> 1397 </field>
1398 </params> 1398 </params>
1399 </request> 1399 </request>
1400 <notification event="launchData"> 1400 <notification event="launchData">
1401 <p> 1401 <p>
1402 Reports information needed to allow applications to be launched. 1402 Reports information needed to allow a single file to be launched.
1403 </p> 1403 </p>
1404 <p> 1404 <p>
1405 This notification is not subscribed to by default. Clients can 1405 This notification is not subscribed to by default. Clients can
1406 subscribe by including the value "LAUNCH_DATA" in the list of services 1406 subscribe by including the value "LAUNCH_DATA" in the list of services
1407 passed in an <tt>execution.setSubscriptions</tt> request. 1407 passed in an <tt>execution.setSubscriptions</tt> request.
1408 </p> 1408 </p>
1409 <params> 1409 <params>
1410 <field name="executables"> 1410 <field name="file">
1411 <list><ref>ExecutableFile</ref></list> 1411 <ref>FilePath</ref>
1412 <p> 1412 <p>
1413 A list of the files that are executable. This list replaces any 1413 The file for which launch data is being provided. This will either
1414 previous list provided. 1414 be a Dart library or an HTML file.
1415 </p> 1415 </p>
1416 </field> 1416 </field>
1417 <field name="dartToHtml"> 1417 <field name="kind" optional="true">
1418 <map> 1418 <ref>ExecutableKind</ref>
1419 <key><ref>FilePath</ref></key>
1420 <value>
1421 <list><ref>FilePath</ref></list>
1422 </value>
1423 </map>
1424 <p> 1419 <p>
1425 A mapping from the paths of Dart files that are referenced by HTML 1420 The kind of the executable file. This field is omitted if the file
1426 files to a list of the HTML files that reference the Dart files. 1421 is not a Dart file.
1427 </p> 1422 </p>
1428 </field> 1423 </field>
1429 <field name="htmlToDart"> 1424 <field name="referencedFiles" optional="true">
1430 <map> 1425 <list><ref>FilePath</ref></list>
1431 <key><ref>FilePath</ref></key>
1432 <value>
1433 <list><ref>FilePath</ref></list>
1434 </value>
1435 </map>
1436 <p> 1426 <p>
1437 A mapping from the paths of HTML files that reference Dart files 1427 A list of the Dart files that are referenced by the file. This
1438 to a list of the Dart files they reference. 1428 field is omitted if the file is not an HTML file.
1439 </p> 1429 </p>
1440 </field> 1430 </field>
1441 </params> 1431 </params>
1442 </notification> 1432 </notification>
1443 </domain> 1433 </domain>
1444 <types> 1434 <types>
1445 <h2 class="domain"><a name="types">Types</a></h2> 1435 <h2 class="domain"><a name="types">Types</a></h2>
1446 <p> 1436 <p>
1447 This section contains descriptions of the data types referenced 1437 This section contains descriptions of the data types referenced
1448 in the API’s of the various domains. 1438 in the API’s of the various domains.
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1959 </field> 1949 </field>
1960 </object> 1950 </object>
1961 </type> 1951 </type>
1962 <type name="ExecutableKind"> 1952 <type name="ExecutableKind">
1963 <p> 1953 <p>
1964 An enumeration of the kinds of executable files. 1954 An enumeration of the kinds of executable files.
1965 </p> 1955 </p>
1966 <enum> 1956 <enum>
1967 <value><code>CLIENT</code></value> 1957 <value><code>CLIENT</code></value>
1968 <value><code>EITHER</code></value> 1958 <value><code>EITHER</code></value>
1959 <value><code>NOT_EXECUTABLE</code></value>
1969 <value><code>SERVER</code></value> 1960 <value><code>SERVER</code></value>
1970 </enum> 1961 </enum>
1971 </type> 1962 </type>
1972 <type name="ExecutionContextId"> 1963 <type name="ExecutionContextId">
1973 <ref>String</ref> 1964 <ref>String</ref>
1974 <p> 1965 <p>
1975 The identifier for a execution context. 1966 The identifier for a execution context.
1976 </p> 1967 </p>
1977 </type> 1968 </type>
1978 <type name="ExecutionService"> 1969 <type name="ExecutionService">
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
3358 <h2>Errors</h2> 3349 <h2>Errors</h2>
3359 <p> 3350 <p>
3360 This section contains a list of all of the errors that are 3351 This section contains a list of all of the errors that are
3361 produced by the server and the data that is returned with each. 3352 produced by the server and the data that is returned with each.
3362 </p> 3353 </p>
3363 <p> 3354 <p>
3364 TBD 3355 TBD
3365 </p> 3356 </p>
3366 </body> 3357 </body>
3367 </html> 3358 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698