Skip to main content

Module hits

Module hits 

Source

Functions§

record_hit
record_import_hit
Record node as an Import-binding hit (the token that brings the symbol into this file), which the IDE find-references surface includes but the call-graph surfaces ignore.
record_self_receiver_hit
Record node as a same-owner self/cls receiver hit (#1014 facet B): a self.member / cls.member access whose receiver is the current instance / own class. Excluded from the external usage surface, counted as a same-owner site. Records the ordinary hit, then reclassifies it — the shared scan consumer, so the record ceremony lives in exactly one place.
record_unproven_hit