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

Ptree_program_visitor< Returntype > Class Template Reference

#include <ptree_program_visitor.h>

Inheritance diagram for Ptree_program_visitor:

Inheritance graph
[legend]
Collaboration diagram for Ptree_program_visitor< Returntype >:

Collaboration graph
[legend]
List of all members.

Public Methods

 Ptree_program_visitor (Source *s)
virtual Returntype visit_function (Ptree *storagespec, Ptree *returntype, PtreeDeclarator *decl, PtreeBlock *block)
virtual Returntype visit_type_declaration (Ptree *storagespec, Ptree *type)
virtual Returntype visit_name_declaration (Ptree *storagespec, Ptree *type, Ptree *decllist)

Private Types

typedef Ptree_visitor< Returntype > Super

Private Methods

virtual Returntype visit_declaration (PtreeDeclaration *p)

template<typename Returntype>
class Ptree_program_visitor< Returntype >


Member Typedef Documentation

template<typename Returntype>
typedef Ptree_visitor<Returntype> Ptree_program_visitor< Returntype >::Super [private]
 

Reimplemented from Ptree_visitor< Returntype >.

Reimplemented in Paranoid_visitor< T >, Translate_visitor, Paranoid_visitor< Annotator_RT >, Paranoid_visitor< Tpl_RT >, and Paranoid_visitor< Expr_result >.

Definition at line 19 of file ptree_program_visitor.h.


Constructor & Destructor Documentation

template<typename Returntype>
Ptree_program_visitor< Returntype >::Ptree_program_visitor Source   s
 

Definition at line 46 of file ptree_program_visitor.h.


Member Function Documentation

template<typename Returntype>
Returntype Ptree_program_visitor< Returntype >::visit_declaration PtreeDeclaration   p [private, virtual]
 

Reimplemented from Ptree_visitor< Returntype >.

Definition at line 59 of file ptree_program_visitor.h.

References Ptree::First(), Ptree::IsLeaf(), Ptree::Nth(), Ptree::Second(), Ptree::Third(), Ptree::ToString(), Ptree_program_visitor< Returntype >::visit_function(), Ptree_program_visitor< Returntype >::visit_name_declaration(), and Ptree_program_visitor< Returntype >::visit_type_declaration().

template<typename Returntype>
Returntype Ptree_program_visitor< Returntype >::visit_function Ptree   storagespec,
Ptree   returntype,
PtreeDeclarator   decl,
PtreeBlock   block
[virtual]
 

Reimplemented in Annotator, Template_visitor, and Translate_visitor.

Definition at line 88 of file ptree_program_visitor.h.

References Ptree_visitor< Returntype >::visit().

Referenced by Ptree_program_visitor< Returntype >::visit_declaration().

template<typename Returntype>
Returntype Ptree_program_visitor< Returntype >::visit_name_declaration Ptree   storagespec,
Ptree   type,
Ptree   decllist
[virtual]
 

Reimplemented in Annotator, Template_visitor, and Translate_visitor.

Definition at line 111 of file ptree_program_visitor.h.

References Ptree_visitor< Returntype >::visit().

Referenced by Ptree_program_visitor< Returntype >::visit_declaration().

template<typename Returntype>
Returntype Ptree_program_visitor< Returntype >::visit_type_declaration Ptree   storagespec,
Ptree   type
[virtual]
 

Reimplemented in Annotator, and Template_visitor.

Definition at line 102 of file ptree_program_visitor.h.

References Ptree_visitor< Returntype >::visit().

Referenced by Ptree_program_visitor< Returntype >::visit_declaration().


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