mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields | Private Attributes
m::ast::ASTDumper Struct Reference

Dumps a textual representation of the AST to an output stream. More...

#include <ASTDumper.hpp>

Inheritance diagram for m::ast::ASTDumper:
[legend]
Collaboration diagram for m::ast::ASTDumper:
[legend]

Public Types

template<typename T >
using Const = ConstASTExprVisitor::Const< T >
 

Public Member Functions

 ASTDumper (std::ostream &out, int indent=0)
 

Data Fields

std::ostream & out
 the output stream to write to
 

Private Attributes

int indent_
 the current level of indentation
 

Detailed Description

Dumps a textual representation of the AST to an output stream.

Definition at line 11 of file ASTDumper.hpp.

Member Typedef Documentation

◆ Const

template<typename T >
using m::ast::ConstASTVisitor::Const = ConstASTExprVisitor::Const<T>
inherited

Definition at line 1081 of file AST.hpp.

Constructor & Destructor Documentation

◆ ASTDumper()

m::ast::ASTDumper::ASTDumper ( std::ostream &  out,
int  indent = 0 
)
inline

Definition at line 18 of file ASTDumper.hpp.

Field Documentation

◆ indent_

int m::ast::ASTDumper::indent_
private

the current level of indentation

Definition at line 15 of file ASTDumper.hpp.

◆ out

std::ostream& m::ast::ASTDumper::out

the output stream to write to

Definition at line 13 of file ASTDumper.hpp.


The documentation for this struct was generated from the following file: