23 #if !defined (octave_ov_fcn_h)
24 #define octave_ov_fcn_h 1
47 : relative (false), locked (false), private_function (false),
48 xdispatch_class (), xpackage_name (), my_name (), my_dir_name (),
62 virtual std::string
fcn_file_name (
void)
const {
return std::string (); }
64 virtual std::string
src_file_name (
void)
const {
return std::string (); }
110 private_function =
true;
111 xdispatch_class = cname;
117 {
return private_function && xdispatch_class == nm; }
123 std::string
dir_name (
void)
const {
return my_dir_name; }
129 this->lock_subfunctions ();
135 this->unlock_subfunctions ();
154 return std::list<std::string> ();
161 std::string
name (
void)
const {
return my_name; }
165 if (xpackage_name.empty ())
168 return xpackage_name +
"." + my_name;
171 void document (
const std::string& ds) { doc = ds; }
180 {
return (type ==
'(' || type ==
'{'); }
185 const std::string& ds = std::string ())
186 : relative (false), locked (false), private_function (false),
187 xdispatch_class (), my_name (nm), my_dir_name (), doc (ds) { }
virtual void mark_fcn_file_up_to_date(const octave_time &)
bool is_relative(void) const
virtual octave_time time_checked(void) const
void document(const std::string &ds)
virtual bool is_postfix_index_handled(char type) const
virtual void stash_subfunction_names(const std::list< std::string > &)
virtual void unlock_subfunctions(void)
octave_function(const std::string &nm, const std::string &ds=std::string())
virtual void unload(void)
std::string xdispatch_class
std::string doc_string(void) const
std::string name(void) const
virtual bool is_anonymous_function_of_class(const std::string &=std::string()) const
virtual std::string src_file_name(void) const
void stash_dir_name(const std::string &dir)
virtual bool takes_var_return(void) const
bool is_private_function_of_class(const std::string &nm) const
std::string dispatch_class(void) const
virtual symbol_table::scope_id scope(void)
virtual bool is_class_method(const std::string &=std::string()) const
bool is_function(void) const
virtual bool is_classdef_constructor(const std::string &=std::string()) const
F77_RET_T const double const double * f
virtual bool has_subfunctions(void) const
std::string package_name(void) const
virtual symbol_table::scope_id parent_fcn_scope(void) const
bool is_private_function(void) const
virtual std::list< std::string > subfunction_names(void) const
virtual void maybe_relocate_end(void)
std::string canonical_name(void) const
std::string dir_name(void) const
virtual std::string parent_fcn_name(void) const
virtual std::string profiler_name(void) const
virtual void lock_subfunctions(void)
virtual bool is_system_fcn_file(void) const
virtual std::string fcn_file_name(void) const
virtual bool is_subfunction(void) const
void stash_dispatch_class(const std::string &nm)
virtual octave_time time_parsed(void) const
virtual bool is_class_constructor(const std::string &=std::string()) const
virtual void accept(tree_walker &)
std::string xpackage_name
virtual bool takes_varargs(void) const
virtual void mark_as_private_function(const std::string &cname=std::string())
tree_walker & operator=(const tree_walker &)
bool islocked(void) const
void stash_package_name(const std::string &pack)
bool is_defined(void) const