1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::code_gen::py_sql::{DefName, Name, NodeType};

#[derive(Clone, Debug)]
pub struct OtherwiseNode {
    pub childs: Vec<NodeType>,
}

impl Name for OtherwiseNode {
    fn name() -> &'static str {
        "otherwise"
    }
}

impl DefName for OtherwiseNode {
    fn def_name() -> &'static str {
        "_"
    }
}