MCPcopy Create free account
hub / github.com/Marus/cortex-debug / deSerialize

Method deSerialize

src/frontend/views/live-watch.ts:330–340  ·  view source on GitHub ↗
(state: NodeState)

Source from the content-addressed store, hash-verified

328 }
329
330 public deSerialize(state: NodeState): void {
331 for (const child of state.children) {
332 if (!this.children) {
333 this.children = [];
334 }
335 const item = new LiveVariableNode(this, child.name, child.expr);
336 item.expanded = child.expanded;
337 this.children.push(item);
338 item.deSerialize(child);
339 }
340 }
341}
342
343class LiveVariableNodeMsg extends LiveVariableNode {

Callers 1

restoreStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected