Commit e30e307
inspector: move options parsing
As inspector functionality expands, more options will need to be added.
Currently this requires changing adding function arguments, etc. This
change packs the veriables into a single class that can be extended
without changing APIs.
PR-URL: #9691
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 33af09f commit e30e307Copy full SHA for e30e307
File tree
Expand file treeCollapse file tree
8 files changed
+260
-154
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
8 files changed
+260
-154
lines changedOpen diff view settings
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
159 | 159 | |
160 | 160 | |
161 | 161 | |
| 162 | + |
162 | 163 | |
163 | 164 | |
164 | 165 | |
| ||
201 | 202 | |
202 | 203 | |
203 | 204 | |
| 205 | + |
204 | 206 | |
205 | 207 | |
206 | 208 | |
|
Collapse file
+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
54 | 53 | |
55 | 54 | |
56 | 55 | |
| ||
69 | 68 | |
70 | 69 | |
71 | 70 | |
72 | | - |
| 71 | + |
73 | 72 | |
74 | 73 | |
75 | 74 | |
| ||
85 | 84 | |
86 | 85 | |
87 | 86 | |
88 | | - |
89 | | - |
90 | | - |
| 87 | + |
| 88 | + |
91 | 89 | |
92 | 90 | |
93 | 91 | |
| ||
210 | 208 | |
211 | 209 | |
212 | 210 | |
213 | | - |
214 | | - |
215 | | - |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
216 | 216 | |
217 | 217 | |
218 | 218 | |
|
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | 31 | |
| ||
76 | 77 | |
77 | 78 | |
78 | 79 | |
79 | | - |
| 80 | + |
80 | 81 | |
81 | 82 | |
82 | 83 | |
| ||
114 | 115 | |
115 | 116 | |
116 | 117 | |
| 118 | + |
117 | 119 | |
118 | | - |
119 | | - |
120 | 120 | |
121 | 121 | |
122 | 122 | |
|
Collapse file
+13-12Lines changed: 13 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
131 | 131 | |
132 | 132 | |
133 | 133 | |
134 | | - |
| 134 | + |
| 135 | + |
135 | 136 | |
136 | 137 | |
137 | 138 | |
| ||
168 | 169 | |
169 | 170 | |
170 | 171 | |
| 172 | + |
171 | 173 | |
172 | 174 | |
173 | 175 | |
174 | 176 | |
175 | 177 | |
176 | 178 | |
177 | 179 | |
178 | | - |
179 | | - |
180 | 180 | |
181 | 181 | |
182 | 182 | |
| ||
192 | 192 | |
193 | 193 | |
194 | 194 | |
| 195 | + |
| 196 | + |
195 | 197 | |
196 | 198 | |
197 | 199 | |
| ||
316 | 318 | |
317 | 319 | |
318 | 320 | |
319 | | - |
320 | 321 | |
321 | 322 | |
322 | 323 | |
| ||
396 | 397 | |
397 | 398 | |
398 | 399 | |
399 | | - |
| 400 | + |
| 401 | + |
| 402 | + |
| 403 | + |
400 | 404 | |
401 | 405 | |
402 | 406 | |
| ||
408 | 412 | |
409 | 413 | |
410 | 414 | |
411 | | - |
412 | | - |
413 | | - |
414 | 415 | |
415 | 416 | |
416 | 417 | |
| ||
420 | 421 | |
421 | 422 | |
422 | 423 | |
423 | | - |
| 424 | + |
424 | 425 | |
425 | 426 | |
426 | 427 | |
| ||
548 | 549 | |
549 | 550 | |
550 | 551 | |
551 | | - |
| 552 | + |
552 | 553 | |
553 | 554 | |
554 | 555 | |
| ||
666 | 667 | |
667 | 668 | |
668 | 669 | |
669 | | - |
670 | | - |
| 670 | + |
| 671 | + |
671 | 672 | |
672 | 673 | |
673 | 674 | |
|
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
| 11 | + |
10 | 12 | |
11 | 13 | |
12 | 14 | |
| ||
31 | 33 | |
32 | 34 | |
33 | 35 | |
34 | | - |
| 36 | + |
| 37 | + |
35 | 38 | |
36 | 39 | |
37 | 40 | |
|
0 commit comments