#include <symtab.h>
Classes | |
class | fcn_info |
class | scope_id_cache |
class | symbol_record |
Public Types | |
typedef int | scope_id |
typedef size_t | context_id |
Static Public Member Functions | |
static scope_id | global_scope (void) |
static scope_id | top_scope (void) |
static scope_id | current_scope (void) |
static context_id | current_context (void) |
static scope_id | alloc_scope (void) |
static void | set_scope (scope_id scope) |
static void | set_scope_and_context (scope_id scope, context_id context) |
static void | erase_scope (scope_id scope) |
static void | erase_subfunctions_in_scope (scope_id scope) |
static void | mark_subfunctions_in_scope_as_private (scope_id scope, const std::string &class_name) |
static scope_id | dup_scope (scope_id scope) |
static std::list< scope_id > | scopes (void) |
static symbol_record | find_symbol (const std::string &name, scope_id scope=xcurrent_scope) |
static void | inherit (scope_id scope, scope_id donor_scope, context_id donor_context) |
static bool | at_top_level (void) |
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 | builtin_find (const std::string &name) |
static symbol_record & | insert (const std::string &name) |
static void | force_variable (const std::string &name, scope_id scope=xcurrent_scope, context_id context=xcurrent_context) |
static octave_value & | varref (const std::string &name, scope_id scope=xcurrent_scope, context_id context=xcurrent_context) |
static octave_value | varval (const std::string &name, scope_id scope=xcurrent_scope, context_id context=xcurrent_context) |
static octave_value & | global_varref (const std::string &name) |
static octave_value | global_varval (const std::string &name) |
static octave_value & | top_level_varref (const std::string &name) |
static octave_value | top_level_varval (const std::string &name) |
static octave_value & | persistent_varref (const std::string &name) |
static octave_value | persistent_varval (const std::string &name) |
static void | erase_persistent (const std::string &name) |
static bool | is_variable (const std::string &name) |
static bool | is_built_in_function_name (const std::string &name) |
static octave_value | find_method (const std::string &name, const std::string &dispatch_type) |
static octave_value | find_built_in_function (const std::string &name) |
static octave_value | find_autoload (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_user_function (const std::string &name) |
static void | install_cmdline_function (const std::string &name, const octave_value &fcn) |
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 void | install_built_in_function (const std::string &name, const octave_value &fcn) |
static void | clear (const std::string &name) |
static void | clear_all (void) |
static void | clear_variables (scope_id scope) |
static void | clear_variables (void) |
static void | clear_objects (scope_id scope=xcurrent_scope) |
static void | unmark_forced_variables (scope_id scope=xcurrent_scope) |
static void | clear_functions (void) |
static void | clear_function (const std::string &name) |
static void | clear_global (const std::string &name) |
static void | clear_variable (const std::string &name) |
static void | clear_symbol (const std::string &name) |
static void | clear_function_pattern (const std::string &pat) |
static void | clear_global_pattern (const std::string &pat) |
static void | clear_variable_pattern (const std::string &pat) |
static void | clear_variable_regexp (const std::string &pat) |
static void | clear_symbol_pattern (const std::string &pat) |
static void | clear_user_function (const std::string &name) |
static void | clear_dld_function (const std::string &name) |
static void | clear_mex_functions (void) |
static bool | set_class_relationship (const std::string &sup_class, const std::string &inf_class) |
static bool | is_superiorto (const std::string &a, const std::string &b) |
static void | alias_built_in_function (const std::string &alias, const std::string &name) |
static void | add_dispatch (const std::string &name, const std::string &type, const std::string &fname) |
static void | clear_dispatch (const std::string &name, const std::string &type) |
static void | print_dispatch (std::ostream &os, const std::string &name) |
static fcn_info::dispatch_map_type | get_dispatch (const std::string &name) |
static std::string | help_for_dispatch (const std::string &name) |
static void | push_context (void) |
static void | pop_context (void) |
static void | pop_context (void *) |
static void | mark_automatic (const std::string &name) |
static void | mark_hidden (const std::string &name) |
static void | mark_global (const std::string &name) |
static std::list< symbol_record > | all_variables (scope_id scope=xcurrent_scope, context_id context=xcurrent_context, bool defined_only=true) |
static std::list< symbol_record > | glob (const std::string &pattern) |
static std::list< symbol_record > | regexp (const std::string &pattern) |
static std::list< symbol_record > | glob_variables (const std::string &pattern) |
static std::list< symbol_record > | regexp_variables (const std::string &pattern) |
static std::list< symbol_record > | glob_global_variables (const std::string &pattern) |
static std::list< symbol_record > | regexp_global_variables (const std::string &pattern) |
static std::list< symbol_record > | glob_variables (const string_vector &patterns) |
static std::list< symbol_record > | regexp_variables (const string_vector &patterns) |
static std::list< std::string > | user_function_names (void) |
static std::list< std::string > | global_variable_names (void) |
static std::list< std::string > | top_level_variable_names (void) |
static std::list< std::string > | variable_names (void) |
static std::list< std::string > | built_in_function_names (void) |
static bool | is_local_variable (const std::string &name) |
static bool | is_global (const std::string &name) |
static void | dump (std::ostream &os, scope_id scope=xcurrent_scope) |
static void | dump_global (std::ostream &os) |
static void | dump_functions (std::ostream &os) |
static void | cache_name (scope_id scope, const std::string &name) |
static void | lock_subfunctions (scope_id scope=xcurrent_scope) |
static void | unlock_subfunctions (scope_id scope=xcurrent_scope) |
static void | free_scope (scope_id scope) |
static void | stash_dir_name_for_subfunctions (scope_id scope, const std::string &dir_name) |
static void | add_to_parent_map (const std::string &classname, const std::list< std::string > &parent_list) |
static std::list< std::string > | parent_classes (const std::string &dispatch_type) |
static octave_user_function * | get_curr_fcn (scope_id scope=xcurrent_scope) |
static void | set_curr_fcn (octave_user_function *curr_fcn, scope_id scope=xcurrent_scope) |
static void | cleanup (void) |
typedef size_t symbol_table::context_id |
typedef int symbol_table::scope_id |
static void symbol_table::add_dispatch | ( | const std::string & | name, | |
const std::string & | type, | |||
const std::string & | fname | |||
) | [inline, static] |
static void symbol_table::add_to_parent_map | ( | const std::string & | classname, | |
const std::list< std::string > & | parent_list | |||
) | [inline, static] |
static void symbol_table::alias_built_in_function | ( | const std::string & | alias, | |
const std::string & | name | |||
) | [inline, static] |
static std::list<symbol_record> symbol_table::all_variables | ( | scope_id | scope = xcurrent_scope , |
|
context_id | context = xcurrent_context , |
|||
bool | defined_only = true | |||
) | [inline, static] |
static scope_id symbol_table::alloc_scope | ( | void | ) | [inline, static] |
static bool symbol_table::at_top_level | ( | void | ) | [inline, static] |
static std::list<std::string> symbol_table::built_in_function_names | ( | void | ) | [inline, static] |
octave_value symbol_table::builtin_find | ( | const std::string & | name | ) | [static] |
static void symbol_table::cache_name | ( | scope_id | scope, | |
const std::string & | name | |||
) | [inline, static] |
void symbol_table::cleanup | ( | void | ) | [static] |
static void symbol_table::clear | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_all | ( | void | ) | [inline, static] |
static void symbol_table::clear_dispatch | ( | const std::string & | name, | |
const std::string & | type | |||
) | [inline, static] |
static void symbol_table::clear_dld_function | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_function | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_function_pattern | ( | const std::string & | pat | ) | [inline, static] |
static void symbol_table::clear_functions | ( | void | ) | [inline, static] |
static void symbol_table::clear_global | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_global_pattern | ( | const std::string & | pat | ) | [inline, static] |
static void symbol_table::clear_mex_functions | ( | void | ) | [inline, static] |
static void symbol_table::clear_objects | ( | scope_id | scope = xcurrent_scope |
) | [inline, static] |
static void symbol_table::clear_symbol | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_symbol_pattern | ( | const std::string & | pat | ) | [inline, static] |
static void symbol_table::clear_user_function | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_variable | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::clear_variable_pattern | ( | const std::string & | pat | ) | [inline, static] |
static void symbol_table::clear_variable_regexp | ( | const std::string & | pat | ) | [inline, static] |
static void symbol_table::clear_variables | ( | scope_id | scope | ) | [inline, static] |
static void symbol_table::clear_variables | ( | void | ) | [inline, static] |
static context_id symbol_table::current_context | ( | void | ) | [inline, static] |
static scope_id symbol_table::current_scope | ( | void | ) | [inline, static] |
void symbol_table::dump | ( | std::ostream & | os, | |
scope_id | scope = xcurrent_scope | |||
) | [static] |
void symbol_table::dump_functions | ( | std::ostream & | os | ) | [static] |
void symbol_table::dump_global | ( | std::ostream & | os | ) | [static] |
static void symbol_table::erase_persistent | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::erase_scope | ( | scope_id | scope | ) | [inline, static] |
static void symbol_table::erase_subfunctions_in_scope | ( | scope_id | scope | ) | [inline, static] |
octave_value symbol_table::find | ( | const std::string & | name, | |
const octave_value_list & | args = octave_value_list () , |
|||
bool | skip_variables = false , |
|||
bool | local_funcs = true | |||
) | [static] |
static octave_value symbol_table::find_autoload | ( | const std::string & | name | ) | [inline, static] |
static octave_value symbol_table::find_built_in_function | ( | const std::string & | name | ) | [inline, static] |
octave_value symbol_table::find_function | ( | const std::string & | name, | |
const octave_value_list & | args = octave_value_list () , |
|||
bool | local_funcs = true | |||
) | [static] |
static octave_value symbol_table::find_method | ( | const std::string & | name, | |
const std::string & | dispatch_type | |||
) | [inline, static] |
static symbol_record symbol_table::find_symbol | ( | const std::string & | name, | |
scope_id | scope = xcurrent_scope | |||
) | [inline, static] |
static octave_value symbol_table::find_user_function | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::force_variable | ( | const std::string & | name, | |
scope_id | scope = xcurrent_scope , |
|||
context_id | context = xcurrent_context | |||
) | [inline, static] |
static void symbol_table::free_scope | ( | scope_id | scope | ) | [inline, static] |
static octave_user_function* symbol_table::get_curr_fcn | ( | scope_id | scope = xcurrent_scope |
) | [inline, static] |
static fcn_info::dispatch_map_type symbol_table::get_dispatch | ( | const std::string & | name | ) | [inline, static] |
static std::list<symbol_record> symbol_table::glob | ( | const std::string & | pattern | ) | [inline, static] |
static std::list<symbol_record> symbol_table::glob_global_variables | ( | const std::string & | pattern | ) | [inline, static] |
static std::list<symbol_record> symbol_table::glob_variables | ( | const std::string & | pattern | ) | [inline, static] |
static std::list<symbol_record> symbol_table::glob_variables | ( | const string_vector & | patterns | ) | [inline, static] |
static scope_id symbol_table::global_scope | ( | void | ) | [inline, static] |
static std::list<std::string> symbol_table::global_variable_names | ( | void | ) | [inline, static] |
static octave_value& symbol_table::global_varref | ( | const std::string & | name | ) | [inline, static] |
static octave_value symbol_table::global_varval | ( | const std::string & | name | ) | [inline, static] |
static std::string symbol_table::help_for_dispatch | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::inherit | ( | scope_id | scope, | |
scope_id | donor_scope, | |||
context_id | donor_context | |||
) | [inline, static] |
static symbol_record& symbol_table::insert | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::install_built_in_function | ( | const std::string & | name, | |
const octave_value & | fcn | |||
) | [inline, static] |
static void symbol_table::install_cmdline_function | ( | const std::string & | name, | |
const octave_value & | fcn | |||
) | [inline, static] |
static void symbol_table::install_subfunction | ( | const std::string & | name, | |
const octave_value & | fcn, | |||
scope_id | scope | |||
) | [inline, static] |
static void symbol_table::install_user_function | ( | const std::string & | name, | |
const octave_value & | fcn | |||
) | [inline, static] |
static bool symbol_table::is_built_in_function_name | ( | const std::string & | name | ) | [inline, static] |
static bool symbol_table::is_global | ( | const std::string & | name | ) | [inline, static] |
static bool symbol_table::is_local_variable | ( | const std::string & | name | ) | [inline, static] |
bool symbol_table::is_superiorto | ( | const std::string & | a, | |
const std::string & | b | |||
) | [static] |
static bool symbol_table::is_variable | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::lock_subfunctions | ( | scope_id | scope = xcurrent_scope |
) | [inline, static] |
static void symbol_table::mark_automatic | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::mark_global | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::mark_hidden | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::mark_subfunctions_in_scope_as_private | ( | scope_id | scope, | |
const std::string & | class_name | |||
) | [inline, static] |
static std::list<std::string> symbol_table::parent_classes | ( | const std::string & | dispatch_type | ) | [inline, static] |
static octave_value& symbol_table::persistent_varref | ( | const std::string & | name | ) | [inline, static] |
static octave_value symbol_table::persistent_varval | ( | const std::string & | name | ) | [inline, static] |
static void symbol_table::pop_context | ( | void | ) | [inline, static] |
static void symbol_table::pop_context | ( | void * | ) | [inline, static] |
static void symbol_table::print_dispatch | ( | std::ostream & | os, | |
const std::string & | name | |||
) | [inline, static] |
static void symbol_table::push_context | ( | void | ) | [inline, static] |
static std::list<symbol_record> symbol_table::regexp | ( | const std::string & | pattern | ) | [inline, static] |
static std::list<symbol_record> symbol_table::regexp_global_variables | ( | const std::string & | pattern | ) | [inline, static] |
static std::list<symbol_record> symbol_table::regexp_variables | ( | const string_vector & | patterns | ) | [inline, static] |
static std::list<symbol_record> symbol_table::regexp_variables | ( | const std::string & | pattern | ) | [inline, static] |
static std::list<scope_id> symbol_table::scopes | ( | void | ) | [inline, static] |
bool symbol_table::set_class_relationship | ( | const std::string & | sup_class, | |
const std::string & | inf_class | |||
) | [static] |
static void symbol_table::set_curr_fcn | ( | octave_user_function * | curr_fcn, | |
scope_id | scope = xcurrent_scope | |||
) | [inline, static] |
static void symbol_table::set_scope | ( | scope_id | scope | ) | [inline, static] |
static void symbol_table::set_scope_and_context | ( | scope_id | scope, | |
context_id | context | |||
) | [inline, static] |
void symbol_table::stash_dir_name_for_subfunctions | ( | scope_id | scope, | |
const std::string & | dir_name | |||
) | [static] |
static std::list<std::string> symbol_table::top_level_variable_names | ( | void | ) | [inline, static] |
static octave_value& symbol_table::top_level_varref | ( | const std::string & | name | ) | [inline, static] |
static octave_value symbol_table::top_level_varval | ( | const std::string & | name | ) | [inline, static] |
static scope_id symbol_table::top_scope | ( | void | ) | [inline, static] |
static void symbol_table::unlock_subfunctions | ( | scope_id | scope = xcurrent_scope |
) | [inline, static] |
static void symbol_table::unmark_forced_variables | ( | scope_id | scope = xcurrent_scope |
) | [inline, static] |
static std::list<std::string> symbol_table::user_function_names | ( | void | ) | [inline, static] |
static std::list<std::string> symbol_table::variable_names | ( | void | ) | [inline, static] |
static octave_value& symbol_table::varref | ( | const std::string & | name, | |
scope_id | scope = xcurrent_scope , |
|||
context_id | context = xcurrent_context | |||
) | [inline, static] |
static octave_value symbol_table::varval | ( | const std::string & | name, | |
scope_id | scope = xcurrent_scope , |
|||
context_id | context = xcurrent_context | |||
) | [inline, static] |