#include <DeclDumper.h>
Public Member Functions | |
DeclDumper (llvm::raw_ostream &stream, AstDumper *dumper) | |
llvm::raw_ostream & | dump (Decl *decl, unsigned level=0) |
Definition at line 31 of file DeclDumper.h.
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.
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.