mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 20:48:15 +08:00
58 lines
1.2 KiB
JavaScript
58 lines
1.2 KiB
JavaScript
|
import {
|
||
|
__commonJS
|
||
|
} from "./chunk-2TUXWMP5.js";
|
||
|
|
||
|
// node_modules/highlight.js/lib/languages/taggerscript.js
|
||
|
var require_taggerscript = __commonJS({
|
||
|
"node_modules/highlight.js/lib/languages/taggerscript.js"(exports, module) {
|
||
|
function taggerscript(hljs) {
|
||
|
const COMMENT = {
|
||
|
className: "comment",
|
||
|
begin: /\$noop\(/,
|
||
|
end: /\)/,
|
||
|
contains: [{
|
||
|
begin: /\(/,
|
||
|
end: /\)/,
|
||
|
contains: [
|
||
|
"self",
|
||
|
{
|
||
|
begin: /\\./
|
||
|
}
|
||
|
]
|
||
|
}],
|
||
|
relevance: 10
|
||
|
};
|
||
|
const FUNCTION = {
|
||
|
className: "keyword",
|
||
|
begin: /\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,
|
||
|
end: /\(/,
|
||
|
excludeEnd: true
|
||
|
};
|
||
|
const VARIABLE = {
|
||
|
className: "variable",
|
||
|
begin: /%[_a-zA-Z0-9:]*/,
|
||
|
end: "%"
|
||
|
};
|
||
|
const ESCAPE_SEQUENCE = {
|
||
|
className: "symbol",
|
||
|
begin: /\\./
|
||
|
};
|
||
|
return {
|
||
|
name: "Tagger Script",
|
||
|
contains: [
|
||
|
COMMENT,
|
||
|
FUNCTION,
|
||
|
VARIABLE,
|
||
|
ESCAPE_SEQUENCE
|
||
|
]
|
||
|
};
|
||
|
}
|
||
|
module.exports = taggerscript;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export {
|
||
|
require_taggerscript
|
||
|
};
|
||
|
//# sourceMappingURL=chunk-ESYAMWEV.js.map
|