Implements printing the AST in dot language.
More...
#include <ASTDot.hpp>
|
template<typename T > |
using | Const = ConstASTExprVisitor::Const< T > |
|
|
std::ostream & | out |
| the output stream to print to
|
|
|
static constexpr const char *const | GRAPH_TYPE = "graph" |
|
static constexpr const char *const | EDGE = " -- " |
|
|
int | indent_ |
| the current indentation for pretty printing
|
|
Implements printing the AST in dot language.
Definition at line 12 of file ASTDot.hpp.
◆ Const
◆ ASTDot()
ASTDot::ASTDot |
( |
std::ostream & |
out, |
|
|
int |
indent = 0 |
|
) |
| |
◆ ~ASTDot()
◆ EDGE
constexpr const char* const m::ast::ASTDot::EDGE = " -- " |
|
staticconstexpr |
◆ GRAPH_TYPE
constexpr const char* const m::ast::ASTDot::GRAPH_TYPE = "graph" |
|
staticconstexpr |
◆ indent_
int m::ast::ASTDot::indent_ |
|
private |
◆ out
std::ostream& m::ast::ASTDot::out |
The documentation for this struct was generated from the following files: