imrprove code generation to support example

This commit is contained in:
timurgordon
2025-02-12 03:37:22 +03:00
parent 13471d4ca5
commit 6644d3b11c
28 changed files with 491 additions and 372 deletions

View File

@@ -3,7 +3,7 @@ module code
// Code is a list of statements
// pub type Code = []CodeItem
pub type CodeItem = Alias | Comment | CustomCode | Function | Import | Struct | Sumtype
pub type CodeItem = Alias | Comment | CustomCode | Function | Import | Struct | Sumtype | Interface
// item for adding custom code in
pub struct CustomCode {