diff src/pt-cmd.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 71f068b22fcc
children c84a5b6377c4
line wrap: on
line diff
--- a/src/pt-cmd.h
+++ b/src/pt-cmd.h
@@ -45,8 +45,6 @@
 
   virtual ~tree_command (void) { }
 
-  virtual void eval (void) = 0;
-
   virtual tree_command *dup (symbol_table::scope_id,
 			     symbol_table::context_id context) = 0;
 
@@ -71,8 +69,6 @@
 
   ~tree_no_op_command (void) { }
 
-  void eval (void) { MAYBE_DO_BREAKPOINT; }
-
   tree_command *dup (symbol_table::scope_id scope,
 		     symbol_table::context_id context);
 
@@ -103,14 +99,12 @@
 
   ~tree_function_def (void) { }
 
-  void eval (void);
-
   tree_command *dup (symbol_table::scope_id scope,
 		     symbol_table::context_id context);
 
   void accept (tree_walker& tw);
 
-  octave_function *function (void) { return fcn.function_value (); }
+  octave_value function (void) { return fcn; }
 
 private: