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

Unified Diff: pkg/analysis_server/lib/src/status/ast_writer.dart

Issue 2928033006: Add access to AST and element model data to the status pages (Closed)
Patch Set: Created 3 years, 6 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/lib/src/status/ast_writer.dart
diff --git a/pkg/analysis_server/lib/src/status/ast_writer.dart b/pkg/analysis_server/lib/src/status/ast_writer.dart
index 449205dec4f7f150b1cbf2c85eb84897c45d70a8..908cb67c594b409517c9573050dff0fc6a7fe757 100644
--- a/pkg/analysis_server/lib/src/status/ast_writer.dart
+++ b/pkg/analysis_server/lib/src/status/ast_writer.dart
@@ -87,6 +87,8 @@ class AstWriter extends UnifyingAstVisitor with TreeWriter {
properties['propagated element'] = node.propagatedElement;
properties['propagated invoke type'] = node.propagatedInvokeType;
properties['propagated type'] = node.propagatedType;
+ } else if (node is GenericFunctionType) {
+ properties['type'] = node.type;
} else if (node is ImportDirective) {
properties['element'] = node.element;
properties['selectedSource'] = node.selectedSource;

Powered by Google App Engine
This is Rietveld 408576698