Expand description
Module path resolution
Functionsยง
- find_
crate_ root - Find the crate root file (lib.rs or main.rs)
- is_
inline_ module - Check if a mod declaration is inline (has body) vs external (just declaration)
- is_
internal_ path - Check if a use path is internal (
crate::,self::,super::) - resolve_
module_ file - Resolve the file path for a module declaration
- resolve_
use_ target - Resolve a use path to its target module path Returns None if the path refers to an external crate or cannot be resolved