| OLD | NEW |
| 1 <html><head> | 1 <html><head> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <title>Analysis Server API Specification</title> | 3 <title>Analysis Server API Specification</title> |
| 4 <style>body { | 4 <style>body { |
| 5 font-family: sans-serif, serif; | 5 font-family: sans-serif, serif; |
| 6 padding-left: 5%; | 6 padding-left: 5%; |
| 7 padding-right: 5%; | 7 padding-right: 5%; |
| 8 } | 8 } |
| 9 h1 { | 9 h1 { |
| 10 text-align: center; | 10 text-align: center; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 <p> | 157 <p> |
| 158 The specifications of the API’s refer to data structures beyond | 158 The specifications of the API’s refer to data structures beyond |
| 159 the standard JSON primitives. These data structures are | 159 the standard JSON primitives. These data structures are |
| 160 documented in the section titled <a href="#types">Types</a>. | 160 documented in the section titled <a href="#types">Types</a>. |
| 161 </p> | 161 </p> |
| 162 <h3>Command-line Arguments</h3> | 162 <h3>Command-line Arguments</h3> |
| 163 <p> | 163 <p> |
| 164 The command-line arguments that can be passed to the server. | 164 The command-line arguments that can be passed to the server. |
| 165 </p> | 165 </p> |
| 166 <h4>Options</h4> | 166 <h4>Options</h4> |
| 167 <blockquote> |
| 167 <dl> | 168 <dl> |
| 168 <dt>--no-error-notification</dt> | 169 <dt>--no-error-notification</dt> |
| 169 <dd></dd> | 170 <dd> |
| 170 </dl> | |
| 171 <p> | |
| 172 Disable notifications about errors (see analysis.error). If this | 171 Disable notifications about errors (see analysis.error). If this |
| 173 flag is not specified then notifications will be sent for all | 172 flag is not specified then notifications will be sent for all |
| 174 errors produced for all files in the actual analysis roots. | 173 errors produced for all files in the actual analysis roots. |
| 175 </p> | 174 </dd> |
| 175 </dl> |
| 176 </blockquote> |
| 176 <h2 class="domain"><a name="domain_server">Domain: server</a></h2> | 177 <h2 class="domain"><a name="domain_server">Domain: server</a></h2> |
| 177 <p> | 178 <p> |
| 178 The server domain contains API’s related to the execution of | 179 The server domain contains API’s related to the execution of |
| 179 the server. | 180 the server. |
| 180 </p> | 181 </p> |
| 181 | 182 |
| 182 | 183 |
| 183 | 184 |
| 184 | 185 |
| 185 | 186 |
| (...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1627 </p> | 1628 </p> |
| 1628 </dd></dl></dd></dl><h3>Notifications</h3><dl><dt class="notification"
>execution.launchData</dt><dd><div class="box"><pre>notification: { | 1629 </dd></dl></dd></dl><h3>Notifications</h3><dl><dt class="notification"
>execution.launchData</dt><dd><div class="box"><pre>notification: { |
| 1629 "event": "execution.launchData" | 1630 "event": "execution.launchData" |
| 1630 "params": { | 1631 "params": { |
| 1631 "<b>executables</b>": List<<a href="#type_ExecutableFile">ExecutableFile<
/a>> | 1632 "<b>executables</b>": List<<a href="#type_ExecutableFile">ExecutableFile<
/a>> |
| 1632 "<b>dartToHtml</b>": Map<<a href="#type_FilePath">FilePath</a>, List<<
a href="#type_FilePath">FilePath</a>>> | 1633 "<b>dartToHtml</b>": Map<<a href="#type_FilePath">FilePath</a>, List<<
a href="#type_FilePath">FilePath</a>>> |
| 1633 "<b>htmlToDart</b>": Map<<a href="#type_FilePath">FilePath</a>, List<<
a href="#type_FilePath">FilePath</a>>> | 1634 "<b>htmlToDart</b>": Map<<a href="#type_FilePath">FilePath</a>, List<<
a href="#type_FilePath">FilePath</a>>> |
| 1634 } | 1635 } |
| 1635 }</pre></div> | 1636 }</pre></div> |
| 1636 <p> | 1637 <p> |
| 1637 Reports information needed to allow applications within the given | 1638 Reports information needed to allow applications to be launched. |
| 1638 context to be launched. | |
| 1639 </p> | 1639 </p> |
| 1640 <p> | 1640 <p> |
| 1641 This notification is not subscribed to by default. Clients can | 1641 This notification is not subscribed to by default. Clients can |
| 1642 subscribe by including the value "LAUNCH_DATA" in the list of services | 1642 subscribe by including the value "LAUNCH_DATA" in the list of services |
| 1643 passed in a execution.setSubscriptions request. | 1643 passed in an <tt>execution.setSubscriptions</tt> request. |
| 1644 </p> | 1644 </p> |
| 1645 | 1645 |
| 1646 <h4>Parameters</h4><dl><dt class="field"><b><i>executables ( List<<a hr
ef="#type_ExecutableFile">ExecutableFile</a>> )</i></b></dt><dd> | 1646 <h4>Parameters</h4><dl><dt class="field"><b><i>executables ( List<<a hr
ef="#type_ExecutableFile">ExecutableFile</a>> )</i></b></dt><dd> |
| 1647 | 1647 |
| 1648 <p> | 1648 <p> |
| 1649 A list of the files that are executable in the given context. This | 1649 A list of the files that are executable. This list replaces any |
| 1650 list replaces any previous list provided for the given context. | 1650 previous list provided. |
| 1651 </p> | 1651 </p> |
| 1652 </dd><dt class="field"><b><i>dartToHtml ( Map<<a href="#type_FilePa
th">FilePath</a>, List<<a href="#type_FilePath">FilePath</a>>> )</i></b
></dt><dd> | 1652 </dd><dt class="field"><b><i>dartToHtml ( Map<<a href="#type_FilePa
th">FilePath</a>, List<<a href="#type_FilePath">FilePath</a>>> )</i></b
></dt><dd> |
| 1653 | 1653 |
| 1654 <p> | 1654 <p> |
| 1655 A mapping from the paths of Dart files that are referenced by HTML | 1655 A mapping from the paths of Dart files that are referenced by HTML |
| 1656 files to a list of the HTML files that reference the Dart files. | 1656 files to a list of the HTML files that reference the Dart files. |
| 1657 </p> | 1657 </p> |
| 1658 </dd><dt class="field"><b><i>htmlToDart ( Map<<a href="#type_FilePa
th">FilePath</a>, List<<a href="#type_FilePath">FilePath</a>>> )</i></b
></dt><dd> | 1658 </dd><dt class="field"><b><i>htmlToDart ( Map<<a href="#type_FilePa
th">FilePath</a>, List<<a href="#type_FilePath">FilePath</a>>> )</i></b
></dt><dd> |
| 1659 | 1659 |
| 1660 <p> | 1660 <p> |
| 1661 A mapping from the paths of HTML files that reference Dart files | 1661 A mapping from the paths of HTML files that reference Dart files |
| 1662 to a list of the Dart files they reference. | 1662 to a list of the Dart files they reference. |
| 1663 </p> | 1663 </p> |
| 1664 </dd></dl></dd></dl> | 1664 </dd></dl></dd></dl> |
| 1665 | 1665 |
| 1666 <h2><a name="types">Types</a></h2> | 1666 <h2 class="domain"><a name="types">Types</a></h2> |
| 1667 <p> | 1667 <p> |
| 1668 This section contains descriptions of the data types referenced | 1668 This section contains descriptions of the data types referenced |
| 1669 in the API’s of the various domains. | 1669 in the API’s of the various domains. |
| 1670 </p> | 1670 </p> |
| 1671 | 1671 |
| 1672 | 1672 |
| 1673 | 1673 |
| 1674 | 1674 |
| 1675 | 1675 |
| 1676 | 1676 |
| (...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3143 <p> | 3143 <p> |
| 3144 This section contains a list of all of the errors that are | 3144 This section contains a list of all of the errors that are |
| 3145 produced by the server and the data that is returned with each. | 3145 produced by the server and the data that is returned with each. |
| 3146 </p> | 3146 </p> |
| 3147 <p> | 3147 <p> |
| 3148 TBD | 3148 TBD |
| 3149 </p> | 3149 </p> |
| 3150 | 3150 |
| 3151 | 3151 |
| 3152 </body></html> | 3152 </body></html> |
| OLD | NEW |