luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Index {
    /// The 0-based index to use for the lookup.
    pub(crate) index: usize,
    /// The sort of thing we're indexing from, this is used in stringifying the type path for errors.
    pub(crate) variant: crate::enums::variant::Variant,
}