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

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

Issue 1372623004: New analysis.implemented notification specification. (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/ImplementedElement.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.9.0</version></h1> 9 <h1 style="color:#999999">Version <version>1.9.0</version></h1>
10 <p> 10 <p>
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 The highlight regions contained in the file. Each 872 The highlight regions contained in the file. Each
873 highlight region represents a particular syntactic or 873 highlight region represents a particular syntactic or
874 semantic meaning associated with some range. Note that 874 semantic meaning associated with some range. Note that
875 the highlight regions that are returned can overlap 875 the highlight regions that are returned can overlap
876 other highlight regions if there is more than one 876 other highlight regions if there is more than one
877 meaning associated with a particular region. 877 meaning associated with a particular region.
878 </p> 878 </p>
879 </field> 879 </field>
880 </params> 880 </params>
881 </notification> 881 </notification>
882 <notification event="implemented">
883 <p>
884 Reports the implemented classes and class members in a file.
885 </p>
886 <p>
887 This notification is not subscribed to by default. Clients
888 can subscribe by including the value <tt>"IMPLEMENTED"</tt> in
889 the list of services passed in an analysis.setSubscriptions
890 request.
891 </p>
892 <params>
893 <field name="file">
894 <ref>FilePath</ref>
895 <p>
896 The file with which the implementations are associated.
897 </p>
898 </field>
899 <field name="implementedElements">
scheglov 2015/09/25 15:48:56 Unfortunately "implemented" is not a noun in Engli
900 <list><ref>ImplementedElement</ref></list>
901 <p>
902 The classes or class members defined in the file that have
903 implementations or overrides.
904 </p>
905 </field>
906 </params>
907 </notification>
882 <notification event="invalidate"> 908 <notification event="invalidate">
883 <p> 909 <p>
884 Reports that the navigation information associated with a region of a 910 Reports that the navigation information associated with a region of a
885 single file has become invalid and should be re-requested. 911 single file has become invalid and should be re-requested.
886 </p> 912 </p>
887 <p> 913 <p>
888 This notification is not subscribed to by default. Clients can 914 This notification is not subscribed to by default. Clients can
889 subscribe by including the value <tt>"INVALIDATE"</tt> in the list of 915 subscribe by including the value <tt>"INVALIDATE"</tt> in the list of
890 services passed in an analysis.setSubscriptions request. 916 services passed in an analysis.setSubscriptions request.
891 </p> 917 </p>
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2095 </object> 2121 </object>
2096 </type> 2122 </type>
2097 <type name="AnalysisService"> 2123 <type name="AnalysisService">
2098 <p> 2124 <p>
2099 An enumeration of the services provided by the analysis domain that 2125 An enumeration of the services provided by the analysis domain that
2100 are related to a specific list of files. 2126 are related to a specific list of files.
2101 </p> 2127 </p>
2102 <enum> 2128 <enum>
2103 <value><code>FOLDING</code></value> 2129 <value><code>FOLDING</code></value>
2104 <value><code>HIGHLIGHTS</code></value> 2130 <value><code>HIGHLIGHTS</code></value>
2131 <value><code>IMPLEMENTED</code></value>
2105 <value> 2132 <value>
2106 <code>INVALIDATE</code> 2133 <code>INVALIDATE</code>
2107 <p> 2134 <p>
2108 This service is not currently implemented and will become a 2135 This service is not currently implemented and will become a
2109 GeneralAnalysisService in a future release. 2136 GeneralAnalysisService in a future release.
2110 </p> 2137 </p>
2111 </value> 2138 </value>
2112 <value><code>NAVIGATION</code></value> 2139 <value><code>NAVIGATION</code></value>
2113 <value><code>OCCURRENCES</code></value> 2140 <value><code>OCCURRENCES</code></value>
2114 <value><code>OUTLINE</code></value> 2141 <value><code>OUTLINE</code></value>
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 <field name="staticType" optional="true"> 2946 <field name="staticType" optional="true">
2920 <ref>String</ref> 2947 <ref>String</ref>
2921 <p> 2948 <p>
2922 The name of the static type of the expression. This data 2949 The name of the static type of the expression. This data
2923 is omitted if the location does not correspond to an 2950 is omitted if the location does not correspond to an
2924 expression. 2951 expression.
2925 </p> 2952 </p>
2926 </field> 2953 </field>
2927 </object> 2954 </object>
2928 </type> 2955 </type>
2956 <type name="ImplementedElement">
2957 <p>
2958 A description of a class or class member that is implemented
2959 by other classes or class members.
2960 </p>
2961 <object>
2962 <field name="offset">
2963 <ref>int</ref>
2964 <p>
2965 The offset of the name of the implemented element.
2966 </p>
2967 </field>
2968 <field name="length">
2969 <ref>int</ref>
2970 <p>
2971 The length of the name of the implemented element.
2972 </p>
2973 </field>
2974 <field name="implementations" optional="true">
2975 <list><ref>Implementation</ref></list>
2976 <p>
2977 The classes or class members that implement this element.
2978 </p>
2979 </field>
2980 </object>
2981 </type>
2982 <type name="Implementation">
2983 <p>
2984 A description of an element that implements a class or class member.
2985 </p>
2986 <object>
2987 <field name="element">
2988 <ref>Element</ref>
2989 <p>
2990 The element that implements a class or class member.
2991 </p>
2992 </field>
2993 <field name="className" optional="true">
2994 <ref>String</ref>
2995 <p>
2996 The name of the class in which the class member is implemented.
2997 This field is omitted if the element itself is a class.
2998 </p>
2999 </field>
3000 </object>
3001 </type>
2929 <type name="LinkedEditGroup"> 3002 <type name="LinkedEditGroup">
2930 <p> 3003 <p>
2931 A collection of positions that should be linked (edited 3004 A collection of positions that should be linked (edited
2932 simultaneously) for the purposes of updating code after a 3005 simultaneously) for the purposes of updating code after a
2933 source change. For example, if a set of edits introduced a 3006 source change. For example, if a set of edits introduced a
2934 new variable name, the group would contain all of the 3007 new variable name, the group would contain all of the
2935 positions of the variable name so that if the client wanted 3008 positions of the variable name so that if the client wanted
2936 to let the user edit the variable name after the operation, 3009 to let the user edit the variable name after the operation,
2937 all occurrences of the name could be edited simultaneously. 3010 all occurrences of the name could be edited simultaneously.
2938 </p> 3011 </p>
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
4241 This section contains a list of all of the errors that are 4314 This section contains a list of all of the errors that are
4242 produced by the server and the data that is returned with each. 4315 produced by the server and the data that is returned with each.
4243 </p> 4316 </p>
4244 <p> 4317 <p>
4245 TBD 4318 TBD
4246 </p> 4319 </p>
4247 <h2 class="domain"><a name="index">Index</a></h2> 4320 <h2 class="domain"><a name="index">Index</a></h2>
4248 <index></index> 4321 <index></index>
4249 </body> 4322 </body>
4250 </html> 4323 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/ImplementedElement.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698