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

Side by Side Diff: pkg/analyzer_plugin/tool/spec/plugin_spec.html

Issue 2678263005: Add a priority to source changes for assists and fixes (Closed)
Patch Set: Created 3 years, 10 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/analyzer_plugin/test/integration/support/protocol_matchers.dart ('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 Plugin API Specification</title> 5 <title>Analysis Server Plugin API Specification</title>
6 </head> 6 </head>
7 <body> 7 <body>
8 <h1>Analysis Server Plugin API Specification</h1> 8 <h1>Analysis Server Plugin API Specification</h1>
9 <h1 style="color:#999999">Version 9 <h1 style="color:#999999">Version
10 <version>1.0.0-alpha.0</version> 10 <version>1.0.0-alpha.0</version>
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 <field name="length"> 590 <field name="length">
591 <ref>int</ref> 591 <ref>int</ref>
592 <p> 592 <p>
593 The length of the code for which assists are being requested. 593 The length of the code for which assists are being requested.
594 </p> 594 </p>
595 </field> 595 </field>
596 </params> 596 </params>
597 <result> 597 <result>
598 <field name="assists"> 598 <field name="assists">
599 <list> 599 <list>
600 <ref>SourceChange</ref> 600 <ref>PrioritizedSourceChange</ref>
601 </list> 601 </list>
602 <p> 602 <p>
603 The assists that are available at the given location. 603 The assists that are available at the given location.
604 </p> 604 </p>
605 </field> 605 </field>
606 </result> 606 </result>
607 </request> 607 </request>
608 <request method="getAvailableRefactorings"> 608 <request method="getAvailableRefactorings">
609 <p> 609 <p>
610 Used to request a list of the kinds of refactorings that are valid for the 610 Used to request a list of the kinds of refactorings that are valid for the
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 A list of fixes associated with a specific error 884 A list of fixes associated with a specific error
885 </p> 885 </p>
886 <object> 886 <object>
887 <field name="error"> 887 <field name="error">
888 <ref>AnalysisError</ref> 888 <ref>AnalysisError</ref>
889 <p> 889 <p>
890 The error with which the fixes are associated. 890 The error with which the fixes are associated.
891 </p> 891 </p>
892 </field> 892 </field>
893 <field name="fixes"> 893 <field name="fixes">
894 <list><ref>SourceChange</ref></list> 894 <list><ref>PrioritizedSourceChange</ref></list>
895 <p> 895 <p>
896 The fixes associated with the error. 896 The fixes associated with the error.
897 </p> 897 </p>
898 </field> 898 </field>
899 </object> 899 </object>
900 </type> 900 </type>
901 <type name="AnalysisErrorSeverity"> 901 <type name="AnalysisErrorSeverity">
902 <p> 902 <p>
903 An enumeration of the possible severities of analysis errors. 903 An enumeration of the possible severities of analysis errors.
904 </p> 904 </p>
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 </p> 1916 </p>
1917 </field> 1917 </field>
1918 <field name="offset"> 1918 <field name="offset">
1919 <ref>int</ref> 1919 <ref>int</ref>
1920 <p> 1920 <p>
1921 The offset of the position. 1921 The offset of the position.
1922 </p> 1922 </p>
1923 </field> 1923 </field>
1924 </object> 1924 </object>
1925 </type> 1925 </type>
1926 <type name="PrioritizedSourceChange">
1927 <p>
1928 A source change that has a priority associated with it.
1929 </p>
1930 <object>
1931 <field name="priority">
1932 <ref>int</ref>
1933 <p>
1934 The priority of the change. The value is expected to be non-negative,
1935 and zero (0) is the lowest priority.
1936 </p>
1937 </field>
1938 <field name="change">
1939 <ref>SourceChange</ref>
1940 <p>
1941 The change with which the relevance is associated.
1942 </p>
1943 </field>
1944 </object>
1945 </type>
1926 <type name="RefactoringFeedback"> 1946 <type name="RefactoringFeedback">
1927 <p> 1947 <p>
1928 An abstract superclass of all refactoring feedbacks. 1948 An abstract superclass of all refactoring feedbacks.
1929 </p> 1949 </p>
1930 <object> 1950 <object>
1931 </object> 1951 </object>
1932 </type> 1952 </type>
1933 <type name="RefactoringKind"> 1953 <type name="RefactoringKind">
1934 <p> 1954 <p>
1935 An enumeration of the kinds of refactorings that can be created. 1955 An enumeration of the kinds of refactorings that can be created.
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
2778 The name that the element should have after the refactoring. 2798 The name that the element should have after the refactoring.
2779 </p> 2799 </p>
2780 </field> 2800 </field>
2781 </options> 2801 </options>
2782 </refactoring> 2802 </refactoring>
2783 </refactorings> 2803 </refactorings>
2784 <h2 class="domain"><a name="index">Index</a></h2> 2804 <h2 class="domain"><a name="index">Index</a></h2>
2785 <index></index> 2805 <index></index>
2786 </body> 2806 </body>
2787 </html> 2807 </html>
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698