38 lines
1.3 KiB
JavaScript
38 lines
1.3 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 542586
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.smalltalk = {
|
|
comment: { pattern: /"(?:""|[^"])*"/, greedy: !0 },
|
|
char: { pattern: /\$./, greedy: !0 },
|
|
string: { pattern: /'(?:''|[^'])*'/, greedy: !0 },
|
|
symbol: /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
|
"block-arguments": {
|
|
pattern: /(\[\s*):[^\[|]*\|/,
|
|
lookbehind: !0,
|
|
inside: { variable: /:[\da-z]+/i, punctuation: /\|/ },
|
|
},
|
|
"temporary-variables": {
|
|
pattern: /\|[^|]+\|/,
|
|
inside: { variable: /[\da-z]+/i, punctuation: /\|/ },
|
|
},
|
|
keyword: /\b(?:new|nil|self|super)\b/,
|
|
boolean: /\b(?:false|true)\b/,
|
|
number: [
|
|
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
|
/\b\d+(?:\.\d+)?(?:e-?\d+)?/,
|
|
],
|
|
operator: /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
|
punctuation: /[.;:?\[\](){}]/,
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "smalltalk"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|