kernel: one scope-qualified-name helper and Tables::push_contains across the walkers
Merged
BO
2mo ago+93+93+01234567890123456789-439-439-012345678901234567890123456789
Part of item A-Q9 of the code-quality review. Output is unchanged. Net −346 lines.
- Every walker's
create_nodebuilt the default qualified name with the same eight-line scope join.walker::scope_qualified_name(stack, name)now does it for all of them. It keeps thejoin("::")semantics exactly, so a single empty-named scope still adds no separator. - 19 sites wrote the same
containsEdgeRow, with no position, metadata or provenance.Tables::push_contains(parent, child)replaces them.
The rest of each create_node stays per walker: visibility, flag subsets, decorators and type parameters, end-line overrides, and side tables. A superset struct covering all of those would be bigger than the copies it replaced.
Gate: dump-graph byte-identical against the #113 kernel on all 15 corpora. Also: kernel unit tests 34/34; clippy -D warnings; ast-grep rules; full suite 303 files, 5,178 tests.