knowledgebase_law/node_modules/.vite/deps/chunk-JIT6QZLY.js
2025-04-11 11:47:09 -04:00

48 lines
1.5 KiB
JavaScript

import {
__commonJS
} from "./chunk-2TUXWMP5.js";
// node_modules/refractor/lang/oz.js
var require_oz = __commonJS({
"node_modules/refractor/lang/oz.js"(exports, module) {
module.exports = oz;
oz.displayName = "oz";
oz.aliases = [];
function oz(Prism) {
Prism.languages.oz = {
comment: {
pattern: /\/\*[\s\S]*?\*\/|%.*/,
greedy: true
},
string: {
pattern: /"(?:[^"\\]|\\[\s\S])*"/,
greedy: true
},
atom: {
pattern: /'(?:[^'\\]|\\[\s\S])*'/,
greedy: true,
alias: "builtin"
},
keyword: /\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,
function: [
/\b[a-z][A-Za-z\d]*(?=\()/,
{
pattern: /(\{)[A-Z][A-Za-z\d]*\b/,
lookbehind: true
}
],
number: /\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,
variable: /`(?:[^`\\]|\\.)+`/,
"attr-name": /\b\w+(?=[ \t]*:(?![:=]))/,
operator: /:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,
punctuation: /[\[\](){}.:;?]/
};
}
}
});
export {
require_oz
};
//# sourceMappingURL=chunk-JIT6QZLY.js.map