Skip to main content

Module cli_file_resolver

Module cli_file_resolver 

Source
Expand description

Port of struct CliFileResolver : Luau::FileResolver (CLI/src/Analyze.cpp:160-229).

A concrete FileResolver subclass: #[repr(C)] with base: FileResolver first so a *mut FileResolver (the vtable receiver) can be cast back to *mut CliFileResolver. The three overridden virtuals (readSource, resolveModule, getHumanReadableModuleName) are wired to thunks that delegate to the inherent methods; getEnvironmentForModule is not overridden and uses the base default.

Structsยง

CliFileResolver