Expand description
Lookup hir elements using positions in the source code. This is a lossy
transformation: in general, a single source might correspond to several
modules, functions, etc, due to macros, cfgs and #[path=] attributes on
modules.
So, this modules should not be used during hir construction, it exists purely for βIDE needsβ.
StructsΒ§
- Source
Analyzer π SourceAnalyzeris a convenience wrapper which exposes HIR API in terms of original source files. It should not be used inside the HIR itself.
EnumsΒ§
- Body
OrSig π
FunctionsΒ§
- adjust π
- name_
hygiene π - record_
literal_ πmatched_ fields - record_
pattern_ πmatched_ fields - resolve_
hir_ πpath - resolve_
hir_ πpath_ - resolve_
hir_ πpath_ as_ attr_ macro - resolve_
hir_ πpath_ qualifier - Resolves a path where we know it is a qualifier of another path.
- resolve_
hir_ πvalue_ path - scope_
for π - scope_
for_ πoffset