(str: string)
| 60 | } |
| 61 | |
| 62 | public findName(str: string): LiveVariableNode | undefined { |
| 63 | for (const child of this.children || []) { |
| 64 | if (child.name === str) { |
| 65 | return child; |
| 66 | } |
| 67 | } |
| 68 | return undefined; |
| 69 | } |
| 70 | |
| 71 | public getTreeItem(): TreeItem | Promise<TreeItem> { |
| 72 | const state = this.variablesReference || (this.children?.length > 0) ? |