text/js/flix-Do8kk_hP.chunk.mjs.map

1 строка
2.1 KiB
Plaintext

{"version":3,"file":"flix-Do8kk_hP.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/flix.js"],"sourcesContent":["/*\n Language: Flix\n Category: functional\n Author: Magnus Madsen <mmadsen@uwaterloo.ca>\n Website: https://flix.dev/\n */\n\n/** @type LanguageFn */\nfunction flix(hljs) {\n const CHAR = {\n className: 'string',\n begin: /'(.|\\\\[xXuU][a-zA-Z0-9]+)'/\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"',\n end: '\"'\n }\n ]\n };\n\n const NAME = {\n className: 'title',\n relevance: 0,\n begin: /[^0-9\\n\\t \"'(),.`{}\\[\\]:;][^\\n\\t \"'(),.`{}\\[\\]:;]+|[^0-9\\n\\t \"'(),.`{}\\[\\]:;=]/\n };\n\n const METHOD = {\n className: 'function',\n beginKeywords: 'def',\n end: /[:={\\[(\\n;]/,\n excludeEnd: true,\n contains: [ NAME ]\n };\n\n return {\n name: 'Flix',\n keywords: {\n keyword: [\n \"case\",\n \"class\",\n \"def\",\n \"else\",\n \"enum\",\n \"if\",\n \"impl\",\n \"import\",\n \"in\",\n \"lat\",\n \"rel\",\n \"index\",\n \"let\",\n \"match\",\n \"namespace\",\n \"switch\",\n \"type\",\n \"yield\",\n \"with\"\n ],\n literal: [\n \"true\",\n \"false\"\n ]\n },\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n CHAR,\n STRING,\n METHOD,\n hljs.C_NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = flix;\n"],"names":["flix","hljs","CHAR","STRING","METHOD","flix_1"],"mappings":";4YAQA,SAASA,EAAKC,EAAM,CAClB,MAAMC,EAAO,CACX,UAAW,SACX,MAAO,4BACX,EAEQC,EAAS,CACb,UAAW,SACX,SAAU,CACR,CACE,MAAO,IACP,IAAK,GACN,CACF,CACL,EAQQC,EAAS,CACb,UAAW,WACX,cAAe,MACf,IAAK,cACL,WAAY,GACZ,SAAU,CAXC,CACX,UAAW,QACX,UAAW,EACX,MAAO,gFACX,CAOsB,CACtB,EAEE,MAAO,CACL,KAAM,OACN,SAAU,CACR,QAAS,CACP,OACA,QACA,MACA,OACA,OACA,KACA,OACA,SACA,KACA,MACA,MACA,QACA,MACA,QACA,YACA,SACA,OACA,QACA,MACD,EACD,QAAS,CACP,OACA,OACD,CACF,EACD,SAAU,CACRH,EAAK,oBACLA,EAAK,qBACLC,EACAC,EACAC,EACAH,EAAK,aACN,CACL,CACA,CAEA,IAAAI,EAAiBL","x_google_ignoreList":[0]}