37 lines
1.4 KiB
JavaScript
37 lines
1.4 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 460031
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.oz = {
|
|
comment: { pattern: /\/\*[\s\S]*?\*\/|%.*/, greedy: !0 },
|
|
string: { pattern: /"(?:[^"\\]|\\[\s\S])*"/, greedy: !0 },
|
|
atom: {
|
|
pattern: /'(?:[^'\\]|\\[\s\S])*'/,
|
|
greedy: !0,
|
|
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: !0 },
|
|
],
|
|
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: /[\[\](){}.:;?]/,
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "oz"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|