mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 05:58:15 +08:00
36 lines
1.4 KiB
JavaScript
36 lines
1.4 KiB
JavaScript
|
import {
|
||
|
__commonJS
|
||
|
} from "./chunk-2TUXWMP5.js";
|
||
|
|
||
|
// node_modules/refractor/lang/actionscript.js
|
||
|
var require_actionscript = __commonJS({
|
||
|
"node_modules/refractor/lang/actionscript.js"(exports, module) {
|
||
|
module.exports = actionscript;
|
||
|
actionscript.displayName = "actionscript";
|
||
|
actionscript.aliases = [];
|
||
|
function actionscript(Prism) {
|
||
|
Prism.languages.actionscript = Prism.languages.extend("javascript", {
|
||
|
keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,
|
||
|
operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/
|
||
|
});
|
||
|
Prism.languages.actionscript["class-name"].alias = "function";
|
||
|
delete Prism.languages.actionscript["parameter"];
|
||
|
delete Prism.languages.actionscript["literal-property"];
|
||
|
if (Prism.languages.markup) {
|
||
|
Prism.languages.insertBefore("actionscript", "string", {
|
||
|
xml: {
|
||
|
pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,
|
||
|
lookbehind: true,
|
||
|
inside: Prism.languages.markup
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export {
|
||
|
require_actionscript
|
||
|
};
|
||
|
//# sourceMappingURL=chunk-LLTUN3HQ.js.map
|