%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/nix-T056vdX3.chunk.mjs.map |
{"version":3,"file":"nix-T056vdX3.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/nix.js"],"sourcesContent":["/*\nLanguage: Nix\nAuthor: Domen Kožar <domen@dev.si>\nDescription: Nix functional language\nWebsite: http://nixos.org/nix\nCategory: system\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"],"names":["nix","hljs","KEYWORDS","ANTIQUOTE","ESCAPED_DOLLAR","ATTRS","STRING","EXPRESSIONS","nix_1"],"mappings":";4YAQA,SAASA,EAAIC,EAAM,CACjB,MAAMC,EAAW,CACf,QAAS,CACP,MACA,OACA,MACA,KACA,UACA,SACA,KACA,OACA,MACD,EACD,QAAS,CACP,OACA,QACA,KACA,MACA,MACD,EACD,SAAU,CACR,SACA,QACA,aACA,QACA,SACA,WACA,MACA,cACA,QACA,WACA,YACD,CACL,EACQC,EAAY,CAChB,UAAW,QACX,MAAO,OACP,IAAK,KACL,SAAUD,CACd,EACQE,EAAiB,CACrB,UAAW,cACX,MAAO,MACX,EACQC,EAAQ,CACZ,MAAO,uBACP,YAAa,GACb,UAAW,EACX,SAAU,CACR,CACE,UAAW,OACX,MAAO,MACP,UAAW,EACZ,CACF,CACL,EACQC,EAAS,CACb,UAAW,SACX,SAAU,CAAEF,EAAgBD,CAAW,EACvC,SAAU,CACR,CACE,MAAO,KACP,IAAK,IACN,EACD,CACE,MAAO,IACP,IAAK,GACN,CACF,CACL,EACQI,EAAc,CAClBN,EAAK,YACLA,EAAK,kBACLA,EAAK,qBACLK,EACAD,CACJ,EACE,OAAAF,EAAU,SAAWI,EACd,CACL,KAAM,MACN,QAAS,CAAE,OAAS,EACpB,SAAUL,EACV,SAAUK,CACd,CACA,CAEA,IAAAC,EAAiBR","x_google_ignoreList":[0]}