JetBrains / ruby-type-inference

Dynamic definitions and types provider for ruby static analysis
Apache License 2.0
137 stars 7 forks source link

Add StateTracker to arg_scanner #16

Closed vladimir-koshelev closed 6 years ago

vladimir-koshelev commented 6 years ago

Main changes:

valich commented 6 years ago

I propose to rename "state tracker" to "state dump" or similar, because it takes a snapshot and does not track anything in fact.

vladimir-koshelev commented 6 years ago

Unfortunately, I have plenty places (including not pushed yet) where I already use "state tracker". I propose to delay renaming until all related stuff will be pushed.

vladimir-koshelev commented 6 years ago

BTW name "state tracker" looks ok for me. It tracks execution of a process and dumps its state in appropriate moments. Ofc, current version dumps a state only at the exit, but I think it's implementation datails and it can be changed in the future :-)