1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/scilab.js"],"names":["module","exports","hljs","COMMON_CONTAINS","C_NUMBER_MODE","className","begin","end","contains","BACKSLASH_ESCAPE","aliases","lexemes","keywords","keyword","literal","built_in","illegal","beginKeywords","UNDERSCORE_TITLE_MODE","relevance","COMMENT","concat"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GAExB,IAAIC,EAAkB,CACpBD,EAAKE,cACL,CACEC,UAAW,SACXC,MAAO,OAASC,IAAK,OACrBC,SAAU,CAACN,EAAKO,iBAAkB,CAACH,MAAO,SAI9C,MAAO,CACLI,QAAS,CAAC,OACVC,QAAS,QACTC,SAAU,CACRC,QAAS,wIAETC,QACE,6CACFC,SACC,4bAOHC,QAAS,uBACTR,SAAU,CACR,CACEH,UAAW,WACXY,cAAe,WAAYV,IAAK,IAChCC,SAAU,CACRN,EAAKgB,sBACL,CACEb,UAAW,SACXC,MAAO,MAAOC,IAAK,SAIzB,CACED,MAAO,4CAAgDC,IAAK,GAC5DY,UAAW,GAEb,CACEb,MAAO,MAAOC,IAAK,eACnBY,UAAW,EACXX,SAAUL,GAEZD,EAAKkB,QAAQ,KAAM,MACnBC,OAAOlB","file":"highlight/scilab.js?v=869c24f0d29d495f79f8","sourcesContent":["module.exports = function(hljs) {\n\n var COMMON_CONTAINS = [\n hljs.C_NUMBER_MODE,\n {\n className: 'string',\n begin: '\\'|\\\"', end: '\\'|\\\"',\n contains: [hljs.BACKSLASH_ESCAPE, {begin: '\\'\\''}]\n }\n ];\n\n return {\n aliases: ['sci'],\n lexemes: /%?\\w+/,\n keywords: {\n keyword: 'abort break case clear catch continue do elseif else endfunction end for function '+\n 'global if pause return resume select try then while',\n literal:\n '%f %F %t %T %pi %eps %inf %nan %e %i %z %s',\n built_in: // Scilab has more than 2000 functions. Just list the most commons\n 'abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error '+\n 'exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty '+\n 'isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log '+\n 'max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real '+\n 'round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan '+\n 'type typename warning zeros matrix'\n },\n illegal: '(\"|#|/\\\\*|\\\\s+/\\\\w+)',\n contains: [\n {\n className: 'function',\n beginKeywords: 'function', end: '$',\n contains: [\n hljs.UNDERSCORE_TITLE_MODE,\n {\n className: 'params',\n begin: '\\\\(', end: '\\\\)'\n }\n ]\n },\n {\n begin: '[a-zA-Z_][a-zA-Z_0-9]*(\\'+[\\\\.\\']*|[\\\\.\\']+)', end: '',\n relevance: 0\n },\n {\n begin: '\\\\[', end: '\\\\]\\'*[\\\\.\\']*',\n relevance: 0,\n contains: COMMON_CONTAINS\n },\n hljs.COMMENT('//', '$')\n ].concat(COMMON_CONTAINS)\n };\n};"],"sourceRoot":""}
|