Puma Reference Manual Puma: Puma::CPrintVisitor Class Reference



Puma::CPrintVisitor Class Reference

#include <Puma/CPrintVisitor.h>

Inheritance diagram for Puma::CPrintVisitor:

Inheritance graph

List of all members.


Detailed Description

Tree visitor for printing the C/C++ syntax tree.

Prints the indented tree structure supplemented with type information, calculated constant values, implicit casts, and resolved function calls.

Public Member Functions

 CPrintVisitor ()
 Constructor.
void print (CTree *tree, ostream &os)
 Start printing the given tree on the given output stream.


Constructor & Destructor Documentation

Puma::CPrintVisitor::CPrintVisitor (  )  [inline]

Constructor.


Member Function Documentation

void Puma::CPrintVisitor::print ( CTree tree,
ostream &  os 
)

Start printing the given tree on the given output stream.

Parameters:
tree The syntax tree to print.
os The output stream.




Puma Reference Manual. Created on 11 Jul 2008.