mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-07 12:16:44 +01:00
remove old declarative macros
This commit is contained in:
parent
bcbcc387a2
commit
b7bb6119aa
9 changed files with 33 additions and 408 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue