mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2026-01-25 21:17:11 +00:00
folder structure refactoring
This commit is contained in:
parent
ef88e6af86
commit
78c696b99a
30 changed files with 40 additions and 22 deletions
25
include/printers/statement_printers.hpp
Normal file
25
include/printers/statement_printers.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#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_statement(const nodes::Statement &statements, Printer &printer);
|
||||
|
||||
void print_import(const nodes::Import &statement, Printer &printer);
|
||||
|
||||
void print_constraint(const nodes::Constraint &statement, Printer &printer);
|
||||
|
||||
void print_type_definition(const nodes::TypeDefinition &statement,
|
||||
Printer &printer);
|
||||
|
||||
void print_function_definition(const nodes::FunctionDefinition &statement,
|
||||
Printer &printer);
|
||||
|
||||
} // namespace printers
|
||||
Loading…
Add table
Add a link
Reference in a new issue