UNPKG

mastra

Version:
2 lines (1 loc) 452 B
import{J as t}from"./engine-compile-BkERmzkH.js";import{c as p,d as i}from"./engine-compile-BkERmzkH.js";function n(){const e={cache:new Map,regexConstructor:()=>{throw new Error("JavaScriptRawEngine: only support precompiled grammar")}};return{createScanner(r){return new t(r,e)},createString(r){return{content:r}}}}export{t as JavaScriptScanner,n as createJavaScriptRawEngine,p as createJavaScriptRegexEngine,i as defaultJavaScriptRegexConstructor};