feat(generator): render static functions

This commit is contained in:
Aire-One 2022-12-10 00:43:01 +01:00
parent 1979badc1b
commit 386b0f33ff
1 changed files with 5 additions and 0 deletions

View File

@ -26,7 +26,12 @@ $(snippets.indent(snippets.render_record_properties(module.properties)))
# if #module.constructors ~= 0 then
-- Constructors
$(snippets.indent(snippets.render_record_functions(module.constructors)))
# end -- /constructors
# if #module.static_functions ~= 0 then
-- Static functions
$(snippets.indent(snippets.render_record_functions(module.static_functions)))
# end -- /static_functions
end
return $(module.record_name)