lua_semantics/statement/
goto_.rs

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