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

40 lines
968 B
JavaScript

import {
__commonJS
} from "./chunk-2TUXWMP5.js";
// node_modules/refractor/lang/ebnf.js
var require_ebnf = __commonJS({
"node_modules/refractor/lang/ebnf.js"(exports, module) {
module.exports = ebnf;
ebnf.displayName = "ebnf";
ebnf.aliases = [];
function ebnf(Prism) {
Prism.languages.ebnf = {
comment: /\(\*[\s\S]*?\*\)/,
string: {
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
greedy: true
},
special: {
pattern: /\?[^?\r\n]*\?/,
greedy: true,
alias: "class-name"
},
definition: {
pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,
lookbehind: true,
alias: ["rule", "keyword"]
},
rule: /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,
punctuation: /\([:/]|[:/]\)|[.,;()[\]{}]/,
operator: /[-=|*/!]/
};
}
}
});
export {
require_ebnf
};
//# sourceMappingURL=chunk-HIXF7L52.js.map