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

Unified Diff: pkg/analysis_server/tool/spec/codegen_dart_protocol.dart

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
Index: pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
index 6eb74ed17b54937896d809c42dcb8b67c4a79bed..e8bccf0bdea0606b0846e2ad3ab10a08ce58dcf3 100644
--- a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
+++ b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
@@ -199,7 +199,7 @@ class CodegenProtocolVisitor extends HierarchicalApiVisitor with CodeGenerator {
* the constructor will default the member to the empty list.
*/
static const Map<String, List<String>> _optionalConstructorArguments = const {
- 'ErrorFixes': const ['fixes'],
+ 'AnalysisErrorFixes': const ['fixes'],
'SourceChange': const ['edits', 'linkedEditGroups'],
'SourceFileEdit': const ['edits'],
'TypeHierarchyItem': const ['interfaces', 'mixins', 'subclasses'],
@@ -525,7 +525,7 @@ class CodegenProtocolVisitor extends HierarchicalApiVisitor with CodeGenerator {
*/
bool emitSpecialMethods(String className) {
switch (className) {
- case 'ErrorFixes':
+ case 'AnalysisErrorFixes':
docComment([new dom.Text('Add a [Fix]')]);
writeln('void addFix(Fix fix) {');
indent(() {
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698