GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
symbol_table::symbol_record::symbol_record_rep Class Reference
Collaboration diagram for symbol_table::symbol_record::symbol_record_rep:
Collaboration graph
[legend]

Public Member Functions

 symbol_record_rep (scope_id s, const std::string &nm, const octave_value &v, unsigned int sc)
OCTINTERP_API context_id active_context (void) const
void assign (const octave_value &value, context_id context=xdefault_context)
void assign (octave_value::assign_op op, const std::string &type, const std::list< octave_value_list > &idx, const octave_value &value, context_id context=xdefault_context)
void assign (octave_value::assign_op op, const octave_value &value, context_id context=xdefault_context)
void clear (void)
void clear (scope_id s)
void do_non_const_unary_op (octave_value::unary_op op, context_id context=xdefault_context)
void do_non_const_unary_op (octave_value::unary_op op, const std::string &type, const std::list< octave_value_list > &idx, context_id context=xdefault_context)
void dump (std::ostream &os, const std::string &prefix) const
symbol_record_repdup (scope_id new_scope) const
void erase_persistent (void)
void init_persistent (void)
void invalidate (void)
bool is_added_static (void) const
bool is_automatic (void) const
bool is_defined (context_id context=xdefault_context) const
bool is_formal (void) const
bool is_global (void) const
bool is_hidden (void) const
bool is_inherited (void) const
bool is_local (void) const
bool is_persistent (void) const
bool is_valid (void) const
bool is_variable (context_id context) const
void mark_added_static (void)
void mark_automatic (void)
void mark_formal (void)
void mark_global (void)
void mark_hidden (void)
void mark_inherited (void)
void mark_local (void)
void mark_persistent (void)
size_t pop_context (scope_id s)
void push_context (scope_id s)
scope_id scope (void) const
void set_curr_fcn (octave_user_function *fcn)
void unmark_added_static (void)
void unmark_automatic (void)
void unmark_formal (void)
void unmark_global (void)
void unmark_hidden (void)
void unmark_inherited (void)
void unmark_local (void)
void unmark_persistent (void)
octave_valuevarref (context_id context=xdefault_context)
octave_value varval (context_id context=xdefault_context) const

Public Attributes

octave_refcount< size_tcount
octave_user_functioncurr_fcn
scope_id decl_scope
fcn_infofinfo
std::string name
unsigned int storage_class
bool valid
std::deque< octave_valuevalue_stack

Private Member Functions

 symbol_record_rep (const symbol_record_rep &ov)
symbol_record_repoperator= (const symbol_record_rep &)

Detailed Description

Definition at line 206 of file symtab.h.

Constructor & Destructor Documentation

symbol_table::symbol_record::symbol_record_rep::symbol_record_rep ( scope_id  s,
const std::string &  nm,
const octave_value v,
unsigned int  sc 
)
inline

Definition at line 211 of file symtab.h.

symbol_table::symbol_record::symbol_record_rep::symbol_record_rep ( const symbol_record_rep ov)
private

Member Function Documentation

symbol_table::context_id symbol_table::symbol_record::symbol_record_rep::active_context ( void  ) const
void symbol_table::symbol_record::symbol_record_rep::assign ( const octave_value value,
context_id  context = xdefault_context 
)
inline

Definition at line 219 of file symtab.h.

References context.

void symbol_table::symbol_record::symbol_record_rep::assign ( octave_value::assign_op  op,
const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value value,
context_id  context = xdefault_context 
)
inline

Definition at line 225 of file symtab.h.

References octave_value::assign(), and context.

void symbol_table::symbol_record::symbol_record_rep::assign ( octave_value::assign_op  op,
const octave_value value,
context_id  context = xdefault_context 
)
inline

Definition at line 234 of file symtab.h.

References octave_value::assign(), and context.

void symbol_table::symbol_record::symbol_record_rep::clear ( void  )
inline

Definition at line 342 of file symtab.h.

References clear().

Referenced by clear().

void symbol_table::symbol_record::symbol_record_rep::clear ( scope_id  s)
inline

Definition at line 344 of file symtab.h.

References symbol_table::persistent_assign().

void symbol_table::symbol_record::symbol_record_rep::do_non_const_unary_op ( octave_value::unary_op  op,
context_id  context = xdefault_context 
)
inline

Definition at line 240 of file symtab.h.

References context, and octave_value::do_non_const_unary_op().

void symbol_table::symbol_record::symbol_record_rep::do_non_const_unary_op ( octave_value::unary_op  op,
const std::string &  type,
const std::list< octave_value_list > &  idx,
context_id  context = xdefault_context 
)
inline

Definition at line 246 of file symtab.h.

References context, and octave_value::do_non_const_unary_op().

void symbol_table::symbol_record::symbol_record_rep::dump ( std::ostream &  os,
const std::string &  prefix 
) const
symbol_record_rep* symbol_table::symbol_record::symbol_record_rep::dup ( scope_id  new_scope) const
inline

Definition at line 456 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::erase_persistent ( void  )
inline

Definition at line 441 of file symtab.h.

References symbol_table::erase_persistent().

void symbol_table::symbol_record::symbol_record_rep::init_persistent ( void  )
inline

Definition at line 423 of file symtab.h.

References symbol_table::persistent_varval().

void symbol_table::symbol_record::symbol_record_rep::invalidate ( void  )
inline

Definition at line 436 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_added_static ( void  ) const
inline

Definition at line 391 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_automatic ( void  ) const
inline

Definition at line 385 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_defined ( context_id  context = xdefault_context) const
inline

Definition at line 363 of file symtab.h.

References context.

bool symbol_table::symbol_record::symbol_record_rep::is_formal ( void  ) const
inline

Definition at line 386 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_global ( void  ) const
inline

Definition at line 389 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_hidden ( void  ) const
inline

Definition at line 387 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_inherited ( void  ) const
inline

Definition at line 388 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_local ( void  ) const
inline

Definition at line 384 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_persistent ( void  ) const
inline

Definition at line 390 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_valid ( void  ) const
inline

Definition at line 371 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::is_variable ( context_id  context) const
inline

Definition at line 376 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_added_static ( void  )
inline

Definition at line 412 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_automatic ( void  )
inline

Definition at line 394 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_formal ( void  )
inline

Definition at line 395 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_global ( void  )
inline

Definition at line 398 of file symtab.h.

References error().

void symbol_table::symbol_record::symbol_record_rep::mark_hidden ( void  )
inline

Definition at line 396 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_inherited ( void  )
inline

Definition at line 397 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_local ( void  )
inline

Definition at line 393 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::mark_persistent ( void  )
inline

Definition at line 405 of file symtab.h.

References error().

symbol_record_rep& symbol_table::symbol_record::symbol_record_rep::operator= ( const symbol_record_rep )
private
size_t symbol_table::symbol_record::symbol_record_rep::pop_context ( scope_id  s)
inline

Definition at line 328 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::push_context ( scope_id  s)
inline

Definition at line 307 of file symtab.h.

scope_id symbol_table::symbol_record::symbol_record_rep::scope ( void  ) const
inline

Definition at line 449 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::set_curr_fcn ( octave_user_function fcn)
inline

Definition at line 451 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_added_static ( void  )
inline

Definition at line 421 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_automatic ( void  )
inline

Definition at line 415 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_formal ( void  )
inline

Definition at line 416 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_global ( void  )
inline

Definition at line 419 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_hidden ( void  )
inline

Definition at line 417 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_inherited ( void  )
inline

Definition at line 418 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_local ( void  )
inline

Definition at line 414 of file symtab.h.

void symbol_table::symbol_record::symbol_record_rep::unmark_persistent ( void  )
inline

Definition at line 420 of file symtab.h.

octave_value& symbol_table::symbol_record::symbol_record_rep::varref ( context_id  context = xdefault_context)
inline
octave_value symbol_table::symbol_record::symbol_record_rep::varval ( context_id  context = xdefault_context) const
inline

Member Data Documentation

octave_refcount<size_t> symbol_table::symbol_record::symbol_record_rep::count

Definition at line 478 of file symtab.h.

Referenced by symbol_table::symbol_record::operator=().

octave_user_function* symbol_table::symbol_record::symbol_record_rep::curr_fcn

Definition at line 466 of file symtab.h.

scope_id symbol_table::symbol_record::symbol_record_rep::decl_scope

Definition at line 464 of file symtab.h.

fcn_info* symbol_table::symbol_record::symbol_record_rep::finfo

Definition at line 474 of file symtab.h.

std::string symbol_table::symbol_record::symbol_record_rep::name

Definition at line 468 of file symtab.h.

unsigned int symbol_table::symbol_record::symbol_record_rep::storage_class

Definition at line 472 of file symtab.h.

bool symbol_table::symbol_record::symbol_record_rep::valid

Definition at line 476 of file symtab.h.

std::deque<octave_value> symbol_table::symbol_record::symbol_record_rep::value_stack

Definition at line 470 of file symtab.h.


The documentation for this class was generated from the following files: