diff src/pt-walk.h @ 15035:a820a990968e classdef

new tree_funcall class * pt-funcall.h, pt-funcall.cc: New files. Define tree_funcall class. * pt-all.h: Also include pt-funcall.h. * pt-bp.h, pt-bp.cc (tree_breakpoint::visit_funcall): New function. * pt-check.h, pt-check.cc (tree_checker::visit_funcall): New function. * pt-eval.h, pt-eval.cc (tree_evaluator::visit_funcall): New function. * pt-pr-code.h, pt-pr-code.cc (tree_print_code::visit_funcall): New function. * pt-walk.h (tree_walker::visit_funcall): New pure virtual function. * src/Makefile.am (PT_INCLUDES): Add pt-funcall.h to the list.* (PT_SRC): Add pt-funcall.cc to the list.
author John W. Eaton <jwe@octave.org>
date Fri, 27 Jul 2012 15:44:11 -0400
parents 9e3983c8963c
children 56b8eb7c9c04
line wrap: on
line diff
--- a/src/pt-walk.h
+++ b/src/pt-walk.h
@@ -52,6 +52,7 @@
 class tree_no_op_command;
 class tree_constant;
 class tree_fcn_handle;
+class tree_funcall;
 class tree_parameter_list;
 class tree_postfix_expression;
 class tree_prefix_expression;
@@ -158,6 +159,9 @@
   visit_fcn_handle (tree_fcn_handle&) = 0;
 
   virtual void
+  visit_funcall (tree_funcall&) = 0;
+
+  virtual void
   visit_parameter_list (tree_parameter_list&) = 0;
 
   virtual void