This commit is contained in:
2026-04-17 00:09:00 -04:00
parent 83edad0cd8
commit e5ae506a84
11 changed files with 161 additions and 52 deletions
+8
View File
@@ -1,3 +1,5 @@
use crate::parser::{DisplayCtx, FmtNode};
use super::Token;
#[derive(PartialEq)]
@@ -24,3 +26,9 @@ impl std::fmt::Display for Lit {
}
}
}
impl FmtNode for Lit {
fn fmt(&self, f: &mut std::fmt::Formatter, _: DisplayCtx) -> std::fmt::Result {
write!(f, "{self}")
}
}