First commit.

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-08 14:43:16 +08:00
commit 0b64e2de94
10989 changed files with 2253791 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
/******************************************************************************
* Copyright 2023 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
import type { LangiumCoreServices } from '../services.js';
import { ParserWorker } from '../parser/async-parser.js';
import { AbstractThreadedAsyncParser } from '../parser/async-parser.js';
import { Worker } from 'node:worker_threads';
export declare class WorkerThreadAsyncParser extends AbstractThreadedAsyncParser {
protected workerPath: string | (() => string);
constructor(services: LangiumCoreServices, workerPath: string | (() => string));
protected createWorker(): ParserWorker;
}
export declare class WorkerThreadParserWorker extends ParserWorker {
constructor(worker: Worker);
}
//# sourceMappingURL=worker-thread-async-parser.d.ts.map