YSymbolEntry Class Reference

#include <YSymbolEntry.h>

Inheritance diagram for YSymbolEntry:

SymbolEntry Rep List of all members.

Public Member Functions

 YSymbolEntry (const Y2Namespace *name_space, unsigned int position, const char *name, category_t cat, constTypePtr type, YCodePtr payload=0)
 YSymbolEntry (const char *name, constTypePtr type, declaration_t *payload, const Y2Namespace *name_space=0)
 YSymbolEntry (const char *name, constTypePtr type, SymbolTable *payload)
 YSymbolEntry (const char *filename)
 YSymbolEntry (bytecodeistream &str, const Y2Namespace *name_space=0)
void setCode (YCodePtr code)
YCodePtr code () const
virtual bool onlyDeclared () const
void setDeclaration (declaration_t *decl)
declaration_tdeclaration () const
void setTable (SymbolTable *table)
SymbolTabletable () const
Y2NamespacepayloadNamespace () const
void setPayloadNamespace (Y2Namespace *name_space)
virtual string toString (bool with_type=true) const
std::ostream & toStream (std::ostream &str) const

Private Member Functions

 REP_BODY (YSymbolEntry)

Private Attributes

YSymbolEntry::payload m_payload
YCodePtr m_code

Classes

union  payload

Constructor & Destructor Documentation

YSymbolEntry::YSymbolEntry const Y2Namespace name_space,
unsigned int  position,
const char *  name,
category_t  cat,
constTypePtr  type,
YCodePtr  payload = 0
 

YSymbolEntry::YSymbolEntry const char *  name,
constTypePtr  type,
declaration_t payload,
const Y2Namespace name_space = 0
 

YSymbolEntry::YSymbolEntry const char *  name,
constTypePtr  type,
SymbolTable payload
 

YSymbolEntry::YSymbolEntry const char *  filename  ) 
 

YSymbolEntry::YSymbolEntry bytecodeistream str,
const Y2Namespace name_space = 0
 


Member Function Documentation

YCodePtr YSymbolEntry::code  )  const
 

declaration_t * YSymbolEntry::declaration  )  const
 

bool YSymbolEntry::onlyDeclared  )  const [virtual]
 

Reimplemented from SymbolEntry.

Y2Namespace * YSymbolEntry::payloadNamespace  )  const
 

YSymbolEntry::REP_BODY YSymbolEntry   )  [private]
 

void YSymbolEntry::setCode YCodePtr  code  ) 
 

void YSymbolEntry::setDeclaration declaration_t decl  ) 
 

void YSymbolEntry::setPayloadNamespace Y2Namespace name_space  ) 
 

void YSymbolEntry::setTable SymbolTable table  ) 
 

SymbolTable * YSymbolEntry::table  )  const
 

std::ostream & YSymbolEntry::toStream std::ostream &  str  )  const
 

string YSymbolEntry::toString bool  with_type = true  )  const [virtual]
 

Reimplemented from SymbolEntry.


Member Data Documentation

YCodePtr YSymbolEntry::m_code [private]
 

union YSymbolEntry::payload YSymbolEntry::m_payload [private]
 

the default (initial) value ('payload') of the entry -> set by YSVariable and YSFunction

It is grossly overloaded: c_builtin: declaration_t* c_module: Y2Namespace* c_namespace: SymbolTable * c_self n/a (just uses m_name) c_predefined n/a (just uses m_name) c_filename n/a (just uses m_name)


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by  doxygen 1.4.6