You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current SourceFile class implement a bunch of counter and also identifiersName that keep the trace of all kind of declaration identifiers across the file.
Current SourceFile class implement a bunch of counter and also
identifiersName
that keep the trace of all kind of declaration identifiers across the file.js-x-ray/src/SourceFile.js
Lines 25 to 34 in e711bb2
Today, these "counters" are updated in probes that are often used for no other purpose.
js-x-ray/src/probes/isVariableDeclaration.js
Lines 14 to 25 in e711bb2
Or
js-x-ray/src/probes/isFunction.js
Lines 20 to 33 in e711bb2
For me, these should not be managed by probes but by another mechanism/abstraction
Then we could probably create a CounterAggregator or something like that to get an Object at the end.
But we still need a way to also manage
identifiersName
.The text was updated successfully, but these errors were encountered: