1
2
3
4
5
6
7
8
9
10
use super::*;

impl crate::JumpLabelNode {
    pub(crate) fn build(&self, ctx: &mut ProgramState) -> LabelNode {
        match &self.identifier {
            Some(s) => LabelNode::Named(s.build(ctx.file)),
            None => LabelNode::Nearest,
        }
    }
}