Puma Reference Manual | Puma: Puma::CPrintVisitor Class Reference |
Tree visitor for printing the C/C++ syntax tree. More...
#include <Puma/CPrintVisitor.h>
Public Member Functions | |
CPrintVisitor () | |
Constructor. | |
void | print (CTree *tree, ostream &os) |
Start printing the given tree on the given output stream. |
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.
Puma::CPrintVisitor::CPrintVisitor | ( | ) | [inline] |
Constructor.
void Puma::CPrintVisitor::print | ( | CTree * | tree, |
ostream & | os | ||
) |
Start printing the given tree on the given output stream.
tree | The syntax tree to print. |
os | The output stream. |