Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

39 lines
1.2 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 941472
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
e.languages.rego = {
comment: /#.*/,
property: {
pattern:
/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,
lookbehind: !0,
greedy: !0,
},
string: {
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,
lookbehind: !0,
greedy: !0,
},
keyword:
/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,
boolean: /\b(?:false|true)\b/,
function: {
pattern: /\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,
inside: { namespace: /\b\w+\b(?=\s*\.)/, punctuation: /\./ },
},
number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
operator: /[-+*/%|&]|[<>:=]=?|!=|\b_\b/,
punctuation: /[,;.\[\]{}()]/,
};
}
(t.exports = r), (r.displayName = "rego"), (r.aliases = []);
};
export default moduleFactory;