maid-lang 1.1.0

Maid Programming Language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::lexing::position::Position;

#[derive(Debug, Clone)]
pub struct ContinueNode {
    pub pos_start: Option<Position>,
    pub pos_end: Option<Position>,
}

impl ContinueNode {
    pub fn new(pos_start: Option<Position>, pos_end: Option<Position>) -> Self {
        Self {
            pos_start,
            pos_end,
        }
    }
}