1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/dos.js"],"names":["module","exports","hljs","COMMENT","relevance","aliases","case_insensitive","illegal","keywords","keyword","built_in","contains","className","begin","end","inherit","TITLE_MODE"],"mappings":"oFAAAA,EAAOC,QAAU,SAASC,GACxB,IAAIC,EAAUD,EAAKC,QACjB,cAAe,IACf,CACEC,UAAW,KAQf,MAAO,CACLC,QAAS,CAAC,MAAO,OACjBC,kBAAkB,EAClBC,QAAS,OACTC,SAAU,CACRC,QACE,wFAEFC,SACE,mfAUJC,SAAU,CACR,CACEC,UAAW,WAAYC,MAAO,4BAEhC,CACED,UAAW,WACXC,MA5BG,mDA4BiBC,IAAK,WACzBH,SAAU,CACRT,EAAKa,QAAQb,EAAKc,WAAY,CAACH,MAAO,sDACtCV,IAGJ,CACES,UAAW,SAAUC,MAAO,UAC5BT,UAAW,GAEbD","file":"highlight/dos.js?v=de135c0ee509baf130f5","sourcesContent":["module.exports = function(hljs) {\n var COMMENT = hljs.COMMENT(\n /^\\s*@?rem\\b/, /$/,\n {\n relevance: 10\n }\n );\n var LABEL = {\n className: 'symbol',\n begin: '^\\\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\\\s+label)',\n relevance: 0\n };\n return {\n aliases: ['bat', 'cmd'],\n case_insensitive: true,\n illegal: /\\/\\*/,\n keywords: {\n keyword:\n 'if else goto for in do call exit not exist errorlevel defined ' +\n 'equ neq lss leq gtr geq',\n built_in:\n 'prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux ' +\n 'shift cd dir echo setlocal endlocal set pause copy ' +\n 'append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color ' +\n 'comp compact convert date dir diskcomp diskcopy doskey erase fs ' +\n 'find findstr format ftype graftabl help keyb label md mkdir mode more move path ' +\n 'pause print popd pushd promt rd recover rem rename replace restore rmdir shift' +\n 'sort start subst time title tree type ver verify vol ' +\n // winutils\n 'ping net ipconfig taskkill xcopy ren del'\n },\n contains: [\n {\n className: 'variable', begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/\n },\n {\n className: 'function',\n begin: LABEL.begin, end: 'goto:eof',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*'}),\n COMMENT\n ]\n },\n {\n className: 'number', begin: '\\\\b\\\\d+',\n relevance: 0\n },\n COMMENT\n ]\n };\n};"],"sourceRoot":""}
|