mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 18:28:17 +08:00
40 lines
1.5 KiB
JavaScript
40 lines
1.5 KiB
JavaScript
|
import {
|
||
|
__commonJS
|
||
|
} from "./chunk-2TUXWMP5.js";
|
||
|
|
||
|
// node_modules/refractor/lang/icon.js
|
||
|
var require_icon = __commonJS({
|
||
|
"node_modules/refractor/lang/icon.js"(exports, module) {
|
||
|
module.exports = icon;
|
||
|
icon.displayName = "icon";
|
||
|
icon.aliases = [];
|
||
|
function icon(Prism) {
|
||
|
Prism.languages.icon = {
|
||
|
comment: /#.*/,
|
||
|
string: {
|
||
|
pattern: /(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,
|
||
|
greedy: true
|
||
|
},
|
||
|
number: /\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,
|
||
|
"builtin-keyword": {
|
||
|
pattern: /&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,
|
||
|
alias: "variable"
|
||
|
},
|
||
|
directive: {
|
||
|
pattern: /\$\w+/,
|
||
|
alias: "builtin"
|
||
|
},
|
||
|
keyword: /\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,
|
||
|
function: /\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,
|
||
|
operator: /[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,
|
||
|
punctuation: /[\[\](){},;]/
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export {
|
||
|
require_icon
|
||
|
};
|
||
|
//# sourceMappingURL=chunk-IHYI374P.js.map
|