60 lines
1.9 KiB
JavaScript
60 lines
1.9 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 162531
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
(e.languages.gap = {
|
|
shell: {
|
|
pattern: /^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,
|
|
greedy: !0,
|
|
inside: {
|
|
gap: {
|
|
pattern: /^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,
|
|
lookbehind: !0,
|
|
inside: null,
|
|
},
|
|
punctuation: /^gap>/,
|
|
},
|
|
},
|
|
comment: { pattern: /#.*/, greedy: !0 },
|
|
string: {
|
|
pattern:
|
|
/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
inside: {
|
|
continuation: {
|
|
pattern: /([\r\n])>/,
|
|
lookbehind: !0,
|
|
alias: "punctuation",
|
|
},
|
|
},
|
|
},
|
|
keyword:
|
|
/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,
|
|
boolean: /\b(?:false|true)\b/,
|
|
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
number: {
|
|
pattern:
|
|
/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,
|
|
lookbehind: !0,
|
|
},
|
|
continuation: {
|
|
pattern: /([\r\n])>/,
|
|
lookbehind: !0,
|
|
alias: "punctuation",
|
|
},
|
|
operator: /->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,
|
|
punctuation: /[()[\]{},;.:]/,
|
|
}),
|
|
(e.languages.gap.shell.inside.gap.inside = e.languages.gap);
|
|
}
|
|
(t.exports = r), (r.displayName = "gap"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|