#include "symrec.h"
Public Types | |
typedef std::size_t | context_id |
enum | symrec_t : unsigned char { LOCAL = 1 , FORMAL = 2 , ADDED_STATIC = 4 , VARIABLE = 8 } |
Public Member Functions | |
symbol_record (const std::string &nm, const octave_value &, symrec_t sc=LOCAL) | |
symbol_record (const std::string &nm="", symrec_t sc=LOCAL) | |
symbol_record (const symbol_record &)=default | |
~symbol_record ()=default | |
std::size_t | data_offset () const |
octave_value | dump () const |
symbol_record | dup () const |
std::size_t | frame_offset () const |
bool | is_added_static () const |
bool | is_formal () const |
bool | is_local () const |
bool | is_valid () const |
bool | is_variable () const |
void | mark_added_static () |
void | mark_as_variable () |
void | mark_formal () |
void | mark_local () |
std::string | name () const |
operator bool () const | |
symbol_record & | operator= (const symbol_record &)=default |
void | rename (const std::string &new_name) |
void | set_data_offset (std::size_t offset) |
void | set_frame_offset (std::size_t offset) |
unsigned int | storage_class () const |
void | unmark_added_static () |
void | unmark_as_variable () |
void | unmark_formal () |
void | unmark_local () |
typedef std::size_t symbol_record::context_id |
enum symbol_record::symrec_t : unsigned char |
|
inline |
|
default |
|
default |
|
inline |
Definition at line 228 of file symrec.h.
Referenced by symbol_scope_rep::dump_symbols_map().
|
inline |
Definition at line 205 of file symrec.h.
References symbol_record().
|
inline |
Definition at line 198 of file symrec.h.
Referenced by stack_frame::make_symbol_info_list().
|
inline |
Definition at line 213 of file symrec.h.
Referenced by tree_identifier::evaluate_n(), and tree_identifier::lvalue().
|
inline |
Definition at line 212 of file symrec.h.
Referenced by stack_frame::make_persistent(), stack_frame::make_symbol_info_list(), and symbol_scope_rep::update_nest().
|
inline |
Definition at line 191 of file symrec.h.
Referenced by operator bool().
|
inline |
Definition at line 218 of file symrec.h.
Referenced by symbol_scope_rep::insert().
|
inline |
Definition at line 217 of file symrec.h.
Referenced by tree_identifier::mark_as_formal_parameter().
|
inline |
Definition at line 207 of file symrec.h.
Referenced by tree_identifier::evaluate_n(), symbol_scope_rep::insert_symbol_record(), stack_frame::install_variable(), stack_frame::make_global(), stack_frame::make_persistent(), stack_frame::make_symbol_info_list(), and tree_identifier::name().
|
inlineexplicit |
Definition at line 193 of file symrec.h.
References is_valid().
|
default |
|
inline |
Definition at line 209 of file symrec.h.
Referenced by symbol_scope_rep::rename().
|
inline |
Definition at line 200 of file symrec.h.
Referenced by symbol_scope_rep::insert(), symbol_scope_rep::insert_symbol_record(), and symbol_scope_rep::look_nonlocal().
|
inline |
Definition at line 195 of file symrec.h.
Referenced by symbol_scope_rep::look_nonlocal().