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 {
|
|
|
|
|
|
2024-05-01 14:05:29 +03:00
|
|
|
// void print_source_file(const std::vector<nodes::Statement> &statements,
|
|
|
|
|
// Printer &printer);
|
2023-07-24 22:50:18 +03:00
|
|
|
|
2024-05-01 14:05:29 +03:00
|
|
|
void print(const nodes::Statement &statements, Printer &printer);
|
2023-07-24 22:50:18 +03:00
|
|
|
|
2024-05-01 14:05:29 +03:00
|
|
|
void print(const nodes::Import &statement, Printer &printer);
|
2023-07-24 22:50:18 +03:00
|
|
|
|
2024-05-01 14:05:29 +03:00
|
|
|
void print(const nodes::Constraint &statement, Printer &printer);
|
2023-07-24 22:50:18 +03:00
|
|
|
|
2024-05-01 14:05:29 +03:00
|
|
|
void print(const nodes::TypeDefinition &statement, Printer &printer);
|
2023-07-24 22:50:18 +03:00
|
|
|
|
2024-05-01 14:05:29 +03:00
|
|
|
void print(const nodes::FunctionDefinition &statement, Printer &printer);
|
2023-07-24 22:50:18 +03:00
|
|
|
|
|
|
|
|
} // namespace printers
|