37 lines
1.5 KiB
JavaScript
37 lines
1.5 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 963679
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.monkey = {
|
|
comment: { pattern: /^#Rem\s[\s\S]*?^#End|'.+/im, greedy: !0 },
|
|
string: { pattern: /"[^"\r\n]*"/, greedy: !0 },
|
|
preprocessor: {
|
|
pattern: /(^[ \t]*)#.+/m,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
alias: "property",
|
|
},
|
|
function: /\b\w+(?=\()/,
|
|
"type-char": { pattern: /\b[?%#$]/, alias: "class-name" },
|
|
number: {
|
|
pattern:
|
|
/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,
|
|
lookbehind: !0,
|
|
},
|
|
keyword:
|
|
/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,
|
|
operator:
|
|
/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,
|
|
punctuation: /[.,:;()\[\]]/,
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "monkey"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|