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);
109 int l = -1,
int c = -1)
bool is_valid(void) const
~tree_anon_fcn_handle(void)
bool has_parent_scope(void) const
tree_anon_fcn_handle(const tree_anon_fcn_handle &)=delete
tree_expression * dup(symbol_scope &scope) const
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
std::string file_name(void) const
tree_parameter_list * m_parameter_list
octave_value evaluate(tree_evaluator &tw, int nargout=1)
tree_anon_fcn_handle(int l=-1, int c=-1)
bool rvalue_ok(void) const
tree_expression * m_expression
tree_expression * expression(void) const
tree_parameter_list * parameter_list(void) const
symbol_scope parent_scope(void) const
symbol_scope 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_anon_fcn_handle & operator=(const tree_anon_fcn_handle &)=delete
void accept(tree_walker &tw)
void stash_file_name(const std::string &file)
symbol_scope m_parent_scope
tree_fcn_handle(const tree_fcn_handle &)=delete
bool rvalue_ok(void) const
void accept(tree_walker &tw)
tree_fcn_handle(int l=-1, int c=-1)
tree_expression * dup(symbol_scope &scope) const
~tree_fcn_handle(void)=default
void print_raw(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
octave_value evaluate(tree_evaluator &tw, int nargout=1)
tree_fcn_handle(const std::string &n, int l=-1, int c=-1)
std::string name(void) const
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
void print(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
tree_fcn_handle & operator=(const tree_fcn_handle &)=delete
virtual void visit_anon_fcn_handle(tree_anon_fcn_handle &)
virtual void visit_fcn_handle(tree_fcn_handle &)
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.