| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_AST_PRINTER_H_ | 5 #ifndef VM_AST_PRINTER_H_ |
| 6 #define VM_AST_PRINTER_H_ | 6 #define VM_AST_PRINTER_H_ |
| 7 | 7 |
| 8 #include "vm/ast.h" | 8 #include "vm/ast.h" |
| 9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 LocalVariable* var, | 35 LocalVariable* var, |
| 36 int indent = 0); | 36 int indent = 0); |
| 37 static void PrintLocalScope(const LocalScope* scope, | 37 static void PrintLocalScope(const LocalScope* scope, |
| 38 int variable_index, | 38 int variable_index, |
| 39 int indent = 0); | 39 int indent = 0); |
| 40 | 40 |
| 41 void VisitGenericAstNode(AstNode* node); | 41 void VisitGenericAstNode(AstNode* node); |
| 42 void VisitGenericLocalNode(AstNode* node, const LocalVariable& local); | 42 void VisitGenericLocalNode(AstNode* node, const LocalVariable& local); |
| 43 void VisitGenericFieldNode(AstNode* node, const Field& field); | 43 void VisitGenericFieldNode(AstNode* node, const Field& field); |
| 44 | 44 |
| 45 intptr_t indent_; |
| 46 |
| 45 DISALLOW_COPY_AND_ASSIGN(AstPrinter); | 47 DISALLOW_COPY_AND_ASSIGN(AstPrinter); |
| 46 }; | 48 }; |
| 47 | 49 |
| 48 } // namespace dart | 50 } // namespace dart |
| 49 | 51 |
| 50 #endif // VM_AST_PRINTER_H_ | 52 #endif // VM_AST_PRINTER_H_ |
| OLD | NEW |