knowledgebase_law/node_modules/.vite/deps/chunk-WXNEWAOC.js

34 lines
989 B
JavaScript
Raw Normal View History

2025-04-11 23:47:09 +08:00
import {
__commonJS
} from "./chunk-2TUXWMP5.js";
// node_modules/refractor/lang/hoon.js
var require_hoon = __commonJS({
"node_modules/refractor/lang/hoon.js"(exports, module) {
module.exports = hoon;
hoon.displayName = "hoon";
hoon.aliases = [];
function hoon(Prism) {
Prism.languages.hoon = {
comment: {
pattern: /::.*/,
greedy: true
},
string: {
pattern: /"[^"]*"|'[^']*'/,
greedy: true
},
constant: /%(?:\.[ny]|[\w-]+)/,
"class-name": /@(?:[a-z0-9-]*[a-z0-9])?|\*/i,
function: /(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,
keyword: /\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/
};
}
}
});
export {
require_hoon
};
//# sourceMappingURL=chunk-WXNEWAOC.js.map