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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 1227143003: Update Analysis Server highlight API and implementation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Split DYNAMIC_VARIABLE, add UNRESOLVED_INSTANCE_MEMBER_REFERENCE. Created 5 years, 5 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
OLDNEW
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 25 matching lines...) Expand all
36 } 36 }
37 dt.request { 37 dt.request {
38 font-weight: bold; 38 font-weight: bold;
39 } 39 }
40 dt.typeDefinition { 40 dt.typeDefinition {
41 font-weight: bold; 41 font-weight: bold;
42 } 42 }
43 </style></head> 43 </style></head>
44 <body> 44 <body>
45 <h1>Analysis Server API Specification</h1> 45 <h1>Analysis Server API Specification</h1>
46 <h1 style="color:#999999">Version 1.7.0</h1> 46 <h1 style="color:#999999">Version 2.0.0</h1>
47 <p> 47 <p>
48 This document contains a specification of the API provided by the 48 This document contains a specification of the API provided by the
49 analysis server. The API in this document is currently under 49 analysis server. The API in this document is currently under
50 development. Changes to the API will be accompanied by an update to the 50 development. Changes to the API will be accompanied by an update to the
51 protocol version number according to the principles of semantic 51 protocol version number according to the principles of semantic
52 versioning <a href="http://semver.org/">http://semver.org/</a>. 52 versioning <a href="http://semver.org/">http://semver.org/</a>.
53 </p> 53 </p>
54 <h2>Overview</h2> 54 <h2>Overview</h2>
55 <p> 55 <p>
56 The analysis server API is a bi-directional client-server 56 The analysis server API is a bi-directional client-server
(...skipping 2589 matching lines...) Expand 10 before | Expand all | Expand 10 after
2646 2646
2647 <p> 2647 <p>
2648 The length of the region to be highlighted. 2648 The length of the region to be highlighted.
2649 </p> 2649 </p>
2650 </dd></dl></dd><dt class="typeDefinition"><a name="type_HighlightRegio nType">HighlightRegionType: String</a></dt><dd> 2650 </dd></dl></dd><dt class="typeDefinition"><a name="type_HighlightRegio nType">HighlightRegionType: String</a></dt><dd>
2651 <p> 2651 <p>
2652 An enumeration of the kinds of highlighting that can be 2652 An enumeration of the kinds of highlighting that can be
2653 applied to files. 2653 applied to files.
2654 </p> 2654 </p>
2655 2655
2656 <dl><dt class="value">ANNOTATION</dt><dt class="value">BUILT_IN</dt><dt cl ass="value">CLASS</dt><dt class="value">COMMENT_BLOCK</dt><dt class="value">COMM ENT_DOCUMENTATION</dt><dt class="value">COMMENT_END_OF_LINE</dt><dt class="value ">CONSTRUCTOR</dt><dt class="value">DIRECTIVE</dt><dt class="value">DYNAMIC_TYPE </dt><dt class="value">ENUM</dt><dt class="value">ENUM_CONSTANT</dt><dt class="v alue">FIELD</dt><dt class="value">FIELD_STATIC</dt><dt class="value">FUNCTION</d t><dt class="value">FUNCTION_DECLARATION</dt><dt class="value">FUNCTION_TYPE_ALI AS</dt><dt class="value">GETTER_DECLARATION</dt><dt class="value">IDENTIFIER_DEF AULT</dt><dt class="value">IMPORT_PREFIX</dt><dt class="value">KEYWORD</dt><dt c lass="value">LABEL</dt><dt class="value">LITERAL_BOOLEAN</dt><dt class="value">L ITERAL_DOUBLE</dt><dt class="value">LITERAL_INTEGER</dt><dt class="value">LITERA L_LIST</dt><dt class="value">LITERAL_MAP</dt><dt class="value">LITERAL_STRING</d t><dt class="value">LOCAL_VARIABLE</dt><dt class="value">LOCAL_VARIABLE_DECLARAT ION</dt><dt class="value">METHOD</dt><dt class="value">METHOD_DECLARATION</dt><d t class="value">METHOD_DECLARATION_STATIC</dt><dt class="value">METHOD_STATIC</d t><dt class="value">PARAMETER</dt><dt class="value">SETTER_DECLARATION</dt><dt c lass="value">TOP_LEVEL_VARIABLE</dt><dt class="value">TYPE_NAME_DYNAMIC</dt><dt class="value">TYPE_PARAMETER</dt></dl></dd><dt class="typeDefinition"><a name="t ype_HoverInformation">HoverInformation: object</a></dt><dd> 2656 <dl><dt class="value">ANNOTATION</dt><dt class="value">BUILT_IN</dt><dt cl ass="value">CLASS</dt><dt class="value">COMMENT_BLOCK</dt><dt class="value">COMM ENT_DOCUMENTATION</dt><dt class="value">COMMENT_END_OF_LINE</dt><dt class="value ">CONSTRUCTOR</dt><dt class="value">DIRECTIVE</dt><dt class="value">DYNAMIC_LOCA L_VARIABLE_DECLARATION</dt><dt class="value">DYNAMIC_LOCAL_VARIABLE_REFERENCE</d t><dt class="value">DYNAMIC_PARAMETER_DECLARATION</dt><dt class="value">DYNAMIC_ PARAMETER_REFERENCE</dt><dt class="value">ENUM</dt><dt class="value">ENUM_CONSTA NT</dt><dt class="value">FUNCTION_TYPE_ALIAS</dt><dt class="value">IDENTIFIER_DE FAULT</dt><dt class="value">IMPORT_PREFIX</dt><dt class="value">INSTANCE_FIELD_D ECLARATION</dt><dt class="value">INSTANCE_FIELD_REFERENCE</dt><dt class="value"> INSTANCE_GETTER_DECLARATION</dt><dt class="value">INSTANCE_METHOD_DECLARATION</d t><dt class="value">INSTANCE_METHOD_REFERENCE</dt><dt class="value">INSTANCE_SET TER_DECLARATION</dt><dt class="value">INVALID_STRING_ESCAPE</dt><dt class="value ">KEYWORD</dt><dt class="value">LABEL</dt><dt class="value">LITERAL_BOOLEAN</dt> <dt class="value">LITERAL_DOUBLE</dt><dt class="value">LITERAL_INTEGER</dt><dt c lass="value">LITERAL_LIST</dt><dt class="value">LITERAL_MAP</dt><dt class="value ">LITERAL_STRING</dt><dt class="value">LOCAL_FUNCTION_DECLARATION</dt><dt class= "value">LOCAL_FUNCTION_REFERENCE</dt><dt class="value">LOCAL_VARIABLE_DECLARATIO N</dt><dt class="value">LOCAL_VARIABLE_REFERENCE</dt><dt class="value">PARAMETER _DECLARATION</dt><dt class="value">PARAMETER_REFERENCE</dt><dt class="value">STA TIC_FIELD_DECLARATION</dt><dt class="value">STATIC_FIELD_REFERENCE</dt><dt class ="value">STATIC_GETTER_DECLARATION</dt><dt class="value">STATIC_METHOD_DECLARATI ON</dt><dt class="value">STATIC_METHOD_REFERENCE</dt><dt class="value">STATIC_SE TTER_DECLARATION</dt><dt class="value">TOP_LEVEL_FUNCTION_DECLARATION</dt><dt cl ass="value">TOP_LEVEL_FUNCTION_REFERENCE</dt><dt class="value">TOP_LEVEL_GETTER_ DECLARATION</dt><dt class="value">TOP_LEVEL_SETTER_DECLARATION</dt><dt class="va lue">TOP_LEVEL_VARIABLE_DECLARATION</dt><dt class="value">TOP_LEVEL_VARIABLE_REF ERENCE</dt><dt class="value">TYPE_NAME_DYNAMIC</dt><dt class="value">TYPE_PARAME TER</dt><dt class="value">UNRESOLVED_INSTANCE_MEMBER_REFERENCE</dt><dt class="va lue">VALID_STRING_ESCAPE</dt></dl></dd><dt class="typeDefinition"><a name="type_ HoverInformation">HoverInformation: object</a></dt><dd>
2657 <p> 2657 <p>
2658 The hover information associated with a specific location. 2658 The hover information associated with a specific location.
2659 </p> 2659 </p>
2660 2660
2661 <dl><dt class="field"><b><i>offset ( int )</i></b></dt><dd> 2661 <dl><dt class="field"><b><i>offset ( int )</i></b></dt><dd>
2662 2662
2663 <p> 2663 <p>
2664 The offset of the range of characters that encompases the 2664 The offset of the range of characters that encompases the
2665 cursor position and has the same hover information as the 2665 cursor position and has the same hover information as the
2666 cursor position. 2666 cursor position.
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
3815 <p> 3815 <p>
3816 This section contains a list of all of the errors that are 3816 This section contains a list of all of the errors that are
3817 produced by the server and the data that is returned with each. 3817 produced by the server and the data that is returned with each.
3818 </p> 3818 </p>
3819 <p> 3819 <p>
3820 TBD 3820 TBD
3821 </p> 3821 </p>
3822 3822
3823 3823
3824 </body></html> 3824 </body></html>
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | pkg/analysis_server/tool/spec/spec_input.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698