TableEntry Class Reference

#include <SymbolTable.h>

List of all members.

Public Member Functions

size_t mem_size () const
 TableEntry (const char *key, SymbolEntryPtr entry, const Point *point, SymbolTable *table=0)
 TableEntry (bytecodeistream &str)
 ~TableEntry ()
const char * key () const
TableEntrynext () const
TableEntrynext_overloaded () const
bool isOverloaded () const
const SymbolTabletable () const
SymbolEntryPtr sentry () const
const Pointpoint () const
string toString () const
string toStringSymbols () const
void makeDefinition (int line)
std::ostream & toStream (std::ostream &str) const
std::ostream & toXml (std::ostream &str, int indent) const
void remove ()

Private Attributes

TableEntrym_prev
TableEntrym_next
TableEntrym_overloaded_prev
TableEntrym_overloaded_next
TableEntrym_outer
const char * m_key
SymbolEntryPtr m_entry
const Pointm_point
SymbolTablem_table

Friends

class SymbolTable

Constructor & Destructor Documentation

TableEntry::TableEntry ( const char *  key,
SymbolEntryPtr  entry,
const Point point,
SymbolTable table = 0 
)
TableEntry::TableEntry ( bytecodeistream str  ) 
TableEntry::~TableEntry (  ) 

References m_point.


Member Function Documentation

bool TableEntry::isOverloaded (  )  const
const char * TableEntry::key (  )  const
void TableEntry::makeDefinition ( int  line  ) 
size_t TableEntry::mem_size (  )  const [inline]
TableEntry * TableEntry::next (  )  const

References m_next.

TableEntry * TableEntry::next_overloaded (  )  const
const Point * TableEntry::point ( void   )  const

References m_point.

Referenced by makeDefinition().

void TableEntry::remove (  ) 

References m_table, and SymbolTable::remove().

SymbolEntryPtr TableEntry::sentry ( void   )  const
const SymbolTable * TableEntry::table (  )  const

References m_table.

Referenced by StaticDeclaration::findDeclaration().

std::ostream & TableEntry::toStream ( std::ostream &  str  )  const
string TableEntry::toString ( void   )  const
string TableEntry::toStringSymbols (  )  const
std::ostream & TableEntry::toXml ( std::ostream &  str,
int  indent 
) const

Friends And Related Function Documentation

friend class SymbolTable [friend]

Member Data Documentation

SymbolEntryPtr TableEntry::m_entry [private]
const char* TableEntry::m_key [private]

Referenced by SymbolTable::enter(), and isOverloaded().

const Point* TableEntry::m_point [private]

Referenced by SymbolTable::enter(), remove(), and table().


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

Generated on a sunny day for yast2-core by doxygen 1.6.3