%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/nix-js-js.js.map |
{"version":3,"file":"highlight/nix-js-js.js?v=31908755e85cef75c14f","mappings":"iIA6FAA,EAAOC,QAtFP,SAAaC,GACX,MAAMC,EAAW,CACfC,QAAS,CACP,MACA,OACA,MACA,KACA,UACA,SACA,KACA,OACA,QAEFC,QAAS,CACP,OACA,QACA,KACA,MACA,QAEFC,SAAU,CACR,SACA,QACA,aACA,QACA,SACA,WACA,MACA,cACA,QACA,WACA,eAGEC,EAAY,CAChBC,UAAW,QACXC,MAAO,OACPC,IAAK,KACLC,SAAUR,GAkBNS,EAAS,CACbJ,UAAW,SACXK,SAAU,CAlBW,CACrBL,UAAW,cACXC,MAAO,QAgBqBF,GAC5BO,SAAU,CACR,CACEL,MAAO,KACPC,IAAK,MAEP,CACED,MAAO,IACPC,IAAK,OAILK,EAAc,CAClBb,EAAKc,YACLd,EAAKe,kBACLf,EAAKgB,qBACLN,EA9BY,CACZH,MAAO,uBACPU,aAAa,EACbC,UAAW,EACXP,SAAU,CACR,CACEL,UAAW,OACXC,MAAO,MACPW,UAAW,OA0BjB,OADAb,EAAUM,SAAWE,EACd,CACLM,KAAM,MACNC,QAAS,CAAE,SACXX,SAAUR,EACVU,SAAUE,EAEd,C,mBC3FA,SAASQ,IACAA,EAAYC,SACfD,EAAYC,QAAS,EACrBC,QAAQC,IACN,+JAGN,CACAH,GACEvB,EAAOC,QAAU,EAAjB,M","sources":["webpack:///text/node_modules/highlight.js/lib/languages/nix.js","webpack:///text/node_modules/highlight.js/lib/languages/nix.js.js"],"sourcesContent":["/*\nLanguage: Nix\nAuthor: Domen Kožar <domen@dev.si>\nDescription: Nix functional language\nWebsite: http://nixos.org/nix\n*/\n\nfunction nix(hljs) {\n const KEYWORDS = {\n keyword: [\n \"rec\",\n \"with\",\n \"let\",\n \"in\",\n \"inherit\",\n \"assert\",\n \"if\",\n \"else\",\n \"then\"\n ],\n literal: [\n \"true\",\n \"false\",\n \"or\",\n \"and\",\n \"null\"\n ],\n built_in: [\n \"import\",\n \"abort\",\n \"baseNameOf\",\n \"dirOf\",\n \"isNull\",\n \"builtins\",\n \"map\",\n \"removeAttrs\",\n \"throw\",\n \"toString\",\n \"derivation\"\n ]\n };\n const ANTIQUOTE = {\n className: 'subst',\n begin: /\\$\\{/,\n end: /\\}/,\n keywords: KEYWORDS\n };\n const ESCAPED_DOLLAR = {\n className: 'char.escape',\n begin: /''\\$/,\n };\n const ATTRS = {\n begin: /[a-zA-Z0-9-_]+(\\s*=)/,\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n className: 'attr',\n begin: /\\S+/,\n relevance: 0.2\n }\n ]\n };\n const STRING = {\n className: 'string',\n contains: [ ESCAPED_DOLLAR, ANTIQUOTE ],\n variants: [\n {\n begin: \"''\",\n end: \"''\"\n },\n {\n begin: '\"',\n end: '\"'\n }\n ]\n };\n const EXPRESSIONS = [\n hljs.NUMBER_MODE,\n hljs.HASH_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n ATTRS\n ];\n ANTIQUOTE.contains = EXPRESSIONS;\n return {\n name: 'Nix',\n aliases: [ \"nixos\" ],\n keywords: KEYWORDS,\n contains: EXPRESSIONS\n };\n}\n\nmodule.exports = nix;\n","function emitWarning() {\n if (!emitWarning.warned) {\n emitWarning.warned = true;\n console.log(\n 'Deprecation (warning): Using file extension in specifier is deprecated, use \"highlight.js/lib/languages/nix\" instead of \"highlight.js/lib/languages/nix.js\"'\n );\n }\n }\n emitWarning();\n module.exports = require('./nix.js');"],"names":["module","exports","hljs","KEYWORDS","keyword","literal","built_in","ANTIQUOTE","className","begin","end","keywords","STRING","contains","variants","EXPRESSIONS","NUMBER_MODE","HASH_COMMENT_MODE","C_BLOCK_COMMENT_MODE","returnBegin","relevance","name","aliases","emitWarning","warned","console","log"],"sourceRoot":""}