mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 11:45:02 +01:00
start with write
This commit is contained in:
parent
83778ac2c9
commit
cb3710cd3f
6 changed files with 1337 additions and 699 deletions
|
|
@ -1,9 +1,11 @@
|
|||
mod parser;
|
||||
mod write;
|
||||
|
||||
use crate::parser::codegen_parser;
|
||||
use heck::ToUpperCamelCase;
|
||||
use std::fs;
|
||||
use strong_xml::XmlRead;
|
||||
use crate::write::codegen_write;
|
||||
|
||||
#[derive(Debug, XmlRead)]
|
||||
#[xml(tag = "amqp")]
|
||||
|
|
@ -87,6 +89,7 @@ fn codegen(amqp: &Amqp) {
|
|||
codegen_domain_defs(amqp);
|
||||
codegen_class_defs(amqp);
|
||||
codegen_parser(amqp);
|
||||
codegen_write(amqp);
|
||||
}
|
||||
|
||||
fn codegen_domain_defs(amqp: &Amqp) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue