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

Unified Diff: runtime/vm/ast_printer.h

Issue 293013005: Fix issue 18435 (2nd attempt). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
===================================================================
--- runtime/vm/ast_printer.h (revision 36398)
+++ runtime/vm/ast_printer.h (working copy)
@@ -18,9 +18,7 @@
static void PrintNode(AstNode* node);
static void PrintFunctionScope(const ParsedFunction& parsed_function);
static void PrintFunctionNodes(const ParsedFunction& parsed_function);
- static void PrintLocalScope(const LocalScope* scope, int variable_index);
-
#define DECLARE_VISITOR_FUNCTION(BaseName) \
virtual void Visit##BaseName##Node(BaseName##Node* node);
@@ -31,6 +29,10 @@
AstPrinter();
~AstPrinter();
+ static void PrintLocalScopeVariable(const LocalScope* scope,
+ LocalVariable* var);
+ static void PrintLocalScope(const LocalScope* scope, int variable_index);
+
void VisitGenericAstNode(AstNode* node);
void VisitGenericLocalNode(AstNode* node, const LocalVariable& local);
void VisitGenericFieldNode(AstNode* node, const Field& field);
« 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