comma::DeclDumper Class Reference

#include <DeclDumper.h>

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

List of all members.

Public Member Functions

 DeclDumper (llvm::raw_ostream &stream, AstDumper *dumper)
llvm::raw_ostream & dump (Decl *decl, unsigned level=0)

Detailed Description

Definition at line 31 of file DeclDumper.h.


Constructor & Destructor Documentation

comma::DeclDumper::DeclDumper ( llvm::raw_ostream &  stream,
AstDumper dumper 
) [inline]

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

Definition at line 36 of file DeclDumper.h.


Member Function Documentation

llvm::raw_ostream & DeclDumper::dump ( Decl decl,
unsigned  level = 0 
)

Dumps the given decl node to the output stream respecting the given indentation level.

Definition at line 22 of file DeclDumper.cpp.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1