mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 14:48:15 +08:00
34 lines
1.0 KiB
JavaScript
34 lines
1.0 KiB
JavaScript
import {
|
||
__commonJS
|
||
} from "./chunk-2TUXWMP5.js";
|
||
|
||
// node_modules/refractor/lang/jexl.js
|
||
var require_jexl = __commonJS({
|
||
"node_modules/refractor/lang/jexl.js"(exports, module) {
|
||
module.exports = jexl;
|
||
jexl.displayName = "jexl";
|
||
jexl.aliases = [];
|
||
function jexl(Prism) {
|
||
Prism.languages.jexl = {
|
||
string: /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
||
transform: {
|
||
pattern: /(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,
|
||
alias: "function",
|
||
lookbehind: true
|
||
},
|
||
function: /[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,
|
||
number: /\b\d+(?:\.\d+)?\b|\B\.\d+\b/,
|
||
operator: /[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,
|
||
boolean: /\b(?:false|true)\b/,
|
||
keyword: /\bin\b/,
|
||
punctuation: /[{}[\](),.]/
|
||
};
|
||
}
|
||
}
|
||
});
|
||
|
||
export {
|
||
require_jexl
|
||
};
|
||
//# sourceMappingURL=chunk-XPW5REWX.js.map
|