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§
- Include
Target Index - Workspace-wide resolution table for
#includetargets: 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
#includelines are relevant to it. - include_
paths - included_
claimable_ files - The claim edges
sourcescontribute: for each source file, the workspace files it pulls in by quoted#includethat 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