1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::codegen::syntax_tree::Name;

/// the string node
/// for example:
/// "xxxxxxx" or  `xxxxxxx`
#[derive(Clone, Debug)]
pub struct StringNode {
    pub value: String,
}

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