conlang: Remove "Identifier" node

It never carried any extra information, and got in the way everywhere it was used.
This commit is contained in:
2024-05-19 14:41:31 -05:00
parent f330a7eaa5
commit 0cc0cb5cfb
15 changed files with 115 additions and 139 deletions

View File

@@ -588,10 +588,9 @@ pub mod yamlify {
y.value(format_args!("\"{self}\""));
}
}
impl Yamlify for Identifier {
impl Yamlify for Sym {
fn yaml(&self, y: &mut Yamler) {
let Self(name) = self;
y.value(name);
y.value(self);
}
}
impl Yamlify for Param {