forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
17
node_modules/chevrotain/lib_esm/src/generate/generate_public.js
generated
vendored
Normal file
17
node_modules/chevrotain/lib_esm/src/generate/generate_public.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { genUmdModule, genWrapperFunction } from "./generate";
|
||||
export function generateParserFactory(options) {
|
||||
var wrapperText = genWrapperFunction({
|
||||
name: options.name,
|
||||
rules: options.rules
|
||||
});
|
||||
var constructorWrapper = new Function("tokenVocabulary", "config", "chevrotain", wrapperText);
|
||||
return function (config) {
|
||||
return constructorWrapper(options.tokenVocabulary, config,
|
||||
// TODO: check how the require is transpiled/webpacked
|
||||
require("../api"));
|
||||
};
|
||||
}
|
||||
export function generateParserModule(options) {
|
||||
return genUmdModule({ name: options.name, rules: options.rules });
|
||||
}
|
||||
//# sourceMappingURL=generate_public.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue