basic printers, type printers, some fixes, part of expression printers

This commit is contained in:
ProgramSnail 2023-07-24 18:47:57 +03:00
parent 3914ff7d8b
commit 3669084f55
14 changed files with 795 additions and 39 deletions

15
include/type_printers.hpp Normal file
View file

@ -0,0 +1,15 @@
#pragma once
#include "basic_printers.hpp"
#include "type_nodes.hpp"
namespace printers {
void print_type(const nodes::Type &type, printers::Printer &printer);
void print_tuple_type(const nodes::TupleType &type, printers::Printer &printer);
void print_variant_type(const nodes::VariantType &type,
printers::Printer &printer);
} // namespace printers