1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/matlab.js"],"names":["module","exports","hljs","TRANSPOSE","relevance","contains","begin","keywords","keyword","built_in","illegal","className","beginKeywords","end","UNDERSCORE_TITLE_MODE","variants","starts","C_NUMBER_RE","BACKSLASH_ESCAPE","COMMENT"],"mappings":"qFAAAA,EAAOC,QAIP,SAASC,GAEP,IACIC,EAAY,CACdC,UAAW,EACXC,SAAU,CACR,CAAEC,MAJa,eAQnB,MAAO,CACLC,SAAU,CACRC,QACE,0KAEFC,SACE,kwCAiBJC,QAAS,0BACTL,SAAU,CACR,CACEM,UAAW,WACXC,cAAe,WAAYC,IAAK,IAChCR,SAAU,CACRH,EAAKY,sBACL,CACEH,UAAW,SACXI,SAAU,CACR,CAACT,MAAO,MAAOO,IAAK,OACpB,CAACP,MAAO,MAAOO,IAAK,WAK5B,CACEF,UAAW,WACXL,MAAO,aACPF,UAAW,EACXY,OAAQb,GAEV,CACEG,MAAO,iCACPF,UAAW,GAEb,CACEO,UAAW,SACXL,MAAOJ,EAAKe,YACZb,UAAW,EACXY,OAAQb,GAEV,CACEQ,UAAW,SACXL,MAAO,IAAMO,IAAK,IAClBR,SAAU,CACRH,EAAKgB,iBACL,CAACZ,MAAO,QAEZ,CACEA,MAAO,UACPF,UAAW,EACXY,OAAQb,GAEV,CACEQ,UAAW,SACXL,MAAO,IAAKO,IAAK,IACjBR,SAAU,CACRH,EAAKgB,iBACL,CAACZ,MAAO,OAEVU,OAAQb,GAEVD,EAAKiB,QAAQ,mBAAoB,oBACjCjB,EAAKiB,QAAQ,MAAO","file":"highlight/matlab.js?v=4e5b3834667bc67d5f30","sourcesContent":["module.exports = /*\n Formal syntax is not published, helpful link:\n https://github.com/kornilova-l/matlab-IntelliJ-plugin/blob/master/src/main/grammar/Matlab.bnf\n*/\nfunction(hljs) {\n\n var TRANSPOSE_RE = '(\\'|\\\\.\\')+';\n var TRANSPOSE = {\n relevance: 0,\n contains: [\n { begin: TRANSPOSE_RE }\n ]\n };\n\n return {\n keywords: {\n keyword:\n 'break case catch classdef continue else elseif end enumerated events for function ' +\n 'global if methods otherwise parfor persistent properties return spmd switch try while',\n built_in:\n 'sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan ' +\n 'atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot ' +\n 'cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog ' +\n 'realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal ' +\n 'cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli ' +\n 'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma ' +\n 'gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms ' +\n 'nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones ' +\n 'eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ' +\n 'ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril ' +\n 'triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute ' +\n 'shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan ' +\n 'isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal ' +\n 'rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table ' +\n 'readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun ' +\n 'legend intersect ismember procrustes hold num2cell '\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 variants: [\n {begin: '\\\\(', end: '\\\\)'},\n {begin: '\\\\[', end: '\\\\]'}\n ]\n }\n ]\n },\n {\n className: 'built_in',\n begin: /true|false/,\n relevance: 0,\n starts: TRANSPOSE\n },\n {\n begin: '[a-zA-Z][a-zA-Z_0-9]*' + TRANSPOSE_RE,\n relevance: 0\n },\n {\n className: 'number',\n begin: hljs.C_NUMBER_RE,\n relevance: 0,\n starts: TRANSPOSE\n },\n {\n className: 'string',\n begin: '\\'', end: '\\'',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n {begin: '\\'\\''}]\n },\n {\n begin: /\\]|}|\\)/,\n relevance: 0,\n starts: TRANSPOSE\n },\n {\n className: 'string',\n begin: '\"', end: '\"',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n {begin: '\"\"'}\n ],\n starts: TRANSPOSE\n },\n hljs.COMMENT('^\\\\s*\\\\%\\\\{\\\\s*$', '^\\\\s*\\\\%\\\\}\\\\s*$'),\n hljs.COMMENT('\\\\%', '$')\n ]\n };\n};"],"sourceRoot":""}
|