luaur-analysis 0.1.1

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::records::annotation_types_at_location::AnnotationTypesAtLocation;
use crate::records::error_snapshot::ErrorSnapshot;
use crate::records::expr_types_at_location::ExprTypesAtLocation;

#[derive(Debug, Clone, Default)]
pub struct ConstraintGenerationLog {
    pub source: alloc::string::String,
    pub errors: alloc::vec::Vec<ErrorSnapshot>,
    pub expr_type_locations: alloc::vec::Vec<ExprTypesAtLocation>,
    pub annotation_type_locations: alloc::vec::Vec<AnnotationTypesAtLocation>,
}