Module ra_ap_hir_expand::ast_id_map [−][src]
Expand description
AstIdMap
allows to create stable IDs for “large” syntax nodes like items
and macro calls.
Specifically, it enumerates all items in a file and uses position of a an item as an ID. That way, id’s don’t change unless the set of items itself changes.