GNU Octave
4.0.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 1825 of file symtab.h.
References symbol_table::fcn_info::add_dispatch().
Referenced by F__dispatch__().
|
inlineprivate |
Definition at line 2464 of file symtab.h.
References nest_parent.
|
inlinestatic |
Definition at line 2249 of file symtab.h.
Referenced by octave_class::octave_class().
|
inlinestatic |
Definition at line 1808 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 1957 of file symtab.h.
References context, and do_all_variables().
Referenced by dump_octave_core(), Ffunctions(), octave_fcn_handle::save_ascii(), octave_fcn_handle::save_binary(), and octave_fcn_handle::save_hdf5().
|
inlinestatic |
Definition at line 1167 of file symtab.h.
Referenced by do_who(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), octave_push_parse(), and read_mat5_binary_element().
|
inlinestatic |
Definition at line 1335 of file symtab.h.
References context, and do_assign().
Referenced by octave_user_function::bind_automatic_vars(), jit_info::execute(), Fassignin(), Fwarning(), install_loaded_variable(), intern_argv(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), mexPutVariable(), read_mat5_binary_element(), and tree_evaluator::visit_function_def().
|
inlinestatic |
Definition at line 1303 of file symtab.h.
Referenced by Fisargout(), Fnargout(), Fwarning(), intern_argv(), and main_loop().
|
inlinestatic |
Definition at line 2120 of file symtab.h.
References octave_value::is_defined().
Referenced by F__builtins__(), and make_name_list().
|
static |
Definition at line 1263 of file symtab.cc.
References do_builtin_find(), get_instance(), octave_value(), and xcurrent_scope.
Referenced by Fbuiltin().
|
inlinestatic |
Definition at line 2196 of file symtab.h.
References do_cache_name().
Referenced by octave_base_parser::finish_function(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), and octave_fcn_handle::octave_fcn_handle().
|
static |
Definition at line 1582 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 1650 of file symtab.h.
References clear_variable().
Referenced by install_loaded_variable().
|
inlinestatic |
Definition at line 1655 of file symtab.h.
Referenced by cleanup(), do_matlab_compatible_clear(), and Fclear().
|
inlinestatic |
Definition at line 1846 of file symtab.h.
References symbol_table::fcn_info::clear_dispatch().
Referenced by F__dispatch__().
|
inlinestatic |
Definition at line 1780 of file symtab.h.
References symbol_table::fcn_info::clear_autoload_function(), and symbol_table::fcn_info::clear_user_function().
Referenced by clear(), do_clear_function(), and Fautoload().
|
inlinestatic |
Definition at line 1692 of file symtab.h.
Referenced by clear_function(), and do_clear_functions().
|
inlinestatic |
Definition at line 1721 of file symtab.h.
References glob_match::match().
Referenced by do_clear_functions().
|
inlinestatic |
Definition at line 1686 of file symtab.h.
Referenced by do_clear_functions().
|
inlinestatic |
Definition at line 1697 of file symtab.h.
References do_clear_global().
Referenced by do_clear_globals().
|
inlinestatic |
Definition at line 1732 of file symtab.h.
References do_clear_global_pattern().
Referenced by do_clear_globals().
|
inlinestatic |
Definition at line 1793 of file symtab.h.
References symbol_table::fcn_info::clear_mex_function().
Referenced by clear_mex_functions().
|
inlinestatic |
Definition at line 1678 of file symtab.h.
References do_clear_objects().
Referenced by do_matlab_compatible_clear(), and Fclear().
|
inlinestatic |
Definition at line 1713 of file symtab.h.
References clear_function(), and clear_variable().
Referenced by clear_symbol().
|
inlinestatic |
Definition at line 1756 of file symtab.h.
Referenced by do_clear_symbols(), and do_matlab_compatible_clear().
|
inlinestatic |
Definition at line 1764 of file symtab.h.
References symbol_table::fcn_info::clear_user_function().
|
inlinestatic |
Definition at line 1705 of file symtab.h.
References do_clear_variable().
Referenced by clear_variable(), and do_clear_variables().
|
inlinestatic |
Definition at line 1740 of file symtab.h.
References do_clear_variable_pattern().
Referenced by do_clear_variables().
|
inlinestatic |
Definition at line 1748 of file symtab.h.
References do_clear_variable_regexp().
Referenced by do_clear_variables().
|
inlinestatic |
Definition at line 1664 of file symtab.h.
References do_clear_variables().
|
inlinestatic |
Definition at line 1673 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 2139 of file symtab.h.
References octave_value::is_defined().
Referenced by make_name_list().
|
inlinestatic |
Definition at line 1165 of file symtab.h.
Referenced by tree_anon_fcn_handle::dup(), F__current_scope__(), and tree_anon_fcn_handle::rvalue1().
|
inlinestatic |
Definition at line 1163 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 2795 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 2569 of file symtab.h.
References symbol_table::symbol_record::assign().
Referenced by assign().
|
private |
Definition at line 1472 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 2895 of file symtab.h.
Referenced by cache_name(), and get_instance().
|
inlineprivate |
Definition at line 2695 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 2722 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().
|
inlineprivate |
Definition at line 2684 of file symtab.h.
References octave_value::is_object(), and symbol_table::symbol_record::varval().
Referenced by clear_objects().
|
inlineprivate |
Definition at line 2714 of file symtab.h.
Referenced by clear_variable().
|
inlineprivate |
Definition at line 2747 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 2763 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().
|
inlineprivate |
Definition at line 2678 of file symtab.h.
Referenced by clear_variables().
|
private |
Definition at line 1550 of file symtab.cc.
References octave_value::dump(), persistent_table, and table.
Referenced by dump().
|
inlineprivate |
Definition at line 2477 of file symtab.h.
References insert_symbol_record(), and my_scope.
Referenced by dup_scope().
|
inlineprivate |
Definition at line 2635 of file symtab.h.
Referenced by erase_persistent().
|
private |
Definition at line 1423 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 2484 of file symtab.h.
Referenced by find_symbol().
|
inlineprivate |
Definition at line 2814 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 2494 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 2531 of file symtab.h.
References look_nonlocal(), and symbol_table::symbol_record::mark_added_static().
Referenced by insert().
|
inlineprivate |
Definition at line 2884 of file symtab.h.
Referenced by is_global().
|
inlineprivate |
Definition at line 2875 of file symtab.h.
Referenced by is_local_variable().
|
inlineprivate |
Definition at line 2643 of file symtab.h.
References symbol_table::symbol_record::is_variable().
Referenced by is_variable().
|
inlineprivate |
Definition at line 2779 of file symtab.h.
Referenced by mark_automatic().
|
inlineprivate |
Definition at line 2789 of file symtab.h.
Referenced by mark_global().
|
inlineprivate |
Definition at line 2784 of file symtab.h.
Referenced by mark_hidden().
|
inlineprivate |
Definition at line 2608 of file symtab.h.
Referenced by persistent_assign().
|
inlineprivate |
Definition at line 2620 of file symtab.h.
Referenced by persistent_varref(), and symbol_table::symbol_record::symbol_record_rep::varref().
|
inlineprivate |
Definition at line 2628 of file symtab.h.
Referenced by persistent_varval().
|
inlineprivate |
Definition at line 2665 of file symtab.h.
Referenced by pop_context().
|
inlineprivate |
Definition at line 2659 of file symtab.h.
Referenced by push_context().
|
inlineprivate |
Definition at line 2837 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 2553 of file symtab.h.
References symbol_table::symbol_record::rename().
Referenced by rename().
|
private |
Definition at line 1607 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 2860 of file symtab.h.
Referenced by top_level_variable_names(), and variable_names().
|
inlineprivate |
Definition at line 2586 of file symtab.h.
References symbol_table::symbol_record::varref().
Referenced by force_varref(), top_level_varref(), and varref().
|
inlineprivate |
Definition at line 2601 of file symtab.h.
References octave_value().
Referenced by do_inherit(), and varval().
|
private |
Definition at line 1496 of file symtab.cc.
References dim_vector::alloc(), octave_value::class_name(), 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(), dim_vector::length(), Array< T >::numel(), octave_value::short_disp(), octave_value::size(), dim_vector::str(), table, and symbol_table::symbol_record::varval().
Referenced by workspace_info().
|
static |
Definition at line 1325 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 1379 of file symtab.cc.
References fcn_table.
Referenced by F__dump_symtab_info__().
|
static |
Definition at line 1359 of file symtab.cc.
References octave_value::dump(), and global_table.
Referenced by dump(), and F__dump_symtab_info__().
Definition at line 1250 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 1477 of file symtab.h.
References do_erase_persistent().
Referenced by symbol_table::symbol_record::symbol_record_rep::erase_persistent().
|
inlinestatic |
Definition at line 1218 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().
|
inlinestatic |
Definition at line 1236 of file symtab.h.
Referenced by octave_user_function::erase_subfunctions().
|
static |
Definition at line 1250 of file symtab.cc.
References do_find(), get_instance(), octave_value(), and xcurrent_scope.
Referenced by cdef_manager::do_find_class(), cdef_package::cdef_package_rep::find(), jit_typeinfo::find_builtin(), find_function(), and safe_symbol_lookup().
|
inlinestatic |
Definition at line 1530 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 1521 of file symtab.h.
References octave_value().
Referenced by install_built_in_docstrings(), octave_base_parser::make_meta_class_query(), and octave_base_parser::make_superclass_ref().
|
static |
Definition at line 1271 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 do_which(), Farrayfun(), Fbsxfun(), Fcellfun(), feval(), symbol_table::symbol_record::find(), Fnargin(), Fnargout(), get_mapper_fun_options(), get_user_code(), jit_convert::get_variable(), is_valid_function(), make_fcn_handle(), 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 1501 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(), do_class_concat(), do_colon_op(), octave_fcn_handle::do_multi_index_op(), Fend(), find_function(), octave_class::index_vector(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), make_fcn_handle(), octave_class::numel(), 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 1281 of file symtab.h.
References do_find_symbol().
Referenced by do_who(), tree_identifier::dup(), and jit_convert::get_variable().
|
inlinestatic |
Definition at line 1543 of file symtab.h.
References octave_value().
Referenced by symbol_table::fcn_info::fcn_info_rep::load_class_constructor(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1365 of file symtab.h.
References context.
Referenced by bind_ans(), and octave_user_function::bind_automatic_vars().
|
inlinestatic |
Definition at line 1375 of file symtab.h.
References context, and do_varref().
|
inlinestatic |
Definition at line 2238 of file symtab.h.
References error(), and symbol_table::scope_id_cache::free().
|
inlinestatic |
Definition at line 2281 of file symtab.h.
References curr_fcn.
Referenced by find_private_file(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().
|
inlinestatic |
Definition at line 1870 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 2519 of file symtab.h.
Referenced by symbol_table::symbol_record::find().
|
inlinestaticprivate |
Definition at line 2406 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 2043 of file symtab.h.
References Array< T >::length().
|
inlinestatic |
Definition at line 1395 of file symtab.h.
Referenced by install_loaded_variable(), and set_global_value().
|
inlinestatic |
|
inlinestatic |
Definition at line 2093 of file symtab.h.
Referenced by do_clear_globals().
|
inlinestatic |
|
inlinestatic |
Definition at line 1418 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 1886 of file symtab.h.
References symbol_table::fcn_info::help_for_dispatch().
|
inlinestatic |
Definition at line 1290 of file symtab.h.
References do_inherit().
Referenced by tree_anon_fcn_handle::dup(), and tree_anon_fcn_handle::rvalue1().
|
inlinestatic |
Definition at line 1315 of file symtab.h.
References do_insert().
Referenced by octave_base_lexer::handle_identifier(), and symbol_table::symbol_reference::update().
|
inlineprivate |
Definition at line 2471 of file symtab.h.
References symbol_table::symbol_record::name().
Referenced by do_dup_scope().
|
inlinestatic |
Definition at line 1629 of file symtab.h.
References symbol_table::fcn_info::install_built_in_function().
Referenced by install_builtin_function(), install_classdef(), install_dld_function(), and install_mex_function().
|
inlinestatic |
Definition at line 1551 of file symtab.h.
References symbol_table::fcn_info::install_cmdline_function().
Referenced by tree_evaluator::visit_function_def().
|
static |
Definition at line 1233 of file symtab.cc.
References octave_value::function_value(), get_instance(), install_subfunction(), and octave_function::scope().
Referenced by octave_base_parser::finish_function().
|
inlinestatic |
Definition at line 1575 of file symtab.h.
References symbol_table::fcn_info::install_subfunction().
Referenced by octave_base_parser::finish_function(), and install_nestfunction().
|
inlinestatic |
Definition at line 1608 of file symtab.h.
References symbol_table::fcn_info::install_user_function().
|
inlinestatic |
Definition at line 1493 of file symtab.h.
References octave_value::is_defined().
Referenced by load_path::loader::add_to_fcn_map().
|
inlinestatic |
Definition at line 2170 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 2158 of file symtab.h.
References do_is_local_variable().
Referenced by do_matlab_compatible_clear().
|
static |
Definition at line 1150 of file symtab.cc.
References class_precedence_table.
Referenced by get_dispatch_type(), and set_class_relationship().
|
inlinestatic |
Definition at line 1485 of file symtab.h.
References do_is_variable().
Referenced by do_who(), octave_base_lexer::is_variable(), and save_vars().
|
inlinestatic |
Definition at line 2204 of file symtab.h.
Referenced by octave_user_function::lock_subfunctions().
|
inlineprivate |
Definition at line 2899 of file symtab.h.
References look_nonlocal().
Referenced by do_insert(), do_update_nest(), and look_nonlocal().
|
inlinestatic |
Definition at line 1931 of file symtab.h.
References do_mark_automatic().
Referenced by octave_user_function::bind_automatic_vars().
|
inlinestatic |
Definition at line 1947 of file symtab.h.
References do_mark_global().
Referenced by install_loaded_variable().
|
inlinestatic |
Definition at line 1939 of file symtab.h.
References do_mark_hidden().
Referenced by octave_user_function::bind_automatic_vars(), and intern_argv().
|
inlinestatic |
Definition at line 1243 of file symtab.h.
Referenced by octave_user_function::mark_as_private_function().
|
private |
|
inlinestatic |
Definition at line 2256 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 1450 of file symtab.h.
References do_persistent_assign().
Referenced by symbol_table::symbol_record::symbol_record_rep::clear().
|
inlinestatic |
Definition at line 1460 of file symtab.h.
References do_persistent_varref().
|
inlinestatic |
Definition at line 1470 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().
|
inlinestatic |
Definition at line 1915 of file symtab.h.
References do_pop_context(), and error().
Referenced by octave_user_function::do_multi_index_op().
|
inlinestatic |
|
inlinestatic |
Definition at line 1858 of file symtab.h.
References symbol_table::fcn_info::print_dispatch().
Referenced by F__dispatch__().
|
inlinestatic |
Definition at line 1902 of file symtab.h.
References do_push_context(), and error().
Referenced by octave_user_function::do_multi_index_op().
|
inlinestatic |
Definition at line 1976 of file symtab.h.
References do_regexp().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 2060 of file symtab.h.
References Array< T >::length().
|
inlinestatic |
Definition at line 1325 of file symtab.h.
References do_rename().
Referenced by main_window::rename_variable_callback().
|
inlinestatic |
Definition at line 1275 of file symtab.h.
Referenced by F__dump_symtab_info__().
|
static |
Definition at line 1122 of file symtab.cc.
References class_precedence_table, and is_superiorto().
Referenced by Finferiorto(), and Fsuperiorto().
|
inlinestatic |
Definition at line 2287 of file symtab.h.
References curr_fcn.
Referenced by octave_user_function::octave_user_function().
|
inlinestatic |
Definition at line 1169 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 1192 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 1395 of file symtab.cc.
References f, fcn_table, octave_function::stash_dir_name(), and octave_value::user_function_value().
Referenced by load_fcn_from_file().
|
inlinestatic |
Definition at line 2219 of file symtab.h.
Referenced by dump(), and octave_user_function::subfunctions().
|
inlinestatic |
Definition at line 1426 of file symtab.h.
Referenced by set_top_level_value().
|
inlinestatic |
Definition at line 2106 of file symtab.h.
References do_variable_names().
|
inlinestatic |
Definition at line 1434 of file symtab.h.
References do_varref().
|
inlinestatic |
Definition at line 1444 of file symtab.h.
Referenced by get_top_level_value().
|
inlinestatic |
Definition at line 1161 of file symtab.h.
Referenced by octave_call_stack::create_instance(), dump_octave_core(), and octave_link::set_workspace().
|
inlinestatic |
Definition at line 2211 of file symtab.h.
Referenced by octave_user_function::unlock_subfunctions().
|
inlinestatic |
Definition at line 1601 of file symtab.h.
References do_update_nest().
Referenced by octave_base_parser::finish_function().
|
inlinestatic |
Definition at line 2076 of file symtab.h.
Referenced by do_clear_functions().
|
inlinestatic |
Definition at line 2113 of file symtab.h.
References do_variable_names().
Referenced by do_clear_variables(), and make_name_list().
|
inlinestatic |
Definition at line 1351 of file symtab.h.
References context, and do_varref().
|
inlinestatic |
Definition at line 1385 of file symtab.h.
References context, do_varval(), and octave_value().
Referenced by octave_user_function::do_multi_index_op(), octave_classdef_superclass_ref::do_multi_index_op(), symbol_table::symbol_record::symbol_record_rep::dump(), F__varval__(), jit_info::find(), symbol_table::symbol_record::find(), Fisargout(), Fnargin(), Fnargout(), Fwarning(), workspace_view::handle_contextmenu_copy_value(), 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 2182 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 2375 of file symtab.h.
Referenced by cleanup(), is_superiorto(), and set_class_relationship().
|
private |
Definition at line 2352 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 2371 of file symtab.h.
Referenced by cleanup(), do_builtin_find(), do_find(), dump_functions(), and stash_dir_name_for_subfunctions().
|
staticprivate |
Definition at line 2358 of file symtab.h.
Referenced by cleanup(), dump_global(), and symbol_table::symbol_record::symbol_record_rep::varref().
|
staticprivate |
|
private |
Definition at line 2336 of file symtab.h.
Referenced by do_dup_scope().
|
private |
Definition at line 2346 of file symtab.h.
Referenced by do_update_nest().
|
private |
Definition at line 2349 of file symtab.h.
Referenced by add_nest_child(), and do_update_nest().
|
staticprivate |
|
private |
|
private |
Definition at line 2355 of file symtab.h.
Referenced by do_update_nest().
|
private |
Definition at line 2343 of file symtab.h.
Referenced by do_dump(), do_find(), do_update_nest(), and do_workspace_info().
|
private |
|
staticprivate |
Definition at line 2395 of file symtab.h.
Referenced by symbol_table::symbol_record::symbol_record_rep::active_context().
|
staticprivate |
Definition at line 2393 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 2391 of file symtab.h.
Referenced by find_function().