%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/nim-B_Hi5bd9.chunk.mjs.map |
{"version":3,"file":"nim-B_Hi5bd9.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/nim.js"],"sourcesContent":["/*\nLanguage: Nim\nDescription: Nim is a statically typed compiled systems programming language.\nWebsite: https://nim-lang.org\nCategory: system\n*/\n\nfunction nim(hljs) {\n const TYPES = [\n \"int\",\n \"int8\",\n \"int16\",\n \"int32\",\n \"int64\",\n \"uint\",\n \"uint8\",\n \"uint16\",\n \"uint32\",\n \"uint64\",\n \"float\",\n \"float32\",\n \"float64\",\n \"bool\",\n \"char\",\n \"string\",\n \"cstring\",\n \"pointer\",\n \"expr\",\n \"stmt\",\n \"void\",\n \"auto\",\n \"any\",\n \"range\",\n \"array\",\n \"openarray\",\n \"varargs\",\n \"seq\",\n \"set\",\n \"clong\",\n \"culong\",\n \"cchar\",\n \"cschar\",\n \"cshort\",\n \"cint\",\n \"csize\",\n \"clonglong\",\n \"cfloat\",\n \"cdouble\",\n \"clongdouble\",\n \"cuchar\",\n \"cushort\",\n \"cuint\",\n \"culonglong\",\n \"cstringarray\",\n \"semistatic\"\n ];\n const KEYWORDS = [\n \"addr\",\n \"and\",\n \"as\",\n \"asm\",\n \"bind\",\n \"block\",\n \"break\",\n \"case\",\n \"cast\",\n \"const\",\n \"continue\",\n \"converter\",\n \"discard\",\n \"distinct\",\n \"div\",\n \"do\",\n \"elif\",\n \"else\",\n \"end\",\n \"enum\",\n \"except\",\n \"export\",\n \"finally\",\n \"for\",\n \"from\",\n \"func\",\n \"generic\",\n \"guarded\",\n \"if\",\n \"import\",\n \"in\",\n \"include\",\n \"interface\",\n \"is\",\n \"isnot\",\n \"iterator\",\n \"let\",\n \"macro\",\n \"method\",\n \"mixin\",\n \"mod\",\n \"nil\",\n \"not\",\n \"notin\",\n \"object\",\n \"of\",\n \"or\",\n \"out\",\n \"proc\",\n \"ptr\",\n \"raise\",\n \"ref\",\n \"return\",\n \"shared\",\n \"shl\",\n \"shr\",\n \"static\",\n \"template\",\n \"try\",\n \"tuple\",\n \"type\",\n \"using\",\n \"var\",\n \"when\",\n \"while\",\n \"with\",\n \"without\",\n \"xor\",\n \"yield\"\n ];\n const BUILT_INS = [\n \"stdin\",\n \"stdout\",\n \"stderr\",\n \"result\"\n ];\n const LITERALS = [\n \"true\",\n \"false\"\n ];\n return {\n name: 'Nim',\n keywords: {\n keyword: KEYWORDS,\n literal: LITERALS,\n type: TYPES,\n built_in: BUILT_INS\n },\n contains: [\n {\n className: 'meta', // Actually pragma\n begin: /\\{\\./,\n end: /\\.\\}/,\n relevance: 10\n },\n {\n className: 'string',\n begin: /[a-zA-Z]\\w*\"/,\n end: /\"/,\n contains: [ { begin: /\"\"/ } ]\n },\n {\n className: 'string',\n begin: /([a-zA-Z]\\w*)?\"\"\"/,\n end: /\"\"\"/\n },\n hljs.QUOTE_STRING_MODE,\n {\n className: 'type',\n begin: /\\b[A-Z]\\w+\\b/,\n relevance: 0\n },\n {\n className: 'number',\n relevance: 0,\n variants: [\n { begin: /\\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/ },\n { begin: /\\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/ },\n { begin: /\\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/ },\n { begin: /\\b(\\d[_\\d]*)('?[iIuUfF](8|16|32|64))?/ }\n ]\n },\n hljs.HASH_COMMENT_MODE\n ]\n };\n}\n\nmodule.exports = nim;\n"],"names":["nim","hljs","nim_1"],"mappings":";4YAOA,SAASA,EAAIC,EAAM,CAkIjB,MAAO,CACL,KAAM,MACN,SAAU,CACR,QApFa,CACf,OACA,MACA,KACA,MACA,OACA,QACA,QACA,OACA,OACA,QACA,WACA,YACA,UACA,WACA,MACA,KACA,OACA,OACA,MACA,OACA,SACA,SACA,UACA,MACA,OACA,OACA,UACA,UACA,KACA,SACA,KACA,UACA,YACA,KACA,QACA,WACA,MACA,QACA,SACA,QACA,MACA,MACA,MACA,QACA,SACA,KACA,KACA,MACA,OACA,MACA,QACA,MACA,SACA,SACA,MACA,MACA,SACA,WACA,MACA,QACA,OACA,QACA,MACA,OACA,QACA,OACA,UACA,MACA,OACJ,EAeM,QARa,CACf,OACA,OACJ,EAMM,KAtIU,CACZ,MACA,OACA,QACA,QACA,QACA,OACA,QACA,SACA,SACA,SACA,QACA,UACA,UACA,OACA,OACA,SACA,UACA,UACA,OACA,OACA,OACA,OACA,MACA,QACA,QACA,YACA,UACA,MACA,MACA,QACA,SACA,QACA,SACA,SACA,OACA,QACA,YACA,SACA,UACA,cACA,SACA,UACA,QACA,aACA,eACA,YACJ,EAwFM,SAhBc,CAChB,QACA,SACA,SACA,QACJ,CAYK,EACD,SAAU,CACR,CACE,UAAW,OACX,MAAO,OACP,IAAK,OACL,UAAW,EACZ,EACD,CACE,UAAW,SACX,MAAO,eACP,IAAK,IACL,SAAU,CAAE,CAAE,MAAO,KAAQ,CAC9B,EACD,CACE,UAAW,SACX,MAAO,oBACP,IAAK,KACN,EACDA,EAAK,kBACL,CACE,UAAW,OACX,MAAO,eACP,UAAW,CACZ,EACD,CACE,UAAW,SACX,UAAW,EACX,SAAU,CACR,CAAE,MAAO,0DAA4D,EACrE,CAAE,MAAO,6CAA+C,EACxD,CAAE,MAAO,+CAAiD,EAC1D,CAAE,MAAO,uCAAyC,CACnD,CACF,EACDA,EAAK,iBACN,CACL,CACA,CAEA,IAAAC,EAAiBF","x_google_ignoreList":[0]}