key from every node's metadata association, so each node is left with
(or whatever non-
Source
keys it held).
▪
It is the practical tool for structural comparison and tests: two trees that differ only in where they came from compare equal once both are stripped, so a test can assert on shape without pinning exact line/column spans.
▪
It does not change a tree's shape - same heads, same children, same descriptors - only the
Source
entries are removed. A stripped tree is still a valid standard AST, so