rbatis_codegen/codegen/syntax_tree_pysql/
string_node.rs

1use crate::codegen::syntax_tree_pysql::Name;
2
3/// the string node
4/// for example:
5/// "xxxxxxx" or  `xxxxxxx`
6#[derive(Clone, Debug, Eq, PartialEq)]
7pub struct StringNode {
8    pub value: String,
9}
10
11impl Name for String {
12    fn name() -> &'static str {
13        "string"
14    }
15}