luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::records::generic_counter::GenericCounter;

impl GenericCounter {
    pub fn visit_type_id_generic_type(&mut self) -> bool {
        // Mirrors the C++:
        // bool visit(TypeId ty, const GenericType&) override { ... }
        //
        // This Rust one-shot item only specifies the generic-type visit hook;
        // the TypeId is provided by the visitor dispatch into GenericCounter.
        self.visit_type_id()
    }
}