26 #if ! defined (octave_pt_fcn_handle_h)
27 #define octave_pt_fcn_handle_h 1
29 #include "octave-config.h"
66 void print (std::ostream& os,
bool pr_as_read_syntax =
false,
67 bool pr_orig_txt =
true);
69 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false,
70 bool pr_orig_txt =
true);
72 std::string
name (
void)
const {
return m_name; }
82 return ovl (evaluate (tw, nargout));
109 int l = -1,
int c = -1)
octave_value_list & operator=(const octave_value_list &obj)=default
bool is_valid(void) const
octave_value evaluate(tree_evaluator &tw, int nargout=1)
bool rvalue_ok(void) const
~tree_anon_fcn_handle(void)
bool has_parent_scope(void) const
symbol_scope m_parent_scope
symbol_scope scope(void) const
tree_expression * expression(void) const
tree_anon_fcn_handle(int l=-1, int c=-1)
tree_anon_fcn_handle & operator=(const tree_anon_fcn_handle &)=delete
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
symbol_scope parent_scope(void) const
tree_anon_fcn_handle(tree_parameter_list *pl, tree_expression *ex, const symbol_scope &scope, const symbol_scope &parent_scope, int l=-1, int c=-1)
tree_parameter_list * m_parameter_list
void accept(tree_walker &tw)
tree_parameter_list * parameter_list(void) const
tree_anon_fcn_handle(const tree_anon_fcn_handle &)=delete
std::string file_name(void) const
void stash_file_name(const std::string &file)
tree_expression * dup(symbol_scope &scope) const
tree_expression * m_expression
bool rvalue_ok(void) const
tree_fcn_handle(int l=-1, int c=-1)
tree_fcn_handle(const tree_fcn_handle &)=delete
tree_fcn_handle(const std::string &n, int l=-1, int c=-1)
~tree_fcn_handle(void)=default
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
void accept(tree_walker &tw)
std::string name(void) const
virtual void visit_fcn_handle(tree_fcn_handle &)
virtual void visit_anon_fcn_handle(tree_anon_fcn_handle &)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.