diff src/pt-pr-code.h @ 8658:73c4516fae10

New evaluator and debugger derived from tree-walker class
author John W. Eaton <jwe@octave.org>
date Wed, 04 Feb 2009 00:47:53 -0500
parents 5b4d278ec828
children eb63fbe60fab
line wrap: on
line diff
--- a/src/pt-pr-code.h	Tue Feb 03 12:47:38 2009 +0100
+++ b/src/pt-pr-code.h	Wed Feb 04 00:47:53 2009 -0500
@@ -30,6 +30,7 @@
 #include "comment-list.h"
 #include "pt-walk.h"
 
+class tree_decl_command;
 class tree_expression;
 
 // How to print the code that the parse trees represent.
@@ -65,7 +66,9 @@
 
   void visit_continue_command (tree_continue_command&);
 
-  void visit_decl_command (tree_decl_command&);
+  void visit_global_command (tree_global_command&);
+
+  void visit_static_command (tree_static_command&);
 
   void visit_decl_elt (tree_decl_elt&);
 
@@ -160,6 +163,8 @@
   // TRUE means we are printing newlines and indenting.
   bool printing_newlines;
 
+  void do_decl_command (tree_decl_command& cmd);
+
   void reset_indent_level (void) { curr_print_indent_level = 0; }
 
   void increment_indent_level (void) { curr_print_indent_level += 2; }