Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

cbl::codetree::symbols::TSymbol Class Reference

#include

Inheritance diagram for cbl::codetree::symbols::TSymbol:

cbl::codetree::TElement cbl::codetree::symbols::TDataSym cbl::codetree::symbols::TExecSym cbl::codetree::symbols::TPropertySym cbl::codetree::symbols::TTypeSym cbl::codetree::symbols::TBitsetDataSym cbl::codetree::symbols::TMethodSym cbl::codetree::symbols::TModuleSym cbl::codetree::symbols::TCastSym cbl::codetree::symbols::TOperatorSym cbl::codetree::symbols::TProgramSym cbl::codetree::symbols::TUnitSym List of all members.

Public Types

enum   TSymbolType {
  stUnknown, stType, stData, stProperty,
  stBitsetData, stMethod, stCast, stOperator,
  stProgram, stUnit
}

Public Methods

const std::string &  name () const
virtual def::TDef type () const
virtual void  type (def::TDef *)
bool  isComplete () const
void  isComplete (bool)
bool  isMember () const
void  owningClass (def::TClassDef *)
def::TClassDef owningClass () const
TSymbolType  symbolType () const
void  templateParams (scopes::TScope *)
scopes::TScope templateParams ()
const scopes::TScope templateParams () const
virtual void  accept (TSymVisitor &)=0

Protected Methods

void  name (const std::string &)
void  symbolType (TSymbolType)
  TSymbol (symbols::TModuleSym *AOwner, const std::string &AName, def::TDef *ADef=0)

Protected Attributes

def::TDef FType

Member Enumeration Documentation

enum cbl::codetree::symbols::TSymbol::TSymbolType
 

Enumeration values:
stUnknown 
stType 
stData 
stProperty 
stBitsetData 
stMethod 
stCast 
stOperator 
stProgram 
stUnit 

Definition at line 38 of file symbols.h.

00038                      {
00039         stUnknown, stType,
00040         stData, stProperty, stBitsetData,
00041         stMethod, stCast, stOperator,
00042         stProgram, stUnit
00043     };

Constructor & Destructor Documentation

cbl::codetree::symbols::TSymbol::TSymbol symbols::TModuleSym   AOwner,
const std::string &    AName,
def::TDef   ADef = 0
[protected]
 


Member Function Documentation

virtual void cbl::codetree::symbols::TSymbol::accept TSymVisitor   [pure virtual]
 

Implemented in cbl::codetree::symbols::TBitsetDataSym.

void cbl::codetree::symbols::TSymbol::isComplete bool   
 

bool cbl::codetree::symbols::TSymbol::isComplete   const
 

bool cbl::codetree::symbols::TSymbol::isMember   const
 

const std::string& cbl::codetree::symbols::TSymbol::name   const
 

void cbl::codetree::symbols::TSymbol::name const std::string &    [protected]
 

def::TClassDef* cbl::codetree::symbols::TSymbol::owningClass   const
 

void cbl::codetree::symbols::TSymbol::owningClass def::TClassDef  
 

TSymbolType cbl::codetree::symbols::TSymbol::symbolType   const
 

void cbl::codetree::symbols::TSymbol::symbolType TSymbolType    [protected]
 

const scopes::TScope* cbl::codetree::symbols::TSymbol::templateParams   const
 

scopes::TScope* cbl::codetree::symbols::TSymbol::templateParams  
 

void cbl::codetree::symbols::TSymbol::templateParams scopes::TScope  
 

virtual void cbl::codetree::symbols::TSymbol::type def::TDef   [virtual]
 

virtual def::TDef* cbl::codetree::symbols::TSymbol::type   const [virtual]
 

Reimplemented in cbl::codetree::symbols::TMethodSym.


Member Data Documentation

def::TDef* cbl::codetree::symbols::TSymbol::FType [protected]
 

Definition at line 53 of file symbols.h.


The documentation for this class was generated from the following file:
Generated on Sat Apr 6 19:07:28 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002