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
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
symbol_table::symbol_reference Class Reference

#include "symtab.h"

Collaboration diagram for symbol_table::symbol_reference:
Collaboration graph
[legend]

Classes

struct  comparator

Public Member Functions

 symbol_reference (void)
 symbol_reference (const symbol_record &record, scope_id curr_scope=symbol_table::current_scope())
 symbol_reference (const symbol_reference &ref)
bool is_black_hole (void) const
const std::string & name (void) const
symbol_recordoperator-> (void)
symbol_recordoperator-> (void) const
symbol_referenceoperator= (const symbol_reference &ref)

Private Member Functions

void update (void) const

Private Attributes

scope_id scope
symbol_record sym

Detailed Description

Definition at line 663 of file symtab.h.

Constructor & Destructor Documentation

symbol_table::symbol_reference::symbol_reference ( void  )
inline

Definition at line 668 of file symtab.h.

symbol_table::symbol_reference::symbol_reference ( const symbol_record record,
scope_id  curr_scope = symbol_table::current_scope () 
)
inline

Definition at line 670 of file symtab.h.

symbol_table::symbol_reference::symbol_reference ( const symbol_reference ref)
inline

Definition at line 675 of file symtab.h.

Member Function Documentation

bool symbol_table::symbol_reference::is_black_hole ( void  ) const
inline

Definition at line 689 of file symtab.h.

const std::string& symbol_table::symbol_reference::name ( void  ) const
inline

Definition at line 692 of file symtab.h.

Referenced by symbol_table::symbol_reference::comparator::operator()().

symbol_record* symbol_table::symbol_reference::operator-> ( void  )
inline

Definition at line 694 of file symtab.h.

symbol_record* symbol_table::symbol_reference::operator-> ( void  ) const
inline

Definition at line 700 of file symtab.h.

symbol_reference& symbol_table::symbol_reference::operator= ( const symbol_reference ref)
inline

Definition at line 679 of file symtab.h.

References scope, and sym.

void symbol_table::symbol_reference::update ( void  ) const
inlineprivate

Definition at line 718 of file symtab.h.

References symbol_table::current_scope(), and symbol_table::insert().

Member Data Documentation

scope_id symbol_table::symbol_reference::scope
mutableprivate

Definition at line 729 of file symtab.h.

Referenced by operator=().

symbol_record symbol_table::symbol_reference::sym
mutableprivate

Definition at line 730 of file symtab.h.

Referenced by operator=().


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