remove old declarative macros

This commit is contained in:
🪞👃🪞 2025-05-08 22:07:10 +03:00
parent bcbcc387a2
commit b7bb6119aa
9 changed files with 33 additions and 408 deletions

View file

@ -227,8 +227,6 @@ impl ToTokens for CommandArm {
out.append(Group::new(Delimiter::Parenthesis, {
let mut out = TokenStream2::new();
out.append(self.to_enum_variant_ident());
for arg in args.iter() {
}
out
}));
out.append(Punct::new('=', Joint));

View file

@ -84,6 +84,7 @@ impl ToTokens for ExposeImpl {
};
let values = variants.iter().map(ExposeArm::from);
write_quote_to(out, quote! {
/// Generated by [tengri_proc].
impl ::tengri::dsl::Context<#t> for #target {
fn get (&self, dsl: &::tengri::dsl::Value) -> Option<#t> {
Some(match dsl {