32 lines
1.6 KiB
JavaScript
32 lines
1.6 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 220278
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.xojo = {
|
|
comment: { pattern: /(?:'|\/\/|Rem\b).+/i, greedy: !0 },
|
|
string: { pattern: /"(?:""|[^"])*"/, greedy: !0 },
|
|
number: [
|
|
/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
|
|
/&[bchou][a-z\d]+/i,
|
|
],
|
|
directive: {
|
|
pattern: /#(?:Else|ElseIf|Endif|If|Pragma)\b/i,
|
|
alias: "property",
|
|
},
|
|
keyword:
|
|
/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,
|
|
operator:
|
|
/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,
|
|
punctuation: /[.,;:()]/,
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "xojo"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|