malt-index
A native index of the MATLAB path: the functions, classes, scripts, live scripts, packages (+pkg), class folders
(@cls), plain folders and private/ folders that MATLAB resolves names against. It is the Rust core of
malt. The linter uses it when [index] enabled = true or --index is given, and
the Python module malt-index wraps it for documentation generators.
The crate does not depend on the linter crates.
Use
use ;
let index = scan;
let entity = index.get?;
let chain = index.mro?;
Index::scan lists the folders and reads no file. Files are parsed on first use and cached, and an Index is
Send + Sync.
Documentation
The API tour, the rules for how MATLAB is read, and the development guide are in the malt documentation:
The item documentation is on docs.rs.
License
MIT. See the repository for the source and to report issues.