%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/prolog-CmVWxlpB.chunk.mjs.map |
{"version":3,"file":"prolog-CmVWxlpB.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/prolog.js"],"sourcesContent":["/*\nLanguage: Prolog\nDescription: Prolog is a general purpose logic programming language associated with artificial intelligence and computational linguistics.\nAuthor: Raivo Laanemets <raivo@infdot.com>\nWebsite: https://en.wikipedia.org/wiki/Prolog\nCategory: functional\n*/\n\nfunction prolog(hljs) {\n const ATOM = {\n\n begin: /[a-z][A-Za-z0-9_]*/,\n relevance: 0\n };\n\n const VAR = {\n\n className: 'symbol',\n variants: [\n { begin: /[A-Z][a-zA-Z0-9_]*/ },\n { begin: /_[A-Za-z0-9_]*/ }\n ],\n relevance: 0\n };\n\n const PARENTED = {\n\n begin: /\\(/,\n end: /\\)/,\n relevance: 0\n };\n\n const LIST = {\n\n begin: /\\[/,\n end: /\\]/\n };\n\n const LINE_COMMENT = {\n\n className: 'comment',\n begin: /%/,\n end: /$/,\n contains: [ hljs.PHRASAL_WORDS_MODE ]\n };\n\n const BACKTICK_STRING = {\n\n className: 'string',\n begin: /`/,\n end: /`/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n };\n\n const CHAR_CODE = {\n className: 'string', // 0'a etc.\n begin: /0'(\\\\'|.)/\n };\n\n const SPACE_CODE = {\n className: 'string',\n begin: /0'\\\\s/ // 0'\\s\n };\n\n const PRED_OP = { // relevance booster\n begin: /:-/ };\n\n const inner = [\n\n ATOM,\n VAR,\n PARENTED,\n PRED_OP,\n LIST,\n LINE_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n BACKTICK_STRING,\n CHAR_CODE,\n SPACE_CODE,\n hljs.C_NUMBER_MODE\n ];\n\n PARENTED.contains = inner;\n LIST.contains = inner;\n\n return {\n name: 'Prolog',\n contains: inner.concat([\n { // relevance booster\n begin: /\\.$/ }\n ])\n };\n}\n\nmodule.exports = prolog;\n"],"names":["prolog","hljs","ATOM","VAR","PARENTED","LIST","LINE_COMMENT","BACKTICK_STRING","CHAR_CODE","SPACE_CODE","inner","prolog_1"],"mappings":";4YAQA,SAASA,EAAOC,EAAM,CACpB,MAAMC,EAAO,CAEX,MAAO,qBACP,UAAW,CACf,EAEQC,EAAM,CAEV,UAAW,SACX,SAAU,CACR,CAAE,MAAO,oBAAsB,EAC/B,CAAE,MAAO,gBAAkB,CAC5B,EACD,UAAW,CACf,EAEQC,EAAW,CAEf,MAAO,KACP,IAAK,KACL,UAAW,CACf,EAEQC,EAAO,CAEX,MAAO,KACP,IAAK,IACT,EAEQC,EAAe,CAEnB,UAAW,UACX,MAAO,IACP,IAAK,IACL,SAAU,CAAEL,EAAK,kBAAoB,CACzC,EAEQM,EAAkB,CAEtB,UAAW,SACX,MAAO,IACP,IAAK,IACL,SAAU,CAAEN,EAAK,gBAAkB,CACvC,EAEQO,EAAY,CAChB,UAAW,SACX,MAAO,WACX,EAEQC,EAAa,CACjB,UAAW,SACX,MAAO,OACX,EAKQC,EAAQ,CAEZR,EACAC,EACAC,EAPc,CACd,MAAO,IAAI,EAQXC,EACAC,EACAL,EAAK,qBACLA,EAAK,kBACLA,EAAK,iBACLM,EACAC,EACAC,EACAR,EAAK,aACT,EAEE,OAAAG,EAAS,SAAWM,EACpBL,EAAK,SAAWK,EAET,CACL,KAAM,SACN,SAAUA,EAAM,OAAO,CACrB,CACE,MAAO,KAAO,CACtB,CAAK,CACL,CACA,CAEA,IAAAC,EAAiBX","x_google_ignoreList":[0]}