Files
SillyTavern/public/scripts/macros/lib.js
2024-07-16 00:43:01 +02:00

14 lines
341 B
JavaScript

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 };