Liferay.Loader.define("liferay!layout-content-page-editor-web$codemirror@5.65.2/mode/pascal/pascal",["module","exports","require","../../lib/codemirror"],(function(e,t,r){window,function(e){"use strict";e.defineMode("pascal",(function(){var e=function words(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}("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"),t={null:!0},r=/[+\-*&%=<>!?|\/]/;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(t,r){for(var n,o=!1,i=!1;null!=(n=t.next());){if(n==e&&!o){i=!0;break}o=!o&&"\\"==n}return!i&&o||(r.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(r.test(i))return n.eatWhile(r),"operator";n.eatWhile(/[\w\$_]/);var a=n.current();return e.propertyIsEnumerable(a)?"keyword":t.propertyIsEnumerable(a)?"atom":"variable"}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if(")"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function tokenCommentBraces(e,t){for(var r;r=e.next();)if("}"==r){t.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(e,t){return e.eatSpace()?null:(t.tokenize||tokenBase)(e,t)},electricChars:"{}"}})),e.defineMIME("text/x-pascal","pascal")}("object"==typeof t&&"object"==typeof e?r("../../lib/codemirror"):CodeMirror)}));
//# sourceMappingURL=pascal.js.map