CoreFiles by mySites.guru
pascal.min.js1 lines, 2,420 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
fa5675f46a9dc3034718371d86916960
sha1
89e1c62a4ae23d371f51a091704e91ac5e511adb
sha256
2ac94d30ffb5f757e5b3a3d65df890e2e304b4ac09464d8b6f5b87a80aa53375
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("pascal",function(){var e=function(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 n(e,r){for(var t,n=!1;t=e.next();){if(")"==t&&n){r.tokenize=null;break}n="*"==t}return"comment"}function i(e,r){for(var t;t=e.next();)if("}"==t){r.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(a,o){if(a.eatSpace())return null;var l=(o.tokenize||function(a,o){var l,c=a.next();if("#"==c&&o.startOfLine)return a.skipToEnd(),"meta";if('"'==c||"'"==c)return o.tokenize=(l=c,function(e,r){for(var t,n=!1,i=!1;null!=(t=e.next());){if(t==l&&!n){i=!0;break}n=!n&&"\\"==t}return!i&&n||(r.tokenize=null),"string"}),o.tokenize(a,o);if("("==c&&a.eat("*"))return o.tokenize=n,n(a,o);if("{"==c)return o.tokenize=i,i(a,o);if(/[\[\]\(\),;\:\.]/.test(c))return null;if(/\d/.test(c))return a.eatWhile(/[\w\.]/),"number";if("/"==c&&a.eat("/"))return a.skipToEnd(),"comment";if(t.test(c))return a.eatWhile(t),"operator";a.eatWhile(/[\w\$_]/);var u=a.current();return e.propertyIsEnumerable(u)?"keyword":r.propertyIsEnumerable(u)?"atom":"variable"})(a,o);return l},electricChars:"{}"}}),e.defineMIME("text/x-pascal","pascal")});

The same content is in 4 releases, Joomla 4.0.0-beta4 to 4.0.0-beta7. See them all, or every version of this file.