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

Unified Diff: pkg/analysis_server/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/analysis_server/tool/spec/codegen_protocol_constants.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart b/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart
index 223d59b54df74097dd9a3ae5bc56a4ffa64cd9c1..cdb7c6a24540a5a88576ae30c46005b074491d59 100644
--- a/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart
+++ b/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart
@@ -9,8 +9,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/analysis_server/tool/spec/codegen_matchers.dart ('k') | pkg/analysis_server/tool/spec/generate_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698