Liferay.Loader.define("fragment-web$codemirror@5.65.2/mode/pascal/pascal",["module","exports","require","../../lib/codemirror"],(function(e,r,t){var n,o=void 0;window;n=function(e){"use strict";e.defineMode("pascal",(function(){var e=function words(e){for(var r={},t=e.split(" "),n=0;n<t.length;++n)r[t[n]]=!0;return r}("absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try absolute abstract alias assembler bitpacked break cdecl continue cppdecl cvar default deprecated dynamic enumerator experimental export external far far16 forward generic helper implements index interrupt iocheck local message name near nodefault noreturn nostackframe oldfpccall otherwise overload override pascal platform private protected public published read register reintroduce result safecall saveregisters softfloat specialize static stdcall stored strict unaligned unimplemented varargs virtual write"),r={null:!0},t=/[+\-*&%=<>!?|\/]/;function tokenBase(n,o){var i=n.next();if("#"==i&&o.startOfLine)return n.skipToEnd(),"meta";if('"'==i||"'"==i)return o.tokenize=function tokenString(e){return function(r,t){for(var n,o=!1,i=!1;null!=(n=r.next());){if(n==e&&!o){i=!0;break}o=!o&&"\\"==n}return!i&&o||(t.tokenize=null),"string"}}(i),o.tokenize(n,o);if("("==i&&n.eat("*"))return o.tokenize=tokenComment,tokenComment(n,o);if("{"==i)return o.tokenize=tokenCommentBraces,tokenCommentBraces(n,o);if(/[\[\]\(\),;\:\.]/.test(i))return null;if(/\d/.test(i))return n.eatWhile(/[\w\.]/),"number";if("/"==i&&n.eat("/"))return n.skipToEnd(),"comment";if(t.test(i))return n.eatWhile(t),"operator";n.eatWhile(/[\w\$_]/);var a=n.current();return e.propertyIsEnumerable(a)?"keyword":r.propertyIsEnumerable(a)?"atom":"variable"}function tokenComment(e,r){for(var t,n=!1;t=e.next();){if(")"==t&&n){r.tokenize=null;break}n="*"==t}return"comment"}function tokenCommentBraces(e,r){for(var t;t=e.next();)if("}"==t){r.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(e,r){if(e.eatSpace())return null;var t=(r.tokenize||tokenBase)(e,r);return t},electricChars:"{}"}})),e.defineMIME("text/x-pascal","pascal")},"object"==typeof r&&"object"==typeof e?n(t("../../lib/codemirror")):"function"==typeof o&&o.amd?o(["../../lib/codemirror"],n):n(CodeMirror)}));
//# sourceMappingURL=pascal.js.map