feat(generator): render static functions
This commit is contained in:
parent
1979badc1b
commit
386b0f33ff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue