mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 22:08:16 +08:00
51 lines
1.2 KiB
JavaScript
51 lines
1.2 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/highlight.js/lib/languages/profile.js
|
|
var require_profile = __commonJS({
|
|
"node_modules/highlight.js/lib/languages/profile.js"(exports, module) {
|
|
function profile(hljs) {
|
|
return {
|
|
name: "Python profiler",
|
|
contains: [
|
|
hljs.C_NUMBER_MODE,
|
|
{
|
|
begin: "[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",
|
|
end: ":",
|
|
excludeEnd: true
|
|
},
|
|
{
|
|
begin: "(ncalls|tottime|cumtime)",
|
|
end: "$",
|
|
keywords: "ncalls tottime|10 cumtime|10 filename",
|
|
relevance: 10
|
|
},
|
|
{
|
|
begin: "function calls",
|
|
end: "$",
|
|
contains: [hljs.C_NUMBER_MODE],
|
|
relevance: 10
|
|
},
|
|
hljs.APOS_STRING_MODE,
|
|
hljs.QUOTE_STRING_MODE,
|
|
{
|
|
className: "string",
|
|
begin: "\\(",
|
|
end: "\\)$",
|
|
excludeBegin: true,
|
|
excludeEnd: true,
|
|
relevance: 0
|
|
}
|
|
]
|
|
};
|
|
}
|
|
module.exports = profile;
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_profile
|
|
};
|
|
//# sourceMappingURL=chunk-6NL7OSV2.js.map
|