Liferay.Loader.define("journal-web$codemirror@5.65.2/mode/eiffel/eiffel",["module","exports","require","../../lib/codemirror"],(function(e,t,r){var n,o=void 0;window;n=function(e){"use strict";e.defineMode("eiffel",(function(){function wordObj(e){for(var t={},r=0,n=e.length;r<n;++r)t[e[r]]=!0;return t}var e=wordObj(["note","across","when","variant","until","unique","undefine","then","strip","select","retry","rescue","require","rename","reference","redefine","prefix","once","old","obsolete","loop","local","like","is","inspect","infix","include","if","frozen","from","external","export","ensure","end","elseif","else","do","creation","create","check","alias","agent","separate","invariant","inherit","indexing","feature","expanded","deferred","class","Void","True","Result","Precursor","False","Current","create","attached","detachable","as","and","implies","not","or"]),t=wordObj([":=","and then","and","or","<<",">>"]);function tokenBase(e,t){if(e.eatSpace())return null;var r=e.next();return'"'==r||"'"==r?function chain(e,t,r){return r.tokenize.push(e),e(t,r)}(function readQuoted(e,t,r){return function(n,o){for(var i,a=!1;null!=(i=n.next());){if(i==e&&(r||!a)){o.tokenize.pop();break}a=!a&&"%"==i}return t}}(r,"string"),e,t):"-"==r&&e.eat("-")?(e.skipToEnd(),"comment"):":"==r&&e.eat("=")?"operator":/[0-9]/.test(r)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"ident"):/[a-zA-Z_0-9]/.test(r)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"ident"):/[=+\-\/*^%<>~]/.test(r)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}return{startState:function(){return{tokenize:[tokenBase]}},token:function(r,n){var o=n.tokenize[n.tokenize.length-1](r,n);if("ident"==o){var i=r.current();o=e.propertyIsEnumerable(r.current())?"keyword":t.propertyIsEnumerable(r.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(i)?"tag":/^0[bB][0-1]+$/g.test(i)||/^0[cC][0-7]+$/g.test(i)||/^0[xX][a-fA-F0-9]+$/g.test(i)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(i)||/^[0-9]+$/g.test(i)?"number":"variable"}return o},lineComment:"--"}})),e.defineMIME("text/x-eiffel","eiffel")},"object"==typeof t&&"object"==typeof e?n(r("../../lib/codemirror")):"function"==typeof o&&o.amd?o(["../../lib/codemirror"],n):n(CodeMirror)}));
//# sourceMappingURL=eiffel.js.map