(value_item_id: debug.ValueItemID)
| 195 | const storeNodeMap = new decode.StoreNodeMap() |
| 196 | |
| 197 | function getValueItem(value_item_id: debug.ValueItemID): Inspector.ValueItem | undefined { |
| 198 | |
| 199 | const [type, id] = splitOnColon(value_item_id) |
| 200 | |
| 201 | // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check |
| 202 | switch (type) { |
| 203 | case debug.ValueItemType.Signal: return state.signals[id]?.item |
| 204 | case debug.ValueItemType.Prop: return state.props?.record[id]?.item |
| 205 | case debug.ValueItemType.Value: return state.value ?? undefined |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | input.listen(e => { |
| 210 | // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check |
no test coverage detected
searching dependent graphs…