#include "symrec.h"
Classes | |
class | symbol_record_rep |
Public Types | |
typedef size_t | context_id |
Static Public Attributes | |
static const unsigned int | added_static = 128 |
static const unsigned int | automatic = 2 |
static const unsigned int | formal = 4 |
static const unsigned int | global = 32 |
static const unsigned int | hidden = 8 |
static const unsigned int | inherited = 16 |
static const unsigned int | local = 1 |
static const unsigned int | persistent = 64 |
Private Member Functions | |
symbol_record (const std::shared_ptr< symbol_record_rep > &new_rep) | |
octave_value | find_function (const std::string &name, const octave_value_list &args) const |
Private Attributes | |
std::shared_ptr< symbol_record_rep > | m_rep |
Static Private Attributes | |
static octave_value | dummy_octave_value |
|
inline |
|
default |
|
default |
|
inlineprivate |
|
inline |
Definition at line 592 of file symrec.h.
References octave::context, m_rep, and value.
Referenced by octave::octave_lvalue::assign(), octave::symbol_scope_rep::assign(), octave::octave_lvalue::define(), octave::symbol_scope_rep::force_assign(), and octave::symbol_scope_rep::inherit_internal().
|
inline |
|
inline |
Definition at line 605 of file symrec.h.
References octave::context, m_rep, and value.
|
inline |
Definition at line 683 of file symrec.h.
References m_rep.
Referenced by install_loaded_variable(), and octave::tree_identifier::link_to_global().
|
inline |
Definition at line 633 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::symbol_scope_rep::clear_variable_pattern(), octave::symbol_scope_rep::clear_variable_regexp(), and octave::symbol_scope_rep::refresh().
|
inline |
Definition at line 611 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::octave_lvalue::do_unary_op().
|
inline |
Definition at line 616 of file symrec.h.
References octave::context, m_rep, and type.
|
inline |
Definition at line 693 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::symbol_scope_rep::dump_symbols_map().
|
inline |
Definition at line 571 of file symrec.h.
References m_rep, and symbol_record().
|
inline |
Definition at line 581 of file symrec.h.
References octave::context, find_function(), octave_value::is_undefined(), name(), retval, and varval().
Referenced by octave::tree_identifier::do_lookup(), and octave::tree_evaluator::visit_identifier().
|
private |
Definition at line 107 of file symrec.cc.
References octave::__get_symbol_table__(), octave::symbol_table::find_function(), and name().
Referenced by find().
|
inline |
Definition at line 679 of file symrec.h.
References m_rep.
Referenced by octave::tree_identifier::mark_persistent().
|
inline |
Definition at line 658 of file symrec.h.
References m_rep.
Referenced by octave::tree_identifier::lvalue(), and octave::tree_evaluator::visit_identifier().
|
inline |
Definition at line 651 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump(), and octave::symbol_scope_rep::inherit_internal().
|
inline |
Definition at line 635 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::symbol_scope_rep::all_variables(), octave::symbol_scope_rep::clear_variable_pattern(), octave::symbol_scope_rep::clear_variable_regexp(), octave::octave_lvalue::is_defined(), and octave::tree_identifier::is_defined().
|
inline |
Definition at line 652 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump(), octave::symbol_scope_rep::inherit_internal(), and octave::symbol_scope_rep::update_nest().
|
inline |
Definition at line 656 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::refresh().
|
inline |
Definition at line 653 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::clear_variable_pattern(), octave::symbol_scope_rep::clear_variable_regexp(), do_save(), do_who(), octave::symbol_record::symbol_record_rep::dump(), octave::symbol_scope_rep::find(), octave::jit_convert::get_variable(), install_loaded_variable(), octave::tree_identifier::link_to_global(), octave::symbol_scope_rep::refresh(), and octave::symbol_scope_rep::update_nest().
|
inline |
Definition at line 654 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump().
|
inline |
Definition at line 655 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump().
|
inline |
Definition at line 650 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump().
|
inline |
|
inline |
Definition at line 657 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump(), octave::jit_convert::get_variable(), octave::symbol_scope_rep::refresh(), and octave::symbol_scope_rep::update_nest().
|
inline |
Definition at line 640 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::octave_lvalue::is_undefined().
|
inline |
Definition at line 645 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::symbol_scope_rep::glob(), octave::tree_identifier::is_variable(), octave::symbol_scope_rep::is_variable(), and octave::symbol_scope_rep::regexp().
|
inline |
Definition at line 666 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::insert().
|
inline |
Definition at line 661 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::mark_automatic().
|
inline |
Definition at line 662 of file symrec.h.
References m_rep.
Referenced by octave::tree_identifier::mark_as_formal_parameter().
|
inline |
Definition at line 677 of file symrec.h.
References m_rep.
Referenced by octave::symbol_table::find_global_symbol(), octave::symbol_scope_rep::mark_global(), and octave::tree_evaluator::visit_decl_elt().
|
inline |
Definition at line 663 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::mark_hidden().
|
inline |
Definition at line 664 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::inherit_internal().
|
inline |
|
inline |
Definition at line 665 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::init_persistent().
|
inline |
Definition at line 576 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::clear_variable_pattern(), octave::symbol_scope_rep::clear_variable_regexp(), do_save(), find(), find_function(), octave::symbol_scope_rep::inherit_internal(), octave::symbol_scope_rep::insert_symbol_record(), octave::tree_identifier::name(), and octave::token::symbol_name().
|
default |
|
inline |
|
inline |
|
inline |
Definition at line 578 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::rename().
|
inline |
Definition at line 681 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::all_variables().
|
inline |
|
inline |
Definition at line 689 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::refresh().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 624 of file symrec.h.
References octave::context, and m_rep.
Referenced by octave::symbol_scope_rep::clear_objects(), do_save(), octave::symbol_record::symbol_record_rep::dump(), octave::symbol_record::symbol_record_rep::dup(), octave::symbol_scope_rep::find(), find(), octave::jit_convert::get_variable(), symbol_info_list::symbol_info::symbol_info(), and octave::octave_lvalue::value().
|
static |
Definition at line 73 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_added_static(), octave::symbol_record::symbol_record_rep::mark_added_static(), and octave::symbol_record::symbol_record_rep::unmark_added_static().
|
static |
Definition at line 54 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_automatic(), octave::symbol_record::symbol_record_rep::mark_automatic(), and octave::symbol_record::symbol_record_rep::unmark_automatic().
|
staticprivate |
|
static |
Definition at line 57 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_formal(), octave::symbol_record::symbol_record_rep::mark_formal(), and octave::symbol_record::symbol_record_rep::unmark_formal().
|
static |
Definition at line 66 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_marked_global(), and octave::symbol_record::symbol_record_rep::mark_global().
|
static |
Definition at line 60 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_hidden(), octave::symbol_record::symbol_record_rep::mark_hidden(), and octave::symbol_record::symbol_record_rep::unmark_hidden().
|
static |
Definition at line 63 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_inherited(), octave::symbol_record::symbol_record_rep::mark_inherited(), and octave::symbol_record::symbol_record_rep::unmark_inherited().
|
static |
Definition at line 50 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_local(), octave::symbol_record::symbol_record_rep::mark_local(), and octave::symbol_record::symbol_record_rep::unmark_local().
|
private |
Definition at line 700 of file symrec.h.
Referenced by assign(), bind_fwd_rep(), clear(), do_non_const_unary_op(), dump(), dup(), init_persistent(), is_added_static(), is_automatic(), is_defined(), is_formal(), is_forwarded(), is_global(), is_hidden(), is_inherited(), is_local(), is_marked_global(), is_persistent(), is_undefined(), is_variable(), mark_added_static(), mark_automatic(), mark_formal(), mark_global(), mark_hidden(), mark_inherited(), mark_local(), mark_persistent(), name(), pop_context(), push_context(), rename(), storage_class(), unbind_fwd_rep(), unbind_global_rep(), unmark_added_static(), unmark_automatic(), unmark_formal(), unmark_hidden(), unmark_inherited(), unmark_local(), unmark_persistent(), and varval().
|
static |
Definition at line 69 of file symrec.h.
Referenced by octave::symbol_record::symbol_record_rep::is_persistent(), octave::symbol_record::symbol_record_rep::mark_persistent(), and octave::symbol_record::symbol_record_rep::unmark_persistent().