68 lines
2.2 KiB
JavaScript
68 lines
2.2 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 872055
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
(e.languages.dhall = {
|
|
comment:
|
|
/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,
|
|
string: {
|
|
pattern: /"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,
|
|
greedy: !0,
|
|
inside: {
|
|
interpolation: {
|
|
pattern: /\$\{[^{}]*\}/,
|
|
inside: {
|
|
expression: {
|
|
pattern: /(^\$\{)[\s\S]+(?=\}$)/,
|
|
lookbehind: !0,
|
|
alias: "language-dhall",
|
|
inside: null,
|
|
},
|
|
punctuation: /\$\{|\}/,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
label: { pattern: /`[^`]*`/, greedy: !0 },
|
|
url: {
|
|
pattern:
|
|
/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,
|
|
greedy: !0,
|
|
},
|
|
env: {
|
|
pattern: /\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,
|
|
greedy: !0,
|
|
inside: { function: /^env/, operator: /^:/, variable: /[\s\S]+/ },
|
|
},
|
|
hash: {
|
|
pattern: /\bsha256:[\da-fA-F]{64}\b/,
|
|
inside: {
|
|
function: /sha256/,
|
|
operator: /:/,
|
|
number: /[\da-fA-F]{64}/,
|
|
},
|
|
},
|
|
keyword:
|
|
/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,
|
|
builtin: /\b(?:None|Some)\b/,
|
|
boolean: /\b(?:False|True)\b/,
|
|
number:
|
|
/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,
|
|
operator:
|
|
/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,
|
|
punctuation: /\.\.|[{}\[\](),./]/,
|
|
"class-name": /\b[A-Z]\w*\b/,
|
|
}),
|
|
(e.languages.dhall.string.inside.interpolation.inside.expression.inside =
|
|
e.languages.dhall);
|
|
}
|
|
(t.exports = r), (r.displayName = "dhall"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|