cairo_lang_semantic::corelib

Function get_submodule

Source
pub fn get_submodule(
    db: &dyn SemanticGroup,
    base_module: ModuleId,
    submodule_name: &str,
) -> Option<ModuleId>
Expand description

Returns the submodule of base_module, named submodule_name, if exists.