Tracks declaration and assignment of globals in Lua