зеркало из https://github.com/nextcloud/text.git
1 строка
1.8 KiB
Plaintext
1 строка
1.8 KiB
Plaintext
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/flix.js"],"names":["module","exports","hljs","METHOD","className","beginKeywords","end","excludeEnd","contains","begin","name","keywords","literal","keyword","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","variants","C_NUMBER_MODE"],"mappings":"mGAoDAA,EAAOC,QA5CP,SAAcC,GACZ,IAkBMC,EAAS,CACbC,UAAW,WACXC,cAAe,MACfC,IAAK,cACLC,YAAY,EACZC,SAAU,CAVC,CACXJ,UAAW,QACXK,MAAO,oFAWT,MAAO,CACLC,KAAM,OACNC,SAAU,CACRC,QAAS,aACTC,QAAS,uGAEXL,SAAU,CACRN,EAAKY,oBACLZ,EAAKa,qBAlCI,CACXX,UAAW,SACXK,MAAO,8BAGM,CACbL,UAAW,SACXY,SAAU,CAAC,CACTP,MAAO,IACPH,IAAK,OA4BLH,EACAD,EAAKe","file":"highlight/flix.js?v=94a85e8f6af3f3c8b777","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 begin: '\"',\n end: '\"'\n }]\n };\n\n const NAME = {\n className: 'title',\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 literal: 'true false',\n keyword: 'case class def else enum if impl import in lat rel index let match namespace switch type yield with'\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"],"sourceRoot":""} |