42 lines
1.5 KiB
JavaScript
42 lines
1.5 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 617359
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.dataweave = {
|
|
url: /\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,
|
|
property: {
|
|
pattern: /(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,
|
|
greedy: !0,
|
|
},
|
|
string: { pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/, greedy: !0 },
|
|
"mime-type":
|
|
/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,
|
|
date: { pattern: /\|[\w:+-]+\|/, greedy: !0 },
|
|
comment: [
|
|
{
|
|
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
},
|
|
{ pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 },
|
|
],
|
|
regex: { pattern: /\/(?:[^\\\/\r\n]|\\[^\r\n])+\//, greedy: !0 },
|
|
keyword:
|
|
/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,
|
|
function: /\b[A-Z_]\w*(?=\s*\()/i,
|
|
number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
punctuation: /[{}[\];(),.:@]/,
|
|
operator: /<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,
|
|
boolean: /\b(?:false|true)\b/,
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "dataweave"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|