Report question

Question: How to get all variables defined in the current scope/symbol table?