thp/src/syntax/ast/var_binding.rs

12 lines
239 B
Rust

use crate::lexic::token::Token;
use super::Expression;
#[derive(Debug)]
pub struct VariableBinding<'a> {
pub datatype: Option<&'a Token>,
pub identifier: &'a Token,
pub expression: Expression<'a>,
pub is_mutable: bool,
}