(
public readonly name: string,
public readonly sourceFilePath: string,
public readonly children: Function[],
public readonly type?: ProgramType
)
| 117 | |
| 118 | export class Program extends TreeItem { |
| 119 | constructor( |
| 120 | public readonly name: string, |
| 121 | public readonly sourceFilePath: string, |
| 122 | public readonly children: Function[], |
| 123 | public readonly type?: ProgramType |
| 124 | ) { |
| 125 | super( |
| 126 | name, |
| 127 | children |
| 128 | ? TreeItemCollapsibleState.Expanded |
| 129 | : TreeItemCollapsibleState.None |
| 130 | ); |
| 131 | |
| 132 | this.label = name; |
| 133 | this.tooltip = name; |
| 134 | } |
| 135 | |
| 136 | contextValue = this.type ?? 'program'; |
| 137 | } |
nothing calls this directly
no outgoing calls
no test coverage detected