Module dfir_lang::process_singletons 
source · Expand description
Utility methods for processing singleton references: #my_var.
Functions§
- Replaces singleton references
#my_varwith the code needed to actually get the value inside. - Same as
postprocess_singletonsbut generates just theStateHandleident rather than fullRefCellborrowing code. - Finds all the singleton references
#my_varand appends them tofound_idents. Returns theTokenStreambut with the hashes removed from the varnames.