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

Unified Diff: runtime/vm/ast_printer.h

Issue 2946903002: Improve --print-ast printing of LetNode. (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
« no previous file with comments | « no previous file | runtime/vm/ast_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_printer.h
diff --git a/runtime/vm/ast_printer.h b/runtime/vm/ast_printer.h
index f89d9bcfd79a7839952945c126e0f1f84bc6a4bb..f825a5d0f203af7e3a9f44fa5f0f1827f0aeebdc 100644
--- a/runtime/vm/ast_printer.h
+++ b/runtime/vm/ast_printer.h
@@ -44,6 +44,9 @@ class AstPrinter : public AstNodeVisitor {
void VisitGenericLocalNode(AstNode* node, const LocalVariable& local);
void VisitGenericFieldNode(AstNode* node, const Field& field);
+ void PrintLocalVariable(const LocalVariable* variable);
+ void PrintNewlineAndIndent();
+
intptr_t indent_;
Log* logger_;
« no previous file with comments | « no previous file | runtime/vm/ast_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698