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

Init_maker Class Reference

Helper class for building brace initializers. More...

#include <init_handler_i.h>

Collaboration diagram for Init_maker:

Collaboration graph
[legend]
List of all members.

Public Methods

 Init_maker ()
void add (Ptree *p)
 Add an initializer. More...

Ptreemake_init () const
 Make a tree with the initializers gathered so far. More...


Private Attributes

Ptreetree

Detailed Description

Helper class for building brace initializers.

Definition at line 50 of file init_handler_i.h.


Constructor & Destructor Documentation

Init_maker::Init_maker  
 

Definition at line 72 of file init_handler.cc.


Member Function Documentation

void Init_maker::add Ptree   p
 

Add an initializer.

Definition at line 80 of file init_handler.cc.

References Ptree::List(), make_static_leaf(), Ptree::Snoc(), and tree.

Referenced by Init_handler::process_array(), and Init_handler::process_class().

Ptree * Init_maker::make_init   const
 

Make a tree with the initializers gathered so far.

Definition at line 94 of file init_handler.cc.

References Ptree::List(), make_static_leaf(), and tree.

Referenced by Init_handler::process_array(), and Init_handler::process_class().


Member Data Documentation

Ptree* Init_maker::tree [private]
 

Definition at line 51 of file init_handler_i.h.

Referenced by add(), and make_init().


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