luau_parser/impl/
range.rs

1//! All impl blocks for [`Range`].
2
3use luau_lexer::prelude::Position;
4
5use crate::types::Range;
6
7impl Range {
8    /// Crate a new [`Range`].
9    #[inline]
10    pub fn new(start: Position, end: Position) -> Self {
11        Self { start, end }
12    }
13}