#include <AstDumper.h>
Public Member Functions | |
AstDumper (llvm::raw_ostream &stream) | |
~AstDumper () | |
llvm::raw_ostream & | dump (Ast *node, unsigned level=0) |
Definition at line 82 of file AstDumper.h.
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.
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.