1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/cal.js"],"names":["module","exports","hljs","KEYWORDS","COMMENT_MODES","C_LINE_COMMENT_MODE","COMMENT","relevance","STRING","className","begin","end","contains","CHAR_STRING","PROCEDURE","beginKeywords","keywords","TITLE_MODE","concat","OBJECT","returnBegin","case_insensitive","keyword","literal","illegal","NUMBER_MODE"],"mappings":"oFAAAA,EAAOC,QAAU,SAASC,GACxB,IAAIC,EACF,yHAGEC,EAAgB,CAClBF,EAAKG,oBACLH,EAAKI,QACH,KACA,KACA,CACEC,UAAW,IAGfL,EAAKI,QACH,OACA,OACA,CACEC,UAAW,MAIbC,EAAS,CACXC,UAAW,SACXC,MAAO,IAAKC,IAAK,IACjBC,SAAU,CAAC,CAACF,MAAO,QAEjBG,EAAc,CAChBJ,UAAW,SAAUC,MAAO,WAa1BI,EAAY,CACdL,UAAW,WACXM,cAAe,YAAaJ,IAAK,OACjCK,SAAU,eACVJ,SAAU,CACRV,EAAKe,WACL,CACER,UAAW,SACXC,MAAO,KAAMC,IAAK,KAClBK,SAAUb,EACVS,SAAU,CAACJ,EAAQK,KAErBK,OAAOd,IAGPe,EAAS,CACXV,UAAW,QACXC,MAAO,gGACPU,aAAa,EACbR,SAAU,CACRV,EAAKe,WACHH,IAIN,MAAO,CACLO,kBAAkB,EAClBL,SAAU,CAAEM,QAASnB,EAAUoB,QAhElB,cAiEbC,QAAS,OACTZ,SAAU,CACRJ,EAAQK,EAzCD,CACPJ,UAAW,SACXC,MAAO,4BACPH,UAAW,GAEW,CACtBE,UAAW,SACXC,MAAO,IACPC,IAAK,KAmCLT,EAAKuB,YACLN,EACAL","file":"highlight/cal.js?v=7d2a23179d9b97aab231","sourcesContent":["module.exports = function(hljs) {\n var KEYWORDS =\n 'div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to ' +\n 'until while with var';\n var LITERALS = 'false true';\n var COMMENT_MODES = [\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT(\n /\\{/,\n /\\}/,\n {\n relevance: 0\n }\n ),\n hljs.COMMENT(\n /\\(\\*/,\n /\\*\\)/,\n {\n relevance: 10\n }\n )\n ];\n var STRING = {\n className: 'string',\n begin: /'/, end: /'/,\n contains: [{begin: /''/}]\n };\n var CHAR_STRING = {\n className: 'string', begin: /(#\\d+)+/\n };\n var DATE = {\n className: 'number',\n begin: '\\\\b\\\\d+(\\\\.\\\\d+)?(DT|D|T)',\n relevance: 0\n };\n var 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 var PROCEDURE = {\n className: 'function',\n beginKeywords: 'procedure', end: /[:;]/,\n keywords: 'procedure|10',\n contains: [\n hljs.TITLE_MODE,\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n keywords: KEYWORDS,\n contains: [STRING, CHAR_STRING]\n }\n ].concat(COMMENT_MODES)\n };\n\n var OBJECT = {\n className: 'class',\n begin: 'OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\\\d+) ([^\\\\r\\\\n]+)',\n returnBegin: true,\n contains: [\n hljs.TITLE_MODE,\n PROCEDURE\n ]\n };\n\n return {\n case_insensitive: true,\n keywords: { keyword: KEYWORDS, literal: LITERALS },\n illegal: /\\/\\*/,\n contains: [\n STRING, CHAR_STRING,\n DATE, DBL_QUOTED_VARIABLE,\n hljs.NUMBER_MODE,\n OBJECT,\n PROCEDURE\n ]\n };\n};"],"sourceRoot":""}
|