Chevrotain lib and env setup

This commit is contained in:
Wolfsblvt
2024-07-16 00:43:01 +02:00
parent fbd8e94100
commit 7a36901bfc
3 changed files with 2962 additions and 0 deletions

File diff suppressed because one or more lines are too long

2784
public/scripts/macros/chevrotain.d.ts vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
import { CstParser } from '../../lib/chevrotain.min.mjs';
/** @type {any} */
const AnyParser = CstParser;
/**
* @typedef {import('./chevrotain').CstParser} CstParserType
* @typedef {new (...args: any[]) => CstParserType} CstParserConstructor
* @type {CstParserConstructor}
*/
const Parser = AnyParser;
export { Parser as CstParser };