mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-05 22:48:43 +00:00
23 lines
605 B
C++
23 lines
605 B
C++
#pragma once
|
|
|
|
#include "basic_printers.hpp"
|
|
#include "statement_nodes.hpp"
|
|
|
|
#include <vector>
|
|
|
|
namespace printers {
|
|
|
|
// void print_source_file(const std::vector<nodes::Statement> &statements,
|
|
// Printer &printer);
|
|
|
|
void print(const nodes::Statement &statements, Printer &printer);
|
|
|
|
void print(const nodes::Import &statement, Printer &printer);
|
|
|
|
void print(const nodes::Constraint &statement, Printer &printer);
|
|
|
|
void print(const nodes::TypeDefinition &statement, Printer &printer);
|
|
|
|
void print(const nodes::FunctionDefinition &statement, Printer &printer);
|
|
|
|
} // namespace printers
|