Liferay.Loader.define("fragment-web$codemirror@5.65.2/mode/cmake/cmake",["module","exports","require","../../lib/codemirror"],(function(e,n,t){var i,r=void 0;window;i=function(e){"use strict";e.defineMode("cmake",(function(){var e=/({)?[a-zA-Z0-9_]+(})?/;function tokenString(e,n){for(var t,i,r=!1;!e.eol()&&(t=e.next())!=n.pending;){if("$"===t&&"\\"!=i&&'"'==n.pending){r=!0;break}i=t}return r&&e.backUp(1),t==n.pending?n.continueString=!1:n.continueString=!0,"string"}return{startState:function(){var e={inDefinition:!1,inInclude:!1,continueString:!1,pending:!1};return e},token:function(n,t){return n.eatSpace()?null:function tokenize(n,t){var i=n.next();return"$"===i?n.match(e)?"variable-2":"variable":t.continueString?(n.backUp(1),tokenString(n,t)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):"#"==i?(n.skipToEnd(),"comment"):"'"==i||'"'==i?(t.pending=i,tokenString(n,t)):"("==i||")"==i?"bracket":i.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}(n,t)}}})),e.defineMIME("text/x-cmake","cmake")},"object"==typeof n&&"object"==typeof e?i(t("../../lib/codemirror")):"function"==typeof r&&r.amd?r(["../../lib/codemirror"],i):i(CodeMirror)}));
//# sourceMappingURL=cmake.js.map