(
client: ConstructorParameters<typeof Workspace>[0],
options: WorkspaceOptions = {},
)
| 45 | #workspaceFolders: Set<string>; |
| 46 | |
| 47 | constructor( |
| 48 | client: ConstructorParameters<typeof Workspace>[0], |
| 49 | options: WorkspaceOptions = {}, |
| 50 | ) { |
| 51 | super(client); |
| 52 | this.files = []; |
| 53 | this.#fileMap = new Map(); |
| 54 | this.#versions = Object.create(null) as Record<string, number>; |
| 55 | this.#workspaceFolders = new Set(); |
| 56 | this.options = options; |
| 57 | } |
| 58 | |
| 59 | #log(level: LspLogLevel, message: string, details?: unknown): void { |
| 60 | addLspLogFor(this.client, level, message, details); |