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

Unified Diff: pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart

Issue 3002293003: Convert GeneratedContent to async and use AnalysisDriver for tasks graph. (Closed)
Patch Set: Created 3 years, 4 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/analyzer_plugin/tool/spec/codegen_protocol_constants.dart
diff --git a/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart b/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart
index 2e0d22d56085072c1d4303d2b9820af8b0c20aa8..d224c46512b2dfd57ecc9c8705714958ac5a35b4 100644
--- a/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart
+++ b/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart
@@ -8,8 +8,8 @@ import 'api.dart';
import 'codegen_dart.dart';
import 'from_html.dart';
-final GeneratedFile target =
- new GeneratedFile('lib/protocol/protocol_constants.dart', (String pkgPath) {
+final GeneratedFile target = new GeneratedFile(
+ 'lib/protocol/protocol_constants.dart', (String pkgPath) async {
CodegenVisitor visitor = new CodegenVisitor(readApi(pkgPath));
return visitor.collectCode(visitor.visitApi);
});
« no previous file with comments | « pkg/analyzer_plugin/tool/spec/codegen_protocol_common.dart ('k') | pkg/analyzer_plugin/tool/spec/generate_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698