Skip to main content

Module imports

Module imports 

Source
Expand description

#include parsing and the workspace-wide include-target index.

analyzer/cpp/imports.rs in brokk-bifrost-analysis keeps the ImportAnalysisProvider / TestDetectionProvider impls and the OnceLock / PoolSafeMemo cells that memoize IncludeTargetIndex and the reverse include map on the analyzer; every decision they make is a function here.

Structs§

IncludeTargetIndex
Workspace-wide resolution table for #include targets: every analyzable file keyed both by its full workspace-relative path and by its bare file name.

Functions§

extract_type_identifiers
The capitalized identifiers a C++ source mentions, used to decide which of a declaration’s #include lines are relevant to it.
include_paths
included_claimable_files
The claim edges sources contribute: for each source file, the workspace files it pulls in by quoted #include that no language’s extension registry claims (#1837).
parse_include_path
parse_quoted_include
quoted_include_paths
receiver_query_supported
Whether the structural receiver queries apply to file.
resolve_direct_include_targets_with_index
resolve_include_targets
resolve_include_targets_with_index