lang/include/printers/statement_printers.hpp

24 lines
605 B
C++
Raw Normal View History

2023-07-24 22:50:18 +03:00
#pragma once
#include "basic_printers.hpp"
#include "statement_nodes.hpp"
2023-07-26 14:21:33 +03:00
#include <vector>
2023-07-24 22:50:18 +03:00
namespace printers {
// void print_source_file(const std::vector<nodes::Statement> &statements,
// Printer &printer);
2023-07-24 22:50:18 +03:00
void print(const nodes::Statement &statements, Printer &printer);
2023-07-24 22:50:18 +03:00
void print(const nodes::Import &statement, Printer &printer);
2023-07-24 22:50:18 +03:00
void print(const nodes::Constraint &statement, Printer &printer);
2023-07-24 22:50:18 +03:00
void print(const nodes::TypeDefinition &statement, Printer &printer);
2023-07-24 22:50:18 +03:00
void print(const nodes::FunctionDefinition &statement, Printer &printer);
2023-07-24 22:50:18 +03:00
} // namespace printers