55 lines
2.0 KiB
JavaScript
55 lines
2.0 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 786420
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
(e.languages.cfscript = e.languages.extend("clike", {
|
|
comment: [
|
|
{
|
|
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
lookbehind: !0,
|
|
inside: {
|
|
annotation: {
|
|
pattern: /(?:^|[^.])@[\w\.]+/,
|
|
alias: "punctuation",
|
|
},
|
|
},
|
|
},
|
|
{ pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 },
|
|
],
|
|
keyword:
|
|
/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,
|
|
operator: [
|
|
/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,
|
|
/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/,
|
|
],
|
|
scope: {
|
|
pattern:
|
|
/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,
|
|
alias: "global",
|
|
},
|
|
type: {
|
|
pattern:
|
|
/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,
|
|
alias: "builtin",
|
|
},
|
|
})),
|
|
e.languages.insertBefore("cfscript", "keyword", {
|
|
"function-variable": {
|
|
pattern:
|
|
/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
|
|
alias: "function",
|
|
},
|
|
}),
|
|
delete e.languages.cfscript["class-name"],
|
|
(e.languages.cfc = e.languages.cfscript);
|
|
}
|
|
(t.exports = r), (r.displayName = "cfscript"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|