Milky2018/moon_wgsl/resolver does not have a README file

    WgslSourceRegistry

    pub(all) struct WgslSourceRegistry {
    rel_to_source_ref :
    Ref
    [
    HashMap
    [String, String]]
    module_to_rel_ref :
    Ref
    [
    HashMap
    [String, String]]
    }

    WgslSourceRegistry::clear

    fn WgslSourceRegistry::clear(self : WgslSourceRegistry) -> Unit

    WgslSourceRegistry::copy_import_module_paths

    fn WgslSourceRegistry::copy_import_module_paths(self : WgslSourceRegistry) ->
    HashMap
    [String, String]

    WgslSourceRegistry::copy_source_files

    WgslSourceRegistry::default

    WgslSourceRegistry::module_paths

    WgslSourceRegistry::register_source

    fn WgslSourceRegistry::register_source(self : WgslSourceRegistry, rel_path : String, source : String, explicit_module_path : String?) -> String?

    WgslSourceRegistry::register_source_files

    WgslSourceRegistry::register_source_files_checked

    WgslSourceRegistry::registered_source

    fn WgslSourceRegistry::registered_source(self : WgslSourceRegistry, rel_path : String) -> String?

    WgslSourceRegistry::remove_source_and_module

    fn WgslSourceRegistry::remove_source_and_module(self : WgslSourceRegistry, rel_path : String, module_path : String) -> Unit

    WgslSourceRegistry::snapshot

    WgslSourceRegistry::source_registry

    analyze_wgsl_source_files_for_registry

    build_wgsl_import_module_paths

    fn build_wgsl_import_module_paths(_assets_base : String) ->
    HashMap
    [String, String]

    clear_registered_wgsl_source_registry

    fn clear_registered_wgsl_source_registry() -> Unit

    collect_wgsl_import_targets

    fn collect_wgsl_import_targets(spec : String, prefix : String, targets : Array[
    WgslImportTarget
    ]) -> Unit

    copy_registered_wgsl_import_module_paths

    fn copy_registered_wgsl_import_module_paths() ->
    HashMap
    [String, String]

    copy_registered_wgsl_source_files

    fn copy_registered_wgsl_source_files() -> Array[
    WgslSourceFile
    ]

    copy_wgsl_source_files_from_registry

    fn copy_wgsl_source_files_from_registry(source_registry :
    HashMap
    [String, String]) -> Array[
    WgslSourceFile
    ]

    default_shader_rel_path_for_module_path

    fn default_shader_rel_path_for_module_path(module_path : String) -> String

    normalize_shader_rel_path

    fn normalize_shader_rel_path(rel : String) -> String

    register_wgsl_source

    fn register_wgsl_source(rel_path : String, source : String) -> Unit

    register_wgsl_source_files

    fn register_wgsl_source_files(files : Array[
    WgslSourceFile
    ]) -> Unit

    register_wgsl_source_files_checked

    registered_wgsl_source

    fn registered_wgsl_source(rel_path : String) -> String?

    registered_wgsl_source_registry_singleton

    let registered_wgsl_source_registry_singleton : WgslSourceRegistry

    resolve_wgsl_import_file_path

    fn resolve_wgsl_import_file_path(importer_rel_path : String, import_path : String) -> String?

    resolve_wgsl_import_file_path_from_registry

    fn resolve_wgsl_import_file_path_from_registry(registry : WgslSourceRegistry, importer_rel_path : String, import_path : String) -> String?

    resolve_wgsl_import_module

    fn resolve_wgsl_import_module(_assets_base : String, import_path : String, modules :
    HashMap
    [String, String]) ->
    WgslResolvedImportModule
    ?

    resolve_wgsl_import_module_in_registry

    fn resolve_wgsl_import_module_in_registry(registry : WgslSourceRegistry, import_path : String, modules :
    HashMap
    [String, String]) ->
    WgslResolvedImportModule
    ?

    resolve_wgsl_source_file_path

    fn resolve_wgsl_source_file_path(_assets_base : String, rel : String) -> String?