1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use super::*;
impl UpperHex for ASTNode {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
match self {
ASTNode::Sequence(_) => { todo!() }
ASTNode::List(_) => { todo!() }
ASTNode::Variable(_) => { todo!() }
ASTNode::Function(_, _) => { todo!() }
ASTNode::Evaluated(e) => { LowerHex::fmt(&**e, f) }
}
}
}
impl UpperHex for Sequence {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
todo!()
}
}
impl UpperHex for MaybeParentheses {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
todo!()
}
}