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

PtreeDeclarator Class Reference

#include <ptree.h>

Inheritance diagram for PtreeDeclarator:

Inheritance graph
[legend]
Collaboration diagram for PtreeDeclarator:

Collaboration graph
[legend]
List of all members.

Public Methods

 PtreeDeclarator (Ptree *, Encoding &, Encoding &, Ptree *)
 PtreeDeclarator (Encoding &, Encoding &, Ptree *)
 PtreeDeclarator (Ptree *, Ptree *, Encoding &, Encoding &, Ptree *)
 PtreeDeclarator (Ptree *, Encoding &)
 PtreeDeclarator (Encoding &)
 PtreeDeclarator (PtreeDeclarator *, Ptree *, Ptree *)
int What ()
char * GetEncodedType ()
char * GetEncodedName ()
Ptree * Name ()
void Print (ostream &, int, int)
Ptree * GetComments ()
void SetComments (Ptree *c)

Private Attributes

char * type
char * name
Ptree * declared_name
Ptree * comments

Constructor & Destructor Documentation

PtreeDeclarator::PtreeDeclarator (  Ptree *   ,
Encoding &   ,
Encoding &   ,
Ptree *   
) 
 

Definition at line 509 of file ptree.cc.

References comments, declared_name, Encoding::Get(), name, nil, and type.

PtreeDeclarator::PtreeDeclarator (  Encoding &   ,
Encoding &   ,
Ptree *   
) 
 

Definition at line 519 of file ptree.cc.

References comments, declared_name, Encoding::Get(), name, nil, and type.

PtreeDeclarator::PtreeDeclarator (  Ptree *   ,
Ptree *   ,
Encoding &   ,
Encoding &   ,
Ptree *   
) 
 

Definition at line 528 of file ptree.cc.

References comments, declared_name, Encoding::Get(), name, nil, and type.

PtreeDeclarator::PtreeDeclarator (  Ptree *   ,
Encoding &   
) 
 

Definition at line 538 of file ptree.cc.

References comments, declared_name, name, nil, and type.

PtreeDeclarator::PtreeDeclarator (  Encoding &    ) 
 

Definition at line 547 of file ptree.cc.

References comments, declared_name, name, nil, and type.

PtreeDeclarator::PtreeDeclarator (  PtreeDeclarator *   ,
Ptree *   ,
Ptree *   
) 
 

Definition at line 556 of file ptree.cc.

References comments, declared_name, name, nil, and type.


Member Function Documentation

Ptree* PtreeDeclarator::GetComments (    )  [inline]
 

Definition at line 241 of file ptree.h.

References comments.

char * PtreeDeclarator::GetEncodedName (    )  [virtual]
 

Reimplemented from Ptree.

Definition at line 575 of file ptree.cc.

References name.

char * PtreeDeclarator::GetEncodedType (    )  [virtual]
 

Reimplemented from Ptree.

Definition at line 570 of file ptree.cc.

References type.

Referenced by Walker::FillArgumentName().

Ptree* PtreeDeclarator::Name (    )  [inline]
 

Definition at line 238 of file ptree.h.

References declared_name.

Referenced by Walker::FillArgumentName(), ClassWalker::MakeMemberDeclarator(), ClassWalker::TranslateAssignInitializer(), and ClassWalker::TranslateInitializeArgs().

void PtreeDeclarator::Print (  ostream &   ,
int   ,
int   
)  [virtual]
 

Reimplemented from NonLeaf.

Definition at line 580 of file ptree.cc.

References NonLeaf::Print(), and NonLeaf::PrintWithEncodeds().

void PtreeDeclarator::SetComments (  Ptree *    c )  [inline]
 

Definition at line 242 of file ptree.h.

References comments.

int PtreeDeclarator::What (    )  [virtual]
 

Reimplemented from Ptree.

Definition at line 565 of file ptree.cc.

References ntDeclarator.


Member Data Documentation

Ptree* PtreeDeclarator::comments [private]
 

Definition at line 248 of file ptree.h.

Referenced by GetComments(), PtreeDeclarator(), and SetComments().

Ptree* PtreeDeclarator::declared_name [private]
 

Definition at line 247 of file ptree.h.

Referenced by Name(), and PtreeDeclarator().

char* PtreeDeclarator::name [private]
 

Definition at line 246 of file ptree.h.

Referenced by GetEncodedName(), and PtreeDeclarator().

char* PtreeDeclarator::type [private]
 

Definition at line 245 of file ptree.h.

Referenced by GetEncodedType(), and PtreeDeclarator().


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:36:20 2003 for VFiasco Semantics Compiler by doxygen1.2.15