Value is only undefined for the root node
(public readonly value: ITarget | undefined)
| 632 | |
| 633 | /** Value is only undefined for the root node */ |
| 634 | constructor(public readonly value: ITarget | undefined) { |
| 635 | if (value) { |
| 636 | TreeNode.targetNodes.set(value, this); |
| 637 | } |
| 638 | } |
| 639 | |
| 640 | /** |
| 641 | * Adds a new child to the target tree. |