mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-08 07:58:44 +00:00
statement node added
This commit is contained in:
parent
b4ce56b5f7
commit
6b74398f8c
7 changed files with 108 additions and 60 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue