statement node added

This commit is contained in:
ProgramSnail 2023-07-26 14:21:33 +03:00
parent b4ce56b5f7
commit 6b74398f8c
7 changed files with 108 additions and 60 deletions

View file

@ -3,11 +3,14 @@
#include "basic_printers.hpp"
#include "statement_nodes.hpp"
#include <vector>
namespace printers {
// void print_source_file(Printer &printer); // TODO
void print_source_file(const std::vector<nodes::Statement> &statements,
Printer &printer);
// void print_statement(Printer &printer); // TODO
void print_statement(const nodes::Statement &statements, Printer &printer);
void print_import(const nodes::Import &statement, Printer &printer);