diff src/pt-walk.h @ 7715:5b4d278ec828

parse scripts completely before executing
author John W. Eaton <jwe@octave.org>
date Wed, 16 Apr 2008 15:09:56 -0400
parents a1dbe9d80eee
children 73c4516fae10
line wrap: on
line diff
--- a/src/pt-walk.h	Wed Apr 16 14:19:59 2008 -0400
+++ b/src/pt-walk.h	Wed Apr 16 15:09:56 2008 -0400
@@ -35,7 +35,9 @@
 class tree_decl_init_list;
 class tree_simple_for_command;
 class tree_complex_for_command;
+class octave_user_script;
 class octave_user_function;
+class tree_function_def;
 class tree_identifier;
 class tree_if_clause;
 class tree_if_command;
@@ -102,9 +104,15 @@
   visit_complex_for_command (tree_complex_for_command&) = 0;
 
   virtual void
+  visit_octave_user_script (octave_user_script&) = 0;
+
+  virtual void
   visit_octave_user_function (octave_user_function&) = 0;
 
   virtual void
+  visit_function_def (tree_function_def&) = 0;
+
+  virtual void
   visit_identifier (tree_identifier&) = 0;
 
   virtual void