thp/src/syntax/ast/var_binding.rs

10 lines
197 B
Rust
Raw Normal View History

use super::Expression;
#[derive(Debug)]
2024-03-09 17:33:11 +00:00
pub struct Binding<'a> {
pub datatype: Option<String>,
pub identifier: Box<String>,
2024-03-09 17:33:11 +00:00
pub expression: Expression<'a>,
2023-12-17 01:51:12 +00:00
pub is_mutable: bool,
}