mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 22:08:16 +08:00
42 lines
2.3 KiB
JavaScript
42 lines
2.3 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/refractor/lang/io.js
|
|
var require_io = __commonJS({
|
|
"node_modules/refractor/lang/io.js"(exports, module) {
|
|
module.exports = io;
|
|
io.displayName = "io";
|
|
io.aliases = [];
|
|
function io(Prism) {
|
|
Prism.languages.io = {
|
|
comment: {
|
|
pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,
|
|
lookbehind: true,
|
|
greedy: true
|
|
},
|
|
"triple-quoted-string": {
|
|
pattern: /"""(?:\\[\s\S]|(?!""")[^\\])*"""/,
|
|
greedy: true,
|
|
alias: "string"
|
|
},
|
|
string: {
|
|
pattern: /"(?:\\.|[^\\\r\n"])*"/,
|
|
greedy: true
|
|
},
|
|
keyword: /\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,
|
|
builtin: /\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,
|
|
boolean: /\b(?:false|nil|true)\b/,
|
|
number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,
|
|
operator: /[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,
|
|
punctuation: /[{}[\];(),.:]/
|
|
};
|
|
}
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_io
|
|
};
|
|
//# sourceMappingURL=chunk-AGA2MGHX.js.map
|