#include "symrec.h"
Classes | |
class | symbol_record_rep |
Public Types | |
typedef size_t | context_id |
Public Member Functions | |
symbol_record (const std::string &nm, const octave_value &, unsigned int sc=local) | |
symbol_record (const std::string &nm="", unsigned int sc=local) | |
symbol_record (const symbol_record &)=default | |
~symbol_record (void)=default | |
size_t | data_offset (void) const |
octave_value | dump (void) const |
symbol_record | dup (void) const |
size_t | frame_offset (void) const |
bool | is_added_static (void) const |
bool | is_formal (void) const |
bool | is_local (void) const |
bool | is_valid (void) const |
void | mark_added_static (void) |
void | mark_formal (void) |
void | mark_local (void) |
std::string | name (void) const |
operator bool () const | |
symbol_record & | operator= (const symbol_record &)=default |
void | rename (const std::string &new_name) |
void | set_data_offset (size_t offset) |
void | set_frame_offset (size_t offset) |
unsigned int | storage_class (void) const |
void | unmark_added_static (void) |
void | unmark_formal (void) |
void | unmark_local (void) |
Static Public Attributes | |
static const unsigned int | added_static = 4 |
static const unsigned int | formal = 2 |
static const unsigned | int = 1 |
Private Member Functions | |
symbol_record (const std::shared_ptr< symbol_record_rep > &new_rep) | |
Private Attributes | |
std::shared_ptr< symbol_record_rep > | m_rep |
typedef size_t octave::symbol_record::context_id |
|
inline |
|
inline |
|
default |
|
default |
|
inlineprivate |
|
inline |
Definition at line 181 of file symrec.h.
References m_rep.
Referenced by octave::script_stack_frame::get_val_offsets(), octave::script_stack_frame::get_val_offsets_internal(), octave::script_stack_frame::get_val_offsets_with_insert(), octave::script_stack_frame::mark_scope(), octave::user_fcn_stack_frame::mark_scope(), octave::scope_stack_frame::mark_scope(), octave::script_stack_frame::resize_and_update_script_offsets(), octave::user_fcn_stack_frame::scope_flag(), octave::scope_stack_frame::scope_flag(), octave::script_stack_frame::set_script_offsets_internal(), octave::user_fcn_stack_frame::varref(), octave::scope_stack_frame::varref(), octave::user_fcn_stack_frame::varval(), and octave::scope_stack_frame::varval().
|
inline |
Definition at line 203 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::dump_symbols_map().
|
inline |
Definition at line 183 of file symrec.h.
References symbol_record(), and m_rep.
Referenced by octave::script_stack_frame::lookup_symbol().
|
inline |
Definition at line 177 of file symrec.h.
References m_rep.
Referenced by octave::script_stack_frame::get_val_offsets(), octave::script_stack_frame::get_val_offsets_internal(), octave::script_stack_frame::get_val_offsets_with_insert(), octave::script_stack_frame::insert_symbol(), octave::script_stack_frame::lookup_symbol(), octave::user_fcn_stack_frame::mark_scope(), octave::user_fcn_stack_frame::scope_flag(), octave::script_stack_frame::set_script_offsets_internal(), octave::user_fcn_stack_frame::varref(), and octave::user_fcn_stack_frame::varval().
|
inline |
Definition at line 191 of file symrec.h.
References m_rep.
Referenced by octave::tree_identifier::evaluate_n(), and octave::tree_identifier::lvalue().
|
inline |
Definition at line 190 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump(), octave::stack_frame::make_persistent(), and octave::symbol_scope_rep::update_nest().
|
inline |
Definition at line 189 of file symrec.h.
References m_rep.
Referenced by octave::symbol_record::symbol_record_rep::dump().
|
inline |
|
inline |
Definition at line 195 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::insert().
|
inline |
Definition at line 194 of file symrec.h.
References m_rep.
Referenced by octave::tree_identifier::mark_as_formal_parameter().
|
inline |
|
inline |
Definition at line 185 of file symrec.h.
References m_rep.
Referenced by octave::base_lexer::display_token(), octave::tree_identifier::evaluate_n(), octave::script_stack_frame::get_val_offsets_internal(), octave::script_stack_frame::get_val_offsets_with_insert(), octave::symbol_scope_rep::insert_symbol_record(), octave::stack_frame::install_variable(), octave::stack_frame::make_global(), octave::stack_frame::make_persistent(), octave::symbol_cleaner::maybe_clear_symbol(), octave::tree_identifier::name(), octave::script_stack_frame::resize_and_update_script_offsets(), octave::token::symbol_name(), octave::script_stack_frame::varref(), octave::user_fcn_stack_frame::varref(), octave::scope_stack_frame::varref(), octave::script_stack_frame::varval(), octave::user_fcn_stack_frame::varval(), and octave::scope_stack_frame::varval().
|
inlineexplicit |
Definition at line 173 of file symrec.h.
References is_valid().
|
default |
|
inline |
Definition at line 187 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::rename().
|
inline |
Definition at line 179 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::insert(), octave::symbol_scope_rep::insert_symbol_record(), and octave::symbol_scope_rep::look_nonlocal().
|
inline |
Definition at line 175 of file symrec.h.
References m_rep.
Referenced by octave::symbol_scope_rep::look_nonlocal(), and octave::script_stack_frame::lookup_symbol().
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 59 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 55 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().
|
private |
Definition at line 207 of file symrec.h.
Referenced by data_offset(), dump(), dup(), frame_offset(), is_added_static(), is_formal(), is_local(), is_valid(), mark_added_static(), mark_formal(), mark_local(), name(), rename(), set_data_offset(), set_frame_offset(), storage_class(), unmark_added_static(), unmark_formal(), and unmark_local().