Basically this functionally keeps track of what function or struct the reader is currently in and uses this information to populate any new todo{}