Index: runtime/vm/ast_printer.h |
diff --git a/runtime/vm/ast_printer.h b/runtime/vm/ast_printer.h |
index 8d5d31f1f90a45e1668edde22fdea12deaa7a44d..6823723045a5af596d099bebe160a7e5854890ae 100644 |
--- a/runtime/vm/ast_printer.h |
+++ b/runtime/vm/ast_printer.h |
@@ -29,9 +29,14 @@ class AstPrinter : public AstNodeVisitor { |
AstPrinter(); |
~AstPrinter(); |
+ static const int kScopeIndent = 2; |
+ |
static void PrintLocalScopeVariable(const LocalScope* scope, |
- LocalVariable* var); |
- static void PrintLocalScope(const LocalScope* scope, int variable_index); |
+ LocalVariable* var, |
+ int indent = 0); |
+ static void PrintLocalScope(const LocalScope* scope, |
+ int variable_index, |
+ int indent = 0); |
void VisitGenericAstNode(AstNode* node); |
void VisitGenericLocalNode(AstNode* node, const LocalVariable& local); |