template-project-cpp
Loading...
Searching...
No Matches
tpcpp::PrinterExpr Struct Reference

Print each tpcpp::Expr as a string. More...

#include <visitors/PrinterExpr.hpp>

Public Member Functions

std::string operator() (Expr expr)
 Convert a tpcpp::Expr to a string.
 
void print (Expr expr)
 Print a tpcpp::Expr to stdout.
 

Detailed Description

Print each tpcpp::Expr as a string.

Definition at line 10 of file PrinterExpr.hpp.

Member Function Documentation

◆ operator()()

std::string tpcpp::PrinterExpr::operator() ( Expr expr)

Convert a tpcpp::Expr to a string.

Parameters
[in]exprThe tpcpp::Expr to convert.
Returns
The string representation of the tpcpp::Expr.

Definition at line 14 of file PrinterExpr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

void tpcpp::PrinterExpr::print ( Expr expr)

Print a tpcpp::Expr to stdout.

Parameters
[in]exprThe tpcpp::Expr to print.

Definition at line 55 of file PrinterExpr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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