(state: NodeState)
| 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 | |
| 343 | class LiveVariableNodeMsg extends LiveVariableNode { |