comma::AstDumper Class Reference

#include <AstDumper.h>

Inheritance diagram for comma::AstDumper:
Inheritance graph
[legend]
Collaboration diagram for comma::AstDumper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AstDumper (llvm::raw_ostream &stream)
 ~AstDumper ()
llvm::raw_ostream & dump (Ast *node, unsigned level=0)

Detailed Description

Definition at line 82 of file AstDumper.h.


Constructor & Destructor Documentation

AstDumper::AstDumper ( llvm::raw_ostream &  stream  ) 

Constructs a dumper which writes its output to the given llvm::raw_ostream.

Definition at line 68 of file AstDumper.cpp.

AstDumper::~AstDumper (  ) 

Definition at line 77 of file AstDumper.cpp.


Member Function Documentation

llvm::raw_ostream & AstDumper::dump ( Ast node,
unsigned  level = 0 
)

Dumps the given node to the output stream respecting the given indentation level;

Definition at line 111 of file AstDumper.cpp.


The documentation for this class was generated from the following files:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1