52 lines
1.7 KiB
JavaScript
52 lines
1.7 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 787277
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
(e.languages.turtle = {
|
|
comment: { pattern: /#.*/, greedy: !0 },
|
|
"multiline-string": {
|
|
pattern:
|
|
/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,
|
|
greedy: !0,
|
|
alias: "string",
|
|
inside: { comment: /#.*/ },
|
|
},
|
|
string: {
|
|
pattern: /"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,
|
|
greedy: !0,
|
|
},
|
|
url: {
|
|
pattern:
|
|
/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,
|
|
greedy: !0,
|
|
inside: { punctuation: /[<>]/ },
|
|
},
|
|
function: {
|
|
pattern:
|
|
/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,
|
|
inside: {
|
|
"local-name": { pattern: /([^:]*:)[\s\S]+/, lookbehind: !0 },
|
|
prefix: { pattern: /[\s\S]+/, inside: { punctuation: /:/ } },
|
|
},
|
|
},
|
|
number: /[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
|
|
punctuation: /[{}.,;()[\]]|\^\^/,
|
|
boolean: /\b(?:false|true)\b/,
|
|
keyword: [/(?:\ba|@prefix|@base)\b|=/, /\b(?:base|graph|prefix)\b/i],
|
|
tag: {
|
|
pattern: /@[a-z]+(?:-[a-z\d]+)*/i,
|
|
inside: { punctuation: /@/ },
|
|
},
|
|
}),
|
|
(e.languages.trig = e.languages.turtle);
|
|
}
|
|
(t.exports = r), (r.displayName = "turtle"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|