Change json structure and add comments for modules

This commit is contained in:
mysty
2023-10-18 11:29:37 +01:00
parent 0a86db6b40
commit 7bf035aaf6
12 changed files with 85 additions and 48 deletions

View File

@@ -32,8 +32,8 @@ impl FileBuilder for FileBuilderEnum {
self.as_mut().write_top_level(output)
}
fn write_namespace(&mut self, output: &mut dyn Write, name: &str) -> Result<()> {
self.as_mut().write_namespace(output, name)
fn write_namespace(&mut self, output: &mut dyn Write, name: &str, comment: Option<&str>) -> Result<()> {
self.as_mut().write_namespace(output, name, comment)
}
fn write_variable(