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