Liferay.Loader.define("journal-web$codemirror@5.65.2/mode/mumps/mumps",["module","exports","require","../../lib/codemirror"],(function(e,t,o){var r,n=void 0;window;r=function(e){"use strict";e.defineMode("mumps",(function(){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var e=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),t=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),o=new RegExp("^[\\.,:]"),r=new RegExp("[()]"),n=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),$=wordRegexp(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),a=wordRegexp(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);return{startState:function(){return{label:!1,commandMode:0}},token:function(i,m){var c=function tokenBase(i,m){i.sol()&&(m.label=!0,m.commandMode=0);var c=i.peek();return" "==c||"\t"==c?(m.label=!1,0==m.commandMode?m.commandMode=1:(m.commandMode<0||2==m.commandMode)&&(m.commandMode=0)):"."!=c&&m.commandMode>0&&(m.commandMode=":"==c?-1:2),"("!==c&&"\t"!==c||(m.label=!1),";"===c?(i.skipToEnd(),"comment"):i.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==c?i.skipTo('"')?(i.next(),"string"):(i.skipToEnd(),"error"):i.match(t)||i.match(e)?"operator":i.match(o)?null:r.test(c)?(i.next(),"bracket"):m.commandMode>0&&i.match(a)?"variable-2":i.match($)?"builtin":i.match(n)?"variable":"$"===c||"^"===c?(i.next(),"builtin"):"@"===c?(i.next(),"string-2"):/[\w%]/.test(c)?(i.eatWhile(/[\w%]/),"variable"):(i.next(),"error")}(i,m);return m.label?"tag":c}}})),e.defineMIME("text/x-mumps","mumps")},"object"==typeof t&&"object"==typeof e?r(o("../../lib/codemirror")):"function"==typeof n&&n.amd?n(["../../lib/codemirror"],r):r(CodeMirror)}));
//# sourceMappingURL=mumps.js.map