GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <sstream>
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "singleton-cleanup.h"
#include "debug.h"
#include "defun.h"
#include "dirfns.h"
#include "input.h"
#include "load-path.h"
#include "ov-classdef.h"
#include "ov-fcn.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pt-arg-list.h"
#include "pt-pr-code.h"
#include "symtab.h"
#include "unwind-prot.h"
#include "utils.h"
Go to the source code of this file.
Variables | |
if they have changed since they were last but will recompile other function files in the search path if they change If set to | code {"all"} |
if they have changed since they were last | compiled |
if they have changed since they were last but will recompile other function files in the search path if they change If set to Octave will not recompile any function files unless their definitions are removed with | ode {clear}. If set to code{"none"} |
octave_value | retval |
static int | Vignore_function_time_stamp = 1 |
|
static |
Definition at line 592 of file symtab.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_EXPORT octave_value_list F__current_scope__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1774 of file symtab.cc.
References symbol_table::current_context(), symbol_table::current_scope(), and ovl().
Referenced by install_symtab_fcns().
nd deftypefn* OCTAVE_EXPORT octave_value_list F__dump_symtab_info__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1787 of file symtab.cc.
References arg, symbol_table::dump(), symbol_table::dump_functions(), symbol_table::dump_global(), error(), octave_value::is_string(), k, octave_stdout, p, print_usage(), retval, s, symbol_table::scopes(), string, octave_value::string_value(), and octave_value::xint_value().
Referenced by install_symtab_fcns().
OCTAVE_EXPORT octave_value_list F__get_cmdline_fcn_txt__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1852 of file symtab.cc.
References octave_user_function::accept(), f, symbol_table::find_cmdline_function(), name, ovl(), print_usage(), retval, string, and octave_value::user_function_value().
Referenced by install_symtab_fcns().
|
static |
Definition at line 1168 of file symtab.cc.
References f, octave_function::fcn_file_name(), and octave_value::function_value().
Referenced by symbol_table::fcn_info::fcn_info_rep::dump(), octave_dld_function::octave_dld_function(), octave_mex_function::octave_mex_function(), and octave_call_stack::stack_frame::operator==().
OCTAVE_EXPORT octave_value_list Fignore_function_time_stamp | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1707 of file symtab.cc.
Referenced by install_symtab_fcns().
std::string get_dispatch_type | ( | const octave_value_list & | args, |
builtin_type_t & | builtin_type | ||
) |
Definition at line 618 of file symtab.cc.
References arg, 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 string.
Referenced by octave_fcn_handle::do_multi_index_op(), get_dispatch_type(), and symbol_table::fcn_info::fcn_info_rep::xfind().
std::string get_dispatch_type | ( | const octave_value_list & | args | ) |
Definition at line 676 of file symtab.cc.
References octave_value::builtin_type(), and get_dispatch_type().
if they have changed since they were last but will recompile other function files in the search path if they change If set to Octave will not recompile any function files unless their definitions are removed with Octave will always check time stamps on files to determine whether functions defined function files need to recompiled nd deftypefn* if | ( | nargin | , |
1 | |||
) |
|
inlinestatic |
Definition at line 190 of file symtab.cc.
References fcn, load_fcn_from_file(), octave_value(), and retval.
Referenced by out_of_date_check().
bool out_of_date_check | ( | octave_value & | function, |
const std::string & | dispatch_type, | ||
bool | check_relative | ||
) |
Definition at line 213 of file symtab.cc.
References octave::sys::env::absolute_pathname(), octave_function::canonical_name(), fcn, octave_function::fcn_file_name(), file, load_path::find_fcn(), load_path::find_method(), fs, octave_base_value::function_value(), octave::sys::base_file_stat::is_newer(), octave_function::is_relative(), octave_function::is_subfunction(), octave_function::is_system_fcn_file(), load_out_of_date_fcn(), lookup_autoload(), octave_function::mark_fcn_file_up_to_date(), octave_function::name(), nm, octave_value(), octave_function::package_name(), symbol_table::parent_classes(), bp_table::remove_all_breakpoints_in_file(), retval, same_file(), split_name_with_package(), string, octave_function::time_checked(), octave_function::time_parsed(), octave::sys::time::unix_time(), Vlast_chdir_time, and Vlast_prompt_time.
Referenced by octave_fcn_handle::do_multi_index_op(), symbol_table::fcn_info::fcn_info_rep::find_autoload(), symbol_table::fcn_info::fcn_info_rep::find_method(), symbol_table::fcn_info::fcn_info_rep::find_user_function(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
static |
if they have changed since they were last compiled |
Definition at line 1707 of file symtab.cc.
Referenced by tree_while_command::get_info(), tree_simple_for_command::get_info(), jit_value::print_indent(), tree_while_command::stash_info(), and tree_simple_for_command::stash_info().
return retval |
Definition at line 1714 of file symtab.cc.
Referenced by symbol_table::fcn_info::fcn_info_rep::builtin_find(), symbol_table::do_builtin_find(), symbol_table::do_find(), symbol_table::do_workspace_info(), F__dump_symtab_info__(), F__get_cmdline_fcn_txt__(), symbol_table::symbol_record::find(), symbol_table::fcn_info::fcn_info_rep::find(), symbol_table::find_function(), symbol_table::fcn_info::fcn_info_rep::find_method(), symbol_table::fcn_info::fcn_info_rep::help_for_dispatch(), symbol_table::fcn_info::fcn_info_rep::load_class_constructor(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), load_out_of_date_fcn(), symbol_table::fcn_info::fcn_info_rep::load_private_function(), and out_of_date_check().