1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::codegen::syntax_tree_pysql::{Name, NodeType};
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct WhenNode {
pub childs: Vec<NodeType>,
pub test: String,
}
impl Name for WhenNode {
fn name() -> &'static str {
"when"
}
}