fixed empty function parameters in variable info
added variable info in generator

generator now aware of global referable names (resources, sequences, constants, functions)