UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

15 lines (14 loc) 1.13 kB
import { a as languages } from "../../core-8vQkh0Rd.js"; import { n as extend, r as insertBefore } from "../../language-D-vtM55V.js"; import "./turtle.js"; //#region src/prism/languages/sparql.js insertBefore(languages.rq = languages.sparql = extend("turtle", { "boolean": /\b(?:false|true)\b/i, "variable": /[?$]\w+/g }), "punctuation", { "keyword": [ /\b(?:a|add|all|as[ck]?|bnode|by|clear|construct|copy|create|data|default|delete|desc|describe|distinct|drop|exists|filter|from|group|having|insert|into|limit|load|minus|move|named|no[tw]|offset|optional|order|rand|reduced|select|separator|service|silent|struuid|union|using|uuid|values|where)\b/i, /\b(?:abs|avg|bind|[br]ound|ceil|coalesce|concat|contains|count|datatype|day|encode_for_uri|floor|group_concat|hours|if|[iu]ri|isblank|is[iu]ri|isliteral|isnumeric|lang|langmatches|[lu]case|max|md5|min|minutes|month|regex|replace|sameterm|sample|seconds|sha1|sha256|sha384|sha512|str|strafter|strbefore|strdt|strends|strlang|strlen|strstarts|substr|sum|timezone|tz|year)\b(?=\s*\()/i, /\b(?:base|graph|prefix)\b/i ] }); //#endregion //# sourceMappingURL=sparql.js.map