mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 22:08:16 +08:00
67 lines
1.8 KiB
JavaScript
67 lines
1.8 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/highlight.js/lib/languages/jboss-cli.js
|
|
var require_jboss_cli = __commonJS({
|
|
"node_modules/highlight.js/lib/languages/jboss-cli.js"(exports, module) {
|
|
function jbossCli(hljs) {
|
|
const PARAM = {
|
|
begin: /[\w-]+ *=/,
|
|
returnBegin: true,
|
|
relevance: 0,
|
|
contains: [
|
|
{
|
|
className: "attr",
|
|
begin: /[\w-]+/
|
|
}
|
|
]
|
|
};
|
|
const PARAMSBLOCK = {
|
|
className: "params",
|
|
begin: /\(/,
|
|
end: /\)/,
|
|
contains: [PARAM],
|
|
relevance: 0
|
|
};
|
|
const OPERATION = {
|
|
className: "function",
|
|
begin: /:[\w\-.]+/,
|
|
relevance: 0
|
|
};
|
|
const PATH = {
|
|
className: "string",
|
|
begin: /\B([\/.])[\w\-.\/=]+/
|
|
};
|
|
const COMMAND_PARAMS = {
|
|
className: "params",
|
|
begin: /--[\w\-=\/]+/
|
|
};
|
|
return {
|
|
name: "JBoss CLI",
|
|
aliases: ["wildfly-cli"],
|
|
keywords: {
|
|
$pattern: "[a-z-]+",
|
|
keyword: "alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",
|
|
// module
|
|
literal: "true false"
|
|
},
|
|
contains: [
|
|
hljs.HASH_COMMENT_MODE,
|
|
hljs.QUOTE_STRING_MODE,
|
|
COMMAND_PARAMS,
|
|
OPERATION,
|
|
PATH,
|
|
PARAMSBLOCK
|
|
]
|
|
};
|
|
}
|
|
module.exports = jbossCli;
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_jboss_cli
|
|
};
|
|
//# sourceMappingURL=chunk-24NRHYXX.js.map
|