lua_semantics/statement/
label.rs

1use crate::LabelInfo;
2use std::cell::RefCell;
3use std::rc::Rc;
4
5/// Goto statement
6#[derive(Clone, Debug)]
7pub struct StmtLabel {
8    pub label: Rc<RefCell<LabelInfo>>,
9}
10impl StmtLabel {
11    pub fn new(label: Rc<RefCell<LabelInfo>>) -> Self {
12        Self { label }
13    }
14}