scopeForeachSymbol
Calls the given function for each of the symbol/value pairs in the given scope of the #GScanner. The function is passed the symbol and value of each pair, and the given @user_data parameter.
Parameters
scopeId
the scope id
func
the function to call for each symbol/value pair