Commit 2f8649a
committed
Fix NodeId->HirId lookups by carrying structural context
- record child-slot paths, statement indices, and owner node
IDs in AST span maps via the new child_slot vocabulary and
NodeContextKey
- teach SpanToHirMapper/HirMap to mirror that
context, populate a context_to_hir_map, and fall back to it
before the span-only mapping
refactor: align struct field key trees with bitfield helpers1 parent a2c2149 commit 2f8649a
File tree
4 files changed
+790
-45
lines changed- c2rust-refactor/src
- ast_manip
- transform
4 files changed
+790
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments