#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "defun.h"
#include "fcn-info.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "ov-fcn.h"
#include "ov-usr-fcn.h"
#include "parse.h"
#include "symscope.h"
#include "symtab.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
static builtin_type_t(* | build_sup_table (void))[btyp_num_types] |
octave_value | dump_function_map (const std::map< std::string, octave_value > &fcn_map) |
OCTAVE_EXPORT octave_value_list | Fignore_function_time_stamp (const octave_value_list &args, int nargout) |
std::string | get_dispatch_type (const octave_value_list &args) |
std::string | get_dispatch_type (const octave_value_list &args, builtin_type_t &builtin_type) |
static bool | load_out_of_date_fcn (const std::string &file_name, const std::string &dir_name_arg, octave_value &function, const std::string &dispatch_type="", const std::string &package_name="") |
static bool | out_of_date_check (octave_value &function, const std::string &dispatch_type="", bool check_relative=true) |
static void | split_name_with_package (const std::string &name, std::string &fname, std::string &pname) |
Variables | |
static int | Vignore_function_time_stamp = 1 |
|
static |
Definition at line 244 of file fcn-info.cc.
References btyp_bool, btyp_char, btyp_complex, btyp_double, btyp_float, btyp_float_complex, btyp_func_handle, btyp_isarray(), btyp_isinteger(), and btyp_num_types.
Referenced by get_dispatch_type().
octave_value dump_function_map | ( | const std::map< std::string, octave_value > & | fcn_map | ) |
Definition at line 1120 of file fcn-info.cc.
References octave_value::dump(), and octave_value().
Referenced by fcn_info::fcn_info_rep::dump(), and symbol_scope_rep::dump().
OCTAVE_EXPORT octave_value_list Fignore_function_time_stamp | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1157 of file fcn-info.cc.
References error(), print_usage(), Vignore_function_time_stamp, and octave_value::xstring_value().
std::string get_dispatch_type | ( | const octave_value_list & | args | ) |
Definition at line 330 of file fcn-info.cc.
References get_dispatch_type().
std::string get_dispatch_type | ( | const octave_value_list & | args, |
builtin_type_t & | builtin_type | ||
) |
Definition at line 270 of file fcn-info.cc.
References __get_symbol_table__(), btyp_class_name, btyp_num_types, btyp_unknown, build_sup_table(), octave_value::builtin_type(), octave_value::class_name(), symbol_table::is_superiorto(), octave_value_list::length(), and n.
Referenced by do_class_concat(), fcn_info::fcn_info_rep::find_method(), and get_dispatch_type().
|
inlinestatic |
Definition at line 408 of file fcn-info.cc.
References dir_sep_chars, octave_value::function_value(), octave_value::is_defined(), load_fcn_from_file(), octave_function::mark_as_private_function(), and octave_value().
Referenced by out_of_date_check().
|
static |
Definition at line 470 of file fcn-info.cc.
References __get_bp_table__(), __get_evaluator__(), __get_load_path__(), __get_symbol_table__(), absolute_pathname(), octave_function::canonical_name(), octave_function::fcn_file_name(), load_path::find_fcn(), load_path::find_method(), octave_base_value::function_value(), octave_base_value::is_anonymous_function(), octave_function::is_relative(), octave_function::is_subfunction(), octave_function::is_system_fcn_file(), load_out_of_date_fcn(), tree_evaluator::lookup_autoload(), octave_function::mark_fcn_file_up_to_date(), octave_function::name(), octave_value(), octave_function::package_name(), symbol_table::parent_classes(), bp_table::remove_all_breakpoints_from_function(), same_file(), split_name_with_package(), octave_function::time_checked(), octave_function::time_parsed(), Vignore_function_time_stamp, Vlast_chdir_time, and Vlast_prompt_time.
Referenced by fcn_info::fcn_info_rep::find_autoload(), fcn_info::fcn_info_rep::find_method(), fcn_info::fcn_info_rep::find_private_function(), fcn_info::fcn_info_rep::find_user_function(), fcn_info::fcn_info_rep::x_builtin_find(), and fcn_info::fcn_info_rep::xfind().
|
static |
Definition at line 377 of file fcn-info.cc.
Referenced by out_of_date_check().
|
static |
Definition at line 48 of file fcn-info.cc.
Referenced by Fignore_function_time_stamp(), and out_of_date_check().