luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
use alloc::string::String;

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct UnknownRequire {
    pub(crate) module_path: String,
}

impl UnknownRequire {
    pub const fn new(module_path: String) -> Self {
        Self { module_path }
    }
}

#[allow(non_snake_case)]
impl UnknownRequire {
    pub fn modulePath(&self) -> &str {
        &self.module_path
    }
}