Commit eeb421f
committed
Implement value line tracking for value binding analysis
- Added `-vl` and `--value-line` command-line options to specify the line number of the value binding for improved analysis in `count_value_usage_in_dependents`.
- Enhanced `count_value_usage_in_dependents` to utilize the line number for more accurate usage counting.
- Updated `main.ml` to handle new command-line options and pass the value line to the counting function.
- Introduced new utility functions in `dependency_graph.ml` for locating let bindings at specific lines.1 parent a3b6f09 commit eeb421f
File tree
17 files changed
+814
-395
lines changed- bin
- lib
- test/rescript/src
- vendor
- vscode-rescriptdep/src
17 files changed
+814
-395
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| |||
133 | 140 | | |
134 | 141 | | |
135 | 142 | | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| 147 | + | |
139 | 148 | | |
140 | 149 | | |
141 | 150 | | |
| |||
0 commit comments