ftsrg / codemodel-rifle

Graph-based incremental static analysis of ECMAScript 6 source code repositories
http://docs.inf.mit.bme.hu/codemodel-rifle/
Eclipse Public License 1.0
19 stars 3 forks source link

Merge GlobalScopes into a single scope #1

Open luczsoma opened 7 years ago

luczsoma commented 7 years ago

After merging imports and exports, we should have one global scope for a project with the child scopes connected. Now we have one GlobalScope for each imported file.

steindani commented 7 years ago

What would we gain from this? I was thinking about it for a while, but dismissed the idea, since the scope of the modules are not merged, only references are imported. Maybe global variables should be extracted, like window.