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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 531153002: Clarify type names in analysis server API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_dart_protocol.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index 02ee7a6e4ae542f1fe462a8a925a3d100aaf2b03..8e2936047232c884cd250151fda98eb3b23c57be 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -1151,7 +1151,7 @@
</params>
<result>
<field name="fixes">
- <list><ref>ErrorFixes</ref></list>
+ <list><ref>AnalysisErrorFixes</ref></list>
<p>
The fixes that are available for each of the analysis
errors. There is a one-to-one correspondence between the
@@ -1455,13 +1455,13 @@
</p>
<object>
<field name="severity">
- <ref>ErrorSeverity</ref>
+ <ref>AnalysisErrorSeverity</ref>
<p>
The severity of the error.
</p>
</field>
<field name="type">
- <ref>ErrorType</ref>
+ <ref>AnalysisErrorType</ref>
<p>
The type of the error.
</p>
@@ -1491,6 +1491,49 @@
</field>
</object>
</type>
+ <type name="AnalysisErrorFixes">
+ <p>
+ A list of fixes associated with a specific error
+ </p>
+ <object>
+ <field name="error">
+ <ref>AnalysisError</ref>
+ <p>
+ The error with which the fixes are associated.
+ </p>
+ </field>
+ <field name="fixes">
+ <list><ref>SourceChange</ref></list>
+ <p>
+ The fixes associated with the error.
+ </p>
+ </field>
+ </object>
+ </type>
+ <type name="AnalysisErrorSeverity">
+ <p>
+ An enumeration of the possible severities of analysis
+ errors.
+ </p>
+ <enum>
+ <value><code>INFO</code></value>
+ <value><code>WARNING</code></value>
+ <value><code>ERROR</code></value>
+ </enum>
+ </type>
+ <type name="AnalysisErrorType">
+ <p>
+ An enumeration of the possible types of analysis errors.
+ </p>
+ <enum>
+ <value><code>COMPILE_TIME_ERROR</code></value>
+ <value><code>HINT</code></value>
+ <value><code>STATIC_TYPE_WARNING</code></value>
+ <value><code>STATIC_WARNING</code></value>
+ <value><code>SYNTACTIC_ERROR</code></value>
+ <value><code>TODO</code></value>
+ </enum>
+ </type>
<type name="AnalysisOptions">
<p>
A set of options controlling what kind of analysis is to be
@@ -1876,49 +1919,6 @@
<value><code>UNKNOWN</code></value>
</enum>
</type>
- <type name="ErrorFixes">
- <p>
- A list of fixes associated with a specific error
- </p>
- <object>
- <field name="error">
- <ref>AnalysisError</ref>
- <p>
- The error with which the fixes are associated.
- </p>
- </field>
- <field name="fixes">
- <list><ref>SourceChange</ref></list>
- <p>
- The fixes associated with the error.
- </p>
- </field>
- </object>
- </type>
- <type name="ErrorSeverity">
- <p>
- An enumeration of the possible severities of analysis
- errors.
- </p>
- <enum>
- <value><code>INFO</code></value>
- <value><code>WARNING</code></value>
- <value><code>ERROR</code></value>
- </enum>
- </type>
- <type name="ErrorType">
- <p>
- An enumeration of the possible types of analysis errors.
- </p>
- <enum>
- <value><code>COMPILE_TIME_ERROR</code></value>
- <value><code>HINT</code></value>
- <value><code>STATIC_TYPE_WARNING</code></value>
- <value><code>STATIC_WARNING</code></value>
- <value><code>SYNTACTIC_ERROR</code></value>
- <value><code>TODO</code></value>
- </enum>
- </type>
<type name="ExecutableFile">
<p>
A description of an executable file.
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_dart_protocol.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698