Crate module_path_extractor

Source

Functionsยง

find_module_path
Reads the file and extracts the module path
generate_pseudo_module_path
Converts a file path into a pseudo-Rust module path
get_pseudo_module_path
Gets the full pseudo-absolute module path of the current macro invocation
get_source_info
Extracts the file path and line number where the macro was invoked