GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "symtab.h"
Classes | |
class | fcn_info |
class | scope_id_cache |
class | symbol_record |
class | symbol_reference |
Public Types | |
typedef size_t | context_id |
typedef int | scope_id |
Static Public Member Functions | |
static void | add_dispatch (const std::string &name, const std::string &type, const std::string &fname) |
static void | add_to_parent_map (const std::string &classname, const std::list< std::string > &parent_list) |
static void | alias_built_in_function (const std::string &alias, const std::string &name) |
static std::list< symbol_record > | all_variables (scope_id scope=xcurrent_scope, context_id context=xdefault_context, bool defined_only=true, unsigned int exclude=symbol_record::hidden) |
static scope_id | alloc_scope (void) |
static void | assign (const std::string &name, const octave_value &value=octave_value(), scope_id scope=xcurrent_scope, context_id context=xdefault_context, bool force_add=false) |
static bool | at_top_level (void) |
static std::list< std::string > | built_in_function_names (void) |
static octave_value | builtin_find (const std::string &name) |
static void | cache_name (scope_id scope, const std::string &name) |
static void | cleanup (void) |
static void | clear (const std::string &name) |
static void | clear_all (bool force=false) |
static void | clear_dispatch (const std::string &name, const std::string &type) |
static void | clear_dld_function (const std::string &name) |
static void | clear_function (const std::string &name) |
static void | clear_function_pattern (const std::string &pat) |
static void | clear_functions (bool force=false) |
static void | clear_global (const std::string &name) |
static void | clear_global_pattern (const std::string &pat) |
static void | clear_mex_functions (void) |
static void | clear_objects (scope_id scope=xcurrent_scope) |
static void | clear_symbol (const std::string &name) |
static void | clear_symbol_pattern (const std::string &pat) |
static void | clear_user_function (const std::string &name) |
static void | clear_variable (const std::string &name) |
static void | clear_variable_pattern (const std::string &pat) |
static void | clear_variable_regexp (const std::string &pat) |
static void | clear_variables (scope_id scope) |
static void | clear_variables (void) |
static std::list< std::string > | cmdline_function_names (void) |
static context_id | current_context (void) |
static scope_id | current_scope (void) |
static void | dump (std::ostream &os, scope_id scope=xcurrent_scope) |
static void | dump_functions (std::ostream &os) |
static void | dump_global (std::ostream &os) |
static scope_id | dup_scope (scope_id scope) |
static void | erase_persistent (const std::string &name) |
static void | erase_scope (scope_id scope) |
static void | erase_subfunctions_in_scope (scope_id scope) |
static octave_value | find (const std::string &name, const octave_value_list &args=octave_value_list(), bool skip_variables=false, bool local_funcs=true) |
static octave_value | find_autoload (const std::string &name) |
static octave_value | find_built_in_function (const std::string &name) |
static octave_value | find_function (const std::string &name, const octave_value_list &args=octave_value_list(), bool local_funcs=true) |
static octave_value | find_method (const std::string &name, const std::string &dispatch_type) |
static symbol_record | find_symbol (const std::string &name, scope_id scope=xcurrent_scope) |
static octave_value | find_user_function (const std::string &name) |
static void | force_assign (const std::string &name, const octave_value &value=octave_value(), scope_id scope=xcurrent_scope, context_id context=xdefault_context) |
static octave_value & | force_varref (const std::string &name, scope_id scope=xcurrent_scope, context_id context=xdefault_context) GCC_ATTR_DEPRECATED |
static void | free_scope (scope_id scope) |
static octave_user_function * | get_curr_fcn (scope_id scope=xcurrent_scope) |
static fcn_info::dispatch_map_type | get_dispatch (const std::string &name) |
static std::list< symbol_record > | glob (const std::string &pattern) |
static std::list< symbol_record > | glob_global_variables (const std::string &pattern) |
static std::list< symbol_record > | glob_variables (const std::string &pattern) |
static std::list< symbol_record > | glob_variables (const string_vector &patterns) |
static void | global_assign (const std::string &name, const octave_value &value=octave_value()) |
static scope_id | global_scope (void) |
static std::list< std::string > | global_variable_names (void) |
static octave_value & | global_varref (const std::string &name) GCC_ATTR_DEPRECATED |
static octave_value | global_varval (const std::string &name) |
static std::string | help_for_dispatch (const std::string &name) |
static void | inherit (scope_id scope, scope_id donor_scope, context_id donor_context) |
static symbol_record & | insert (const std::string &name, scope_id scope=xcurrent_scope) |
static void | install_built_in_function (const std::string &name, const octave_value &fcn) |
static void | install_cmdline_function (const std::string &name, const octave_value &fcn) |
static void | install_nestfunction (const std::string &name, const octave_value &fcn, scope_id parent_scope) |
static void | install_subfunction (const std::string &name, const octave_value &fcn, scope_id scope) |
static void | install_user_function (const std::string &name, const octave_value &fcn) |
static bool | is_built_in_function_name (const std::string &name) |
static bool | is_global (const std::string &name) |
static bool | is_local_variable (const std::string &name) |
static bool | is_superiorto (const std::string &a, const std::string &b) |
static bool | is_variable (const std::string &name) |
static void | lock_subfunctions (scope_id scope=xcurrent_scope) |
static void | mark_automatic (const std::string &name) |
static void | mark_global (const std::string &name) |
static void | mark_hidden (const std::string &name) |
static void | mark_subfunctions_in_scope_as_private (scope_id scope, const std::string &class_name) |
static std::list< std::string > | parent_classes (const std::string &dispatch_type) |
static void | persistent_assign (const std::string &name, const octave_value &value=octave_value()) |
static octave_value & | persistent_varref (const std::string &name) GCC_ATTR_DEPRECATED |
static octave_value | persistent_varval (const std::string &name) |
static void | pop_context (void) |
static void | pop_context (void *) |
static void | print_dispatch (std::ostream &os, const std::string &name) |
static void | push_context (void) |
static std::list< symbol_record > | regexp (const std::string &pattern) |
static std::list< symbol_record > | regexp_global_variables (const std::string &pattern) |
static std::list< symbol_record > | regexp_variables (const std::string &pattern) |
static std::list< symbol_record > | regexp_variables (const string_vector &patterns) |
static void | rename (const std::string &old_name, const std::string &new_name, scope_id scope=xcurrent_scope) |
static std::list< scope_id > | scopes (void) |
static bool | set_class_relationship (const std::string &sup_class, const std::string &inf_class) |
static void | set_curr_fcn (octave_user_function *curr_fcn, scope_id scope=xcurrent_scope) |
static void | set_scope (scope_id scope) |
static void | set_scope_and_context (scope_id scope, context_id context) |
static void | stash_dir_name_for_subfunctions (scope_id scope, const std::string &dir_name) |
static std::map< std::string, octave_value > | subfunctions_defined_in_scope (scope_id scope=xcurrent_scope) |
static void | top_level_assign (const std::string &name, const octave_value &value=octave_value()) |
static std::list< std::string > | top_level_variable_names (void) |
static octave_value & | top_level_varref (const std::string &name) GCC_ATTR_DEPRECATED |
static octave_value | top_level_varval (const std::string &name) |
static scope_id | top_scope (void) |
static void | unlock_subfunctions (scope_id scope=xcurrent_scope) |
static void | update_nest (scope_id scope) |
static std::list< std::string > | user_function_names (void) |
static std::list< std::string > | variable_names (void) |
static octave_value & | varref (const std::string &name, scope_id scope=xcurrent_scope, context_id context=xdefault_context, bool force_add=false) GCC_ATTR_DEPRECATED |
static octave_value | varval (const std::string &name, scope_id scope=xcurrent_scope, context_id context=xdefault_context) |
static std::list < workspace_element > | workspace_info (void) |
Private Types | |
typedef std::map< scope_id, symbol_table * > ::const_iterator | all_instances_const_iterator |
typedef std::map< scope_id, symbol_table * >::iterator | all_instances_iterator |
typedef std::map< std::string, std::set< std::string > >::const_iterator | class_precedence_table_const_iterator |
typedef std::map< std::string, std::set< std::string > >::iterator | class_precedence_table_iterator |
typedef std::map< std::string, std::list< std::string > >::const_iterator | const_parent_map_iterator |
typedef std::map< std::string, fcn_info >::const_iterator | fcn_table_const_iterator |
typedef std::map< std::string, fcn_info >::iterator | fcn_table_iterator |
typedef std::map< std::string, octave_value >::const_iterator | global_table_const_iterator |
typedef std::map< std::string, octave_value >::iterator | global_table_iterator |
typedef std::map< std::string, std::list< std::string > >::iterator | parent_map_iterator |
typedef std::map< std::string, octave_value >::const_iterator | persistent_table_const_iterator |
typedef std::map< std::string, octave_value >::iterator | persistent_table_iterator |
typedef std::map< std::string, symbol_record > ::const_iterator | table_const_iterator |
typedef std::map< std::string, symbol_record >::iterator | table_iterator |
Private Member Functions | |
symbol_table (const symbol_table &) | |
symbol_table (scope_id scope) | |
~symbol_table (void) | |
void | add_nest_child (symbol_table &st) |
std::list< symbol_record > | do_all_variables (context_id context, bool defined_only, unsigned int exclude) const |
void | do_assign (const std::string &name, const octave_value &value, context_id context, bool force_add) |
octave_value | do_builtin_find (const std::string &name) |
void | do_cache_name (const std::string &name) |
void | do_clear_global (const std::string &name) |
void | do_clear_global_pattern (const std::string &pat) |
void | do_clear_objects (void) |
void | do_clear_variable (const std::string &name) |
void | do_clear_variable_pattern (const std::string &pat) |
void | do_clear_variable_regexp (const std::string &pat) |
void | do_clear_variables (void) |
void | do_dump (std::ostream &os) |
void | do_dup_scope (symbol_table &new_symbol_table) const |
void | do_erase_persistent (const std::string &name) |
octave_value | do_find (const std::string &name, const octave_value_list &args, bool skip_variables, bool local_funcs) |
symbol_record | do_find_symbol (const std::string &name) |
std::list< symbol_record > | do_glob (const std::string &pattern, bool vars_only=false) const |
void | do_inherit (symbol_table &donor_table, context_id donor_context) |
symbol_record & | do_insert (const std::string &name, bool force_add=false) |
bool | do_is_global (const std::string &name) const |
bool | do_is_local_variable (const std::string &name) const |
bool | do_is_variable (const std::string &name) const |
void | do_mark_automatic (const std::string &name) |
void | do_mark_global (const std::string &name) |
void | do_mark_hidden (const std::string &name) |
void | do_persistent_assign (const std::string &name, const octave_value &value) |
octave_value & | do_persistent_varref (const std::string &name) |
octave_value | do_persistent_varval (const std::string &name) |
void | do_pop_context (void) |
void | do_push_context (void) |
std::list< symbol_record > | do_regexp (const std::string &pattern, bool vars_only=false) const |
void | do_rename (const std::string &old_name, const std::string &new_name) |
void | do_update_nest (void) |
std::list< std::string > | do_variable_names (void) |
octave_value & | do_varref (const std::string &name, context_id context, bool force_add) |
octave_value | do_varval (const std::string &name, context_id context) const |
std::list< workspace_element > | do_workspace_info (void) const |
void | insert_symbol_record (const symbol_record &sr) |
bool | look_nonlocal (const std::string &name, symbol_record &result) |
symbol_table & | operator= (const symbol_table &) |
Static Private Member Functions | |
static fcn_info * | get_fcn_info (const std::string &name) |
static symbol_table * | get_instance (scope_id scope, bool create=true) |
Private Attributes | |
octave_user_function * | curr_fcn |
scope_id | my_scope |
std::vector< symbol_table * > | nest_children |
symbol_table * | nest_parent |
std::map< std::string, octave_value > | persistent_table |
bool | static_workspace |
std::map< std::string, symbol_record > | table |
std::string | table_name |
Static Private Attributes | |
static std::map< scope_id, symbol_table * > | all_instances |
static std::map< std::string, std::set< std::string > > | class_precedence_table |
static std::map< std::string, fcn_info > | fcn_table |
static std::map< std::string, octave_value > | global_table |
static symbol_table * | instance = 0 |
static std::map< std::string, std::list< std::string > > | parent_map |
static context_id | xcurrent_context = 0 |
static scope_id | xcurrent_scope = 1 |
static const context_id | xdefault_context = static_cast<context_id> (-1) |
static const scope_id | xglobal_scope = 0 |
static const scope_id | xtop_scope = 1 |
|
private |
|
private |
|
private |
|
private |
|
private |
typedef size_t symbol_table::context_id |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
typedef int symbol_table::scope_id |
|
private |
|
private |
|
private |
|
inlineprivate |
|
inlinestatic |
Definition at line 1796 of file symtab.h.
References symbol_table::fcn_info::add_dispatch().
Referenced by F__dispatch__().
|
inlineprivate |
Definition at line 2435 of file symtab.h.
References nest_parent.
|
inlinestatic |
Definition at line 2220 of file symtab.h.
Referenced by octave_class::octave_class().
|
inlinestatic |
Definition at line 1779 of file symtab.h.
References symbol_table::fcn_info::install_built_in_function(), octave_value::is_defined(), and panic().
Referenced by alias_builtin().
|
inlinestatic |
Definition at line 1928 of file symtab.h.
References context, and do_all_variables().
Referenced by DEFUN(), dump_octave_core(), octave_fcn_handle::save_ascii(), octave_fcn_handle::save_binary(), and octave_fcn_handle::save_hdf5().
Definition at line 1138 of file symtab.h.
Referenced by do_who(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), and read_mat5_binary_element().
|
inlinestatic |
Definition at line 1306 of file symtab.h.
References context, and do_assign().
Referenced by octave_user_function::bind_automatic_vars(), jit_info::execute(), Fwarning(), install_loaded_variable(), intern_argv(), mexPutVariable(), read_mat5_binary_element(), and tree_evaluator::visit_function_def().
Definition at line 1274 of file symtab.h.
Referenced by DEFUN(), Fwarning(), intern_argv(), main_loop(), and warning_1().
|
inlinestatic |
Definition at line 2091 of file symtab.h.
References octave_value::is_defined().
Referenced by F__builtins__(), and make_name_list().
|
static |
Definition at line 1160 of file symtab.cc.
References do_builtin_find(), get_instance(), octave_value(), and xcurrent_scope.
Definition at line 2167 of file symtab.h.
References do_cache_name().
Referenced by octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), and octave_fcn_handle::octave_fcn_handle().
Definition at line 1472 of file symtab.cc.
References all_instances, class_precedence_table, clear_all(), fcn_table, global_table, and parent_map.
Referenced by do_octave_atexit().
|
inlinestatic |
Definition at line 1621 of file symtab.h.
References clear_variable().
Referenced by install_loaded_variable().
Definition at line 1626 of file symtab.h.
Referenced by cleanup(), do_matlab_compatible_clear(), and Fclear().
|
inlinestatic |
Definition at line 1817 of file symtab.h.
References symbol_table::fcn_info::clear_dispatch(), and symbol_table::fcn_info::find().
Referenced by F__dispatch__().
|
inlinestatic |
Definition at line 1751 of file symtab.h.
References symbol_table::fcn_info::clear_autoload_function(), and symbol_table::fcn_info::clear_user_function().
Referenced by clear(), and do_clear_function().
|
inlinestatic |
Definition at line 1663 of file symtab.h.
Referenced by clear_function(), and do_clear_functions().
|
inlinestatic |
Definition at line 1692 of file symtab.h.
References glob_match::match().
Referenced by do_clear_functions().
Definition at line 1657 of file symtab.h.
Referenced by do_clear_functions().
|
inlinestatic |
Definition at line 1668 of file symtab.h.
References do_clear_global().
Referenced by do_clear_globals().
|
inlinestatic |
Definition at line 1703 of file symtab.h.
References do_clear_global_pattern().
Referenced by do_clear_globals().
Definition at line 1764 of file symtab.h.
References symbol_table::fcn_info::clear_mex_function().
Referenced by clear_mex_functions().
|
inlinestatic |
Definition at line 1649 of file symtab.h.
References do_clear_objects().
Referenced by do_matlab_compatible_clear(), and Fclear().
|
inlinestatic |
Definition at line 1684 of file symtab.h.
References clear_function(), and clear_variable().
Referenced by clear_symbol().
|
inlinestatic |
Definition at line 1727 of file symtab.h.
Referenced by do_clear_symbols(), and do_matlab_compatible_clear().
|
inlinestatic |
Definition at line 1735 of file symtab.h.
References symbol_table::fcn_info::clear_user_function().
|
inlinestatic |
Definition at line 1676 of file symtab.h.
References do_clear_variable().
Referenced by clear_variable(), and do_clear_variables().
|
inlinestatic |
Definition at line 1711 of file symtab.h.
References do_clear_variable_pattern().
Referenced by do_clear_variables().
|
inlinestatic |
Definition at line 1719 of file symtab.h.
References do_clear_variable_regexp().
Referenced by do_clear_variables().
Definition at line 1635 of file symtab.h.
References do_clear_variables().
Definition at line 1644 of file symtab.h.
Referenced by do_clear_symbols(), do_clear_variables(), do_matlab_compatible_clear(), octave_user_function::do_multi_index_op(), and do_who().
|
inlinestatic |
Definition at line 2110 of file symtab.h.
References octave_value::is_defined().
Referenced by make_name_list().
|
inlinestatic |
Definition at line 1136 of file symtab.h.
Referenced by tree_anon_fcn_handle::dup(), F__current_scope__(), and tree_anon_fcn_handle::rvalue1().
Definition at line 1134 of file symtab.h.
Referenced by lexical_feedback::symbol_table_context::curr_scope(), tree_anon_fcn_handle::dup(), F__current_scope__(), jit_convert::jit_convert(), tree_anon_fcn_handle::rvalue1(), octave_link::set_workspace(), symbol_table::symbol_reference::update(), and symbol_table::symbol_record::symbol_record_rep::varref().
|
inlineprivate |
Definition at line 2766 of file symtab.h.
References symbol_table::symbol_record::is_defined(), and symbol_table::symbol_record::xstorage_class().
Referenced by all_variables().
|
inlineprivate |
Definition at line 2540 of file symtab.h.
References symbol_table::symbol_record::assign().
Referenced by assign().
|
private |
Definition at line 1368 of file symtab.cc.
References symbol_table::fcn_info::builtin_find(), fcn_table, and octave_value::is_defined().
Referenced by builtin_find().
|
inlineprivate |
Definition at line 2866 of file symtab.h.
Referenced by cache_name(), and get_instance().
|
inlineprivate |
Definition at line 2666 of file symtab.h.
References symbol_table::symbol_record::is_global(), and symbol_table::symbol_record::unmark_global().
Referenced by clear_global().
|
inlineprivate |
Definition at line 2693 of file symtab.h.
References symbol_table::symbol_record::is_global(), glob_match::match(), symbol_table::symbol_record::name(), and symbol_table::symbol_record::unmark_global().
Referenced by clear_global_pattern().
Definition at line 2655 of file symtab.h.
References octave_value::is_object(), and symbol_table::symbol_record::varval().
Referenced by clear_objects().
|
inlineprivate |
Definition at line 2685 of file symtab.h.
Referenced by clear_variable().
|
inlineprivate |
Definition at line 2718 of file symtab.h.
References symbol_table::symbol_record::clear(), symbol_table::symbol_record::is_defined(), symbol_table::symbol_record::is_global(), glob_match::match(), and symbol_table::symbol_record::name().
Referenced by clear_variable_pattern().
|
inlineprivate |
Definition at line 2734 of file symtab.h.
References symbol_table::symbol_record::clear(), symbol_table::symbol_record::is_defined(), symbol_table::symbol_record::is_global(), regexp::is_match(), and symbol_table::symbol_record::name().
Referenced by clear_variable_regexp().
Definition at line 2649 of file symtab.h.
Referenced by clear_variables().
|
private |
Definition at line 1440 of file symtab.cc.
References octave_value::dump(), persistent_table, and table.
Referenced by dump().
|
inlineprivate |
Definition at line 2448 of file symtab.h.
References insert_symbol_record(), and my_scope.
Referenced by dup_scope().
|
inlineprivate |
Definition at line 2606 of file symtab.h.
Referenced by erase_persistent().
|
private |
Definition at line 1319 of file symtab.cc.
References fcn_table, symbol_table::fcn_info::find(), global_varval(), octave_value::is_defined(), symbol_table::symbol_record::is_global(), table, and symbol_table::symbol_record::varval().
Referenced by find().
|
inlineprivate |
Definition at line 2455 of file symtab.h.
Referenced by find_symbol().
|
inlineprivate |
Definition at line 2785 of file symtab.h.
References symbol_table::symbol_record::is_variable(), and glob_match::match().
Referenced by glob(), and glob_variables().
|
inlineprivate |
Definition at line 2465 of file symtab.h.
References symbol_table::symbol_record::assign(), do_varval(), symbol_table::symbol_record::is_automatic(), octave_value::is_defined(), symbol_table::symbol_record::is_formal(), symbol_table::symbol_record::mark_inherited(), and symbol_table::symbol_record::name().
Referenced by inherit().
|
inlineprivate |
Definition at line 2502 of file symtab.h.
References look_nonlocal(), and symbol_table::symbol_record::mark_added_static().
Referenced by insert().
|
inlineprivate |
Definition at line 2855 of file symtab.h.
Referenced by is_global().
|
inlineprivate |
Definition at line 2846 of file symtab.h.
Referenced by is_local_variable().
|
inlineprivate |
Definition at line 2614 of file symtab.h.
References symbol_table::symbol_record::is_variable().
Referenced by is_variable().
|
inlineprivate |
Definition at line 2750 of file symtab.h.
Referenced by mark_automatic().
|
inlineprivate |
Definition at line 2760 of file symtab.h.
Referenced by mark_global().
|
inlineprivate |
Definition at line 2755 of file symtab.h.
Referenced by mark_hidden().
|
inlineprivate |
Definition at line 2579 of file symtab.h.
Referenced by persistent_assign().
|
inlineprivate |
Definition at line 2591 of file symtab.h.
Referenced by persistent_varref(), and symbol_table::symbol_record::symbol_record_rep::varref().
|
inlineprivate |
Definition at line 2599 of file symtab.h.
Referenced by persistent_varval().
Definition at line 2636 of file symtab.h.
Referenced by pop_context().
Definition at line 2630 of file symtab.h.
Referenced by push_context().
|
inlineprivate |
Definition at line 2808 of file symtab.h.
References regexp::is_match(), and symbol_table::symbol_record::is_variable().
Referenced by regexp(), and regexp_variables().
|
inlineprivate |
Definition at line 2524 of file symtab.h.
References symbol_table::symbol_record::rename().
Referenced by rename().
Definition at line 1497 of file symtab.cc.
References curr_fcn, error(), symbol_table::symbol_record::invalidate(), symbol_table::symbol_record::is_formal(), symbol_table::symbol_record::is_global(), symbol_table::symbol_record::is_persistent(), look_nonlocal(), octave_user_function::mark_as_nested_function(), nest_children, nest_parent, symbol_table::symbol_record::set_curr_fcn(), static_workspace, and table.
Referenced by update_nest().
|
inlineprivate |
Definition at line 2831 of file symtab.h.
Referenced by top_level_variable_names(), and variable_names().
|
inlineprivate |
Definition at line 2557 of file symtab.h.
References symbol_table::symbol_record::varref().
Referenced by force_varref(), top_level_varref(), and varref().
|
inlineprivate |
Definition at line 2572 of file symtab.h.
References octave_value().
Referenced by do_inherit(), and varval().
|
private |
Definition at line 1392 of file symtab.cc.
References octave_value::class_name(), octave_value::dims(), symbol_table::symbol_record::is_automatic(), octave_value::is_complex_type(), octave_value::is_defined(), symbol_table::symbol_record::is_formal(), symbol_table::symbol_record::is_global(), symbol_table::symbol_record::is_hidden(), symbol_table::symbol_record::is_inherited(), symbol_table::symbol_record::is_persistent(), octave_value::short_disp(), dim_vector::str(), table, and symbol_table::symbol_record::varval().
Referenced by workspace_info().
|
static |
Definition at line 1221 of file symtab.cc.
References do_dump(), dump_global(), get_instance(), subfunctions_defined_in_scope(), table_name, and xglobal_scope.
Referenced by F__dump_symtab_info__().
|
static |
Definition at line 1275 of file symtab.cc.
References fcn_table.
Referenced by F__dump_symtab_info__().
|
static |
Definition at line 1255 of file symtab.cc.
References octave_value::dump(), and global_table.
Referenced by dump(), and F__dump_symtab_info__().
Definition at line 1221 of file symtab.h.
References do_dup_scope().
Referenced by tree_anon_fcn_handle::dup(), and tree_anon_fcn_handle::rvalue1().
|
inlinestatic |
Definition at line 1448 of file symtab.h.
References do_erase_persistent().
Referenced by symbol_table::symbol_record::symbol_record_rep::erase_persistent().
Definition at line 1189 of file symtab.h.
Referenced by do_who(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), read_mat5_binary_element(), and octave_user_function::~octave_user_function().
Definition at line 1207 of file symtab.h.
Referenced by octave_user_function::erase_subfunctions().
|
static |
Definition at line 1147 of file symtab.cc.
References do_find(), get_instance(), octave_value(), and xcurrent_scope.
Referenced by find_function(), and safe_symbol_lookup().
|
inlinestatic |
Definition at line 1501 of file symtab.h.
References octave_value().
Referenced by symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1492 of file symtab.h.
References octave_value().
Referenced by install_built_in_docstrings().
|
static |
Definition at line 1168 of file symtab.cc.
References file_ops::dir_sep_str(), find(), find_method(), octave_value::function_value(), octave_value::is_defined(), octave_function::scope(), Vfilemarker, xcurrent_scope, and xtop_scope.
Referenced by DEFUN(), do_which(), Farrayfun(), Fbsxfun(), Fcellfun(), symbol_table::symbol_record::find(), get_mapper_fun_options(), get_user_code(), is_valid_function(), make_fcn_handle(), tree_colon_expression::make_range(), maybe_missing_function_hook(), mislocked(), munlock(), raw_help_from_symbol_table(), tree_colon_expression::rvalue1(), octave_fcn_handle::set_fcn(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1472 of file symtab.h.
References symbol_table::fcn_info::find_method(), and octave_value::is_defined().
Referenced by octave_class::all_strings(), attempt_type_conversion(), DEFCONSTFUN(), do_class_concat(), octave_fcn_handle::do_multi_index_op(), find_function(), octave_class::index_vector(), symbol_table::fcn_info::fcn_info_rep::load_class_constructor(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), make_fcn_handle(), octave_class::numel(), out_of_date_check(), octave_class::print_with_name(), octave_class::reconstruct_exemplar(), octave_class::size(), octave_class::subsasgn_common(), octave_class::subsref(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1252 of file symtab.h.
References do_find_symbol().
Referenced by do_who(), tree_identifier::dup(), and jit_convert::get_variable().
|
inlinestatic |
Definition at line 1514 of file symtab.h.
References octave_value().
Referenced by symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1336 of file symtab.h.
References context.
Referenced by bind_ans(), and octave_user_function::bind_automatic_vars().
|
inlinestatic |
Definition at line 1346 of file symtab.h.
References context, and do_varref().
Definition at line 2209 of file symtab.h.
References error(), and symbol_table::scope_id_cache::free().
|
inlinestatic |
Definition at line 2252 of file symtab.h.
References curr_fcn.
Referenced by symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1841 of file symtab.h.
References symbol_table::fcn_info::get_dispatch().
Referenced by F__dispatch__(), and octave_fcn_binder::maybe_binder().
|
inlinestaticprivate |
Definition at line 2490 of file symtab.h.
Referenced by symbol_table::symbol_record::find().
|
inlinestaticprivate |
Definition at line 2377 of file symtab.h.
References do_cache_name(), and error().
Referenced by builtin_find(), dump(), find(), install_nestfunction(), and symbol_table::symbol_record::symbol_record_rep::varref().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 2014 of file symtab.h.
References Array< T >::length().
|
inlinestatic |
Definition at line 1366 of file symtab.h.
Referenced by install_loaded_variable(), and set_global_value().
|
inlinestatic |
Definition at line 2064 of file symtab.h.
Referenced by do_clear_globals().
|
inlinestatic |
|
inlinestatic |
Definition at line 1389 of file symtab.h.
Referenced by do_find(), symbol_table::symbol_record::find(), get_global_value(), and symbol_table::symbol_record::symbol_record_rep::varval().
|
inlinestatic |
Definition at line 1857 of file symtab.h.
References symbol_table::fcn_info::help_for_dispatch().
|
inlinestatic |
Definition at line 1261 of file symtab.h.
References do_inherit().
Referenced by tree_anon_fcn_handle::dup(), and tree_anon_fcn_handle::rvalue1().
|
inlinestatic |
Definition at line 1286 of file symtab.h.
References do_insert().
Referenced by octave_base_lexer::handle_identifier(), octave_base_lexer::handle_meta_identifier(), octave_base_lexer::handle_superclass_identifier(), and symbol_table::symbol_reference::update().
|
inlineprivate |
Definition at line 2442 of file symtab.h.
References symbol_table::symbol_record::name().
Referenced by do_dup_scope().
|
inlinestatic |
Definition at line 1600 of file symtab.h.
References symbol_table::fcn_info::find(), and symbol_table::fcn_info::install_built_in_function().
Referenced by install_builtin_function(), install_dld_function(), and install_mex_function().
|
inlinestatic |
Definition at line 1522 of file symtab.h.
References symbol_table::fcn_info::install_cmdline_function().
Referenced by tree_evaluator::visit_function_def().
|
static |
Definition at line 1130 of file symtab.cc.
References octave_value::function_value(), get_instance(), install_subfunction(), and octave_function::scope().
|
inlinestatic |
Definition at line 1546 of file symtab.h.
References symbol_table::fcn_info::find(), and symbol_table::fcn_info::install_subfunction().
Referenced by install_nestfunction().
|
inlinestatic |
Definition at line 1579 of file symtab.h.
References symbol_table::fcn_info::install_user_function().
|
inlinestatic |
Definition at line 1464 of file symtab.h.
References octave_value::is_defined().
Referenced by load_path::add_to_fcn_map().
|
inlinestatic |
Definition at line 2141 of file symtab.h.
References do_is_global().
Referenced by do_isglobal(), symbol_table::symbol_record::symbol_record_rep::dump(), and symbol_table::symbol_record::find().
|
inlinestatic |
Definition at line 2129 of file symtab.h.
References do_is_local_variable().
Referenced by do_matlab_compatible_clear().
|
static |
Definition at line 1048 of file symtab.cc.
References class_precedence_table.
Referenced by get_dispatch_type(), and set_class_relationship().
|
inlinestatic |
Definition at line 1456 of file symtab.h.
References do_is_variable().
Referenced by do_who(), octave_base_lexer::is_variable(), and save_vars().
|
inlinestatic |
|
inlineprivate |
Definition at line 2870 of file symtab.h.
References look_nonlocal().
Referenced by do_insert(), do_update_nest(), and look_nonlocal().
|
inlinestatic |
Definition at line 1902 of file symtab.h.
References do_mark_automatic().
Referenced by octave_user_function::bind_automatic_vars().
|
inlinestatic |
Definition at line 1918 of file symtab.h.
References do_mark_global().
Referenced by install_loaded_variable().
|
inlinestatic |
Definition at line 1910 of file symtab.h.
References do_mark_hidden().
Referenced by octave_user_function::bind_automatic_vars(), and intern_argv().
|
inlinestatic |
Definition at line 1214 of file symtab.h.
Referenced by octave_user_function::mark_as_private_function().
|
private |
|
inlinestatic |
Definition at line 2227 of file symtab.h.
Referenced by octave_fcn_handle::do_multi_index_op(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), and out_of_date_check().
|
inlinestatic |
Definition at line 1421 of file symtab.h.
References do_persistent_assign().
Referenced by symbol_table::symbol_record::symbol_record_rep::clear().
|
inlinestatic |
Definition at line 1431 of file symtab.h.
References do_persistent_varref().
|
inlinestatic |
Definition at line 1441 of file symtab.h.
References do_persistent_varval(), and octave_value().
Referenced by symbol_table::symbol_record::symbol_record_rep::init_persistent(), and symbol_table::symbol_record::symbol_record_rep::varval().
Definition at line 1886 of file symtab.h.
References do_pop_context(), and error().
Referenced by octave_user_function::do_multi_index_op().
|
inlinestatic |
Definition at line 1829 of file symtab.h.
References symbol_table::fcn_info::print_dispatch().
Referenced by F__dispatch__().
Definition at line 1873 of file symtab.h.
References do_push_context(), and error().
Referenced by octave_user_function::do_multi_index_op().
|
inlinestatic |
Definition at line 1947 of file symtab.h.
References do_regexp().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 2031 of file symtab.h.
References Array< T >::length().
|
inlinestatic |
Definition at line 1296 of file symtab.h.
References do_rename().
Referenced by main_window::rename_variable_callback().
Definition at line 1246 of file symtab.h.
Referenced by F__dump_symtab_info__().
|
static |
Definition at line 1020 of file symtab.cc.
References class_precedence_table, and is_superiorto().
Referenced by DEFUN().
|
inlinestatic |
Definition at line 2258 of file symtab.h.
References curr_fcn.
Referenced by octave_user_function::octave_user_function().
Definition at line 1140 of file symtab.h.
References error().
Referenced by do_who(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), and read_mat5_binary_element().
|
inlinestatic |
Definition at line 1163 of file symtab.h.
References context, and error().
Referenced by octave_call_stack::do_goto_base_frame(), octave_call_stack::do_goto_caller_frame(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), octave_call_stack::do_pop(), and octave_call_stack::do_push().
|
static |
Definition at line 1291 of file symtab.cc.
References f, fcn_table, octave_function::stash_dir_name(), and octave_value::user_function_value().
|
inlinestatic |
Definition at line 2190 of file symtab.h.
Referenced by dump(), and octave_user_function::subfunctions().
|
inlinestatic |
Definition at line 1397 of file symtab.h.
Referenced by set_top_level_value().
|
inlinestatic |
Definition at line 2077 of file symtab.h.
References do_variable_names().
|
inlinestatic |
Definition at line 1405 of file symtab.h.
References do_varref().
|
inlinestatic |
Definition at line 1415 of file symtab.h.
Referenced by get_top_level_value().
Definition at line 1132 of file symtab.h.
Referenced by octave_call_stack::create_instance(), dump_octave_core(), and octave_link::set_workspace().
|
inlinestatic |
Definition at line 1572 of file symtab.h.
References do_update_nest().
|
inlinestatic |
Definition at line 2047 of file symtab.h.
Referenced by do_clear_functions().
|
inlinestatic |
Definition at line 2084 of file symtab.h.
References do_variable_names().
Referenced by do_clear_variables(), and make_name_list().
|
inlinestatic |
Definition at line 1322 of file symtab.h.
References context, and do_varref().
|
inlinestatic |
Definition at line 1356 of file symtab.h.
References context, do_varval(), and octave_value().
Referenced by DEFUN(), octave_user_function::do_multi_index_op(), symbol_table::symbol_record::symbol_record_rep::dump(), F__varval__(), jit_info::find(), symbol_table::symbol_record::find(), Fwarning(), tree_parameter_list::initialize_undefined_elements(), is_variable(), lookup_function_handle(), mexGetVariable(), octave_user_function::restore_warning_states(), save_vars(), and symbol_exist().
|
inlinestatic |
Definition at line 2153 of file symtab.h.
References do_workspace_info().
Referenced by main_window::load_workspace_callback(), main_window::rename_variable_callback(), and octave_link::set_workspace().
|
staticprivate |
|
staticprivate |
Definition at line 2346 of file symtab.h.
Referenced by cleanup(), is_superiorto(), and set_class_relationship().
|
private |
Definition at line 2323 of file symtab.h.
Referenced by symbol_table::symbol_record::symbol_record_rep::active_context(), do_update_nest(), get_curr_fcn(), set_curr_fcn(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
staticprivate |
Definition at line 2342 of file symtab.h.
Referenced by cleanup(), do_builtin_find(), do_find(), dump_functions(), and stash_dir_name_for_subfunctions().
|
staticprivate |
Definition at line 2329 of file symtab.h.
Referenced by cleanup(), dump_global(), and symbol_table::symbol_record::symbol_record_rep::varref().
|
staticprivate |
|
private |
Definition at line 2307 of file symtab.h.
Referenced by do_dup_scope().
|
private |
Definition at line 2317 of file symtab.h.
Referenced by do_update_nest().
|
private |
Definition at line 2320 of file symtab.h.
Referenced by add_nest_child(), and do_update_nest().
|
staticprivate |
|
private |
|
private |
Definition at line 2326 of file symtab.h.
Referenced by do_update_nest().
|
private |
Definition at line 2314 of file symtab.h.
Referenced by do_dump(), do_find(), do_update_nest(), and do_workspace_info().
|
private |
|
staticprivate |
Definition at line 2366 of file symtab.h.
Referenced by symbol_table::symbol_record::symbol_record_rep::active_context().
|
staticprivate |
Definition at line 2364 of file symtab.h.
Referenced by builtin_find(), find(), find_function(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 2362 of file symtab.h.
Referenced by find_function().