TS and JS Grammar Extension version: 0.0.18 / latest
Fig1.

Fig2.

const blah = Storage(1);
console.log;
console.log();
Storage in this example isn't given a function scope even though it's just a regular function factory.
console.log on its own also has identical scopes to console.log().
new StorageLibrary( also has no function-call related scoping
Ideally we would have a function-call scope added to a function being called like so myFn().
This is a continuation from #367 and #364 as vscode significantly changed the tmLanguage implementation.