File manager - Edit - /home/opticamezl/www/newok/r.tar
Back
r.js 0000644 00000015124 15175640771 0005363 0 ustar 00 // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.registerHelper("wordChars", "r", /[\w.]/); CodeMirror.defineMode("r", function(config) { function wordObj(words) { var res = {}; for (var i = 0; i < words.length; ++i) res[words[i]] = true; return res; } var commonAtoms = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"]; var commonBuiltins = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"]; var commonKeywords = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"]; var commonBlockKeywords = ["if", "else", "repeat", "while", "function", "for"]; CodeMirror.registerHelper("hintWords", "r", commonAtoms.concat(commonBuiltins, commonKeywords)); var atoms = wordObj(commonAtoms); var builtins = wordObj(commonBuiltins); var keywords = wordObj(commonKeywords); var blockkeywords = wordObj(commonBlockKeywords); var opChars = /[+\-*\/^<>=!&|~$:]/; var curPunc; function tokenBase(stream, state) { curPunc = null; var ch = stream.next(); if (ch == "#") { stream.skipToEnd(); return "comment"; } else if (ch == "0" && stream.eat("x")) { stream.eatWhile(/[\da-f]/i); return "number"; } else if (ch == "." && stream.eat(/\d/)) { stream.match(/\d*(?:e[+\-]?\d+)?/); return "number"; } else if (/\d/.test(ch)) { stream.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/); return "number"; } else if (ch == "'" || ch == '"') { state.tokenize = tokenString(ch); return "string"; } else if (ch == "`") { stream.match(/[^`]+`/); return "variable-3"; } else if (ch == "." && stream.match(/.(?:[.]|\d+)/)) { return "keyword"; } else if (/[a-zA-Z\.]/.test(ch)) { stream.eatWhile(/[\w\.]/); var word = stream.current(); if (atoms.propertyIsEnumerable(word)) return "atom"; if (keywords.propertyIsEnumerable(word)) { // Block keywords start new blocks, except 'else if', which only starts // one new block for the 'if', no block for the 'else'. if (blockkeywords.propertyIsEnumerable(word) && !stream.match(/\s*if(\s+|$)/, false)) curPunc = "block"; return "keyword"; } if (builtins.propertyIsEnumerable(word)) return "builtin"; return "variable"; } else if (ch == "%") { if (stream.skipTo("%")) stream.next(); return "operator variable-2"; } else if ( (ch == "<" && stream.eat("-")) || (ch == "<" && stream.match("<-")) || (ch == "-" && stream.match(/>>?/)) ) { return "operator arrow"; } else if (ch == "=" && state.ctx.argList) { return "arg-is"; } else if (opChars.test(ch)) { if (ch == "$") return "operator dollar"; stream.eatWhile(opChars); return "operator"; } else if (/[\(\){}\[\];]/.test(ch)) { curPunc = ch; if (ch == ";") return "semi"; return null; } else { return null; } } function tokenString(quote) { return function(stream, state) { if (stream.eat("\\")) { var ch = stream.next(); if (ch == "x") stream.match(/^[a-f0-9]{2}/i); else if ((ch == "u" || ch == "U") && stream.eat("{") && stream.skipTo("}")) stream.next(); else if (ch == "u") stream.match(/^[a-f0-9]{4}/i); else if (ch == "U") stream.match(/^[a-f0-9]{8}/i); else if (/[0-7]/.test(ch)) stream.match(/^[0-7]{1,2}/); return "string-2"; } else { var next; while ((next = stream.next()) != null) { if (next == quote) { state.tokenize = tokenBase; break; } if (next == "\\") { stream.backUp(1); break; } } return "string"; } }; } var ALIGN_YES = 1, ALIGN_NO = 2, BRACELESS = 4 function push(state, type, stream) { state.ctx = {type: type, indent: state.indent, flags: 0, column: stream.column(), prev: state.ctx}; } function setFlag(state, flag) { var ctx = state.ctx state.ctx = {type: ctx.type, indent: ctx.indent, flags: ctx.flags | flag, column: ctx.column, prev: ctx.prev} } function pop(state) { state.indent = state.ctx.indent; state.ctx = state.ctx.prev; } return { startState: function() { return {tokenize: tokenBase, ctx: {type: "top", indent: -config.indentUnit, flags: ALIGN_NO}, indent: 0, afterIdent: false}; }, token: function(stream, state) { if (stream.sol()) { if ((state.ctx.flags & 3) == 0) state.ctx.flags |= ALIGN_NO if (state.ctx.flags & BRACELESS) pop(state) state.indent = stream.indentation(); } if (stream.eatSpace()) return null; var style = state.tokenize(stream, state); if (style != "comment" && (state.ctx.flags & ALIGN_NO) == 0) setFlag(state, ALIGN_YES) if ((curPunc == ";" || curPunc == "{" || curPunc == "}") && state.ctx.type == "block") pop(state); if (curPunc == "{") push(state, "}", stream); else if (curPunc == "(") { push(state, ")", stream); if (state.afterIdent) state.ctx.argList = true; } else if (curPunc == "[") push(state, "]", stream); else if (curPunc == "block") push(state, "block", stream); else if (curPunc == state.ctx.type) pop(state); else if (state.ctx.type == "block" && style != "comment") setFlag(state, BRACELESS) state.afterIdent = style == "variable" || style == "keyword"; return style; }, indent: function(state, textAfter) { if (state.tokenize != tokenBase) return 0; var firstChar = textAfter && textAfter.charAt(0), ctx = state.ctx, closing = firstChar == ctx.type; if (ctx.flags & BRACELESS) ctx = ctx.prev if (ctx.type == "block") return ctx.indent + (firstChar == "{" ? 0 : config.indentUnit); else if (ctx.flags & ALIGN_YES) return ctx.column + (closing ? 0 : 1); else return ctx.indent + (closing ? 0 : config.indentUnit); }, lineComment: "#" }; }); CodeMirror.defineMIME("text/x-rsrc", "r"); }); r.min.js 0000644 00000006260 15175640771 0006146 0 ustar 00 (function(l){typeof exports=="object"&&typeof module=="object"?l(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],l):l(CodeMirror)})(function(l){"use strict";l.registerHelper("wordChars","r",/[\w.]/),l.defineMode("r",function(c){function o(e){for(var n={},r=0;r<e.length;++r)n[e[r]]=!0;return n}var v=["NULL","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","TRUE","FALSE"],x=["list","quote","bquote","eval","return","call","parse","deparse"],k=["if","else","repeat","while","function","for","in","next","break"],h=["if","else","repeat","while","function","for"];l.registerHelper("hintWords","r",v.concat(x,k));var m=o(v),w=o(x),A=o(k),E=o(h),s=/[+\-*\/^<>=!&|~$:]/,t;function p(e,n){t=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=I(r),"string";if(r=="`")return e.match(/[^`]+`/),"variable-3";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var i=e.current();return m.propertyIsEnumerable(i)?"atom":A.propertyIsEnumerable(i)?(E.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(t="block"),"keyword"):w.propertyIsEnumerable(i)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"operator variable-2"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)?"operator arrow":r=="="&&n.ctx.argList?"arg-is":s.test(r)?r=="$"?"operator dollar":(e.eatWhile(s),"operator"):/[\(\){}\[\];]/.test(r)?(t=r,r==";"?"semi":null):null}function I(e){return function(n,r){if(n.eat("\\")){var i=n.next();return i=="x"?n.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&n.eat("{")&&n.skipTo("}")?n.next():i=="u"?n.match(/^[a-f0-9]{4}/i):i=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&n.match(/^[0-7]{1,2}/),"string-2"}else{for(var f;(f=n.next())!=null;){if(f==e){r.tokenize=p;break}if(f=="\\"){n.backUp(1);break}}return"string"}}}var y=1,a=2,d=4;function u(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function g(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function b(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:p,ctx:{type:"top",indent:-c.indentUnit,flags:a},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&(n.ctx.flags&3||(n.ctx.flags|=a),n.ctx.flags&d&&b(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&!(n.ctx.flags&a)&&g(n,y),(t==";"||t=="{"||t=="}")&&n.ctx.type=="block"&&b(n),t=="{"?u(n,"}",e):t=="("?(u(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):t=="["?u(n,"]",e):t=="block"?u(n,"block",e):t==n.ctx.type?b(n):n.ctx.type=="block"&&r!="comment"&&g(n,d),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n){if(e.tokenize!=p)return 0;var r=n&&n.charAt(0),i=e.ctx,f=r==i.type;return i.flags&d&&(i=i.prev),i.type=="block"?i.indent+(r=="{"?0:c.indentUnit):i.flags&y?i.column+(f?0:1):i.indent+(f?0:c.indentUnit)},lineComment:"#"}}),l.defineMIME("text/x-rsrc","r")}); r.min.js.gz 0000644 00000002725 15175640771 0006567 0 ustar 00 � �V_o�6ߧ�o�J6��d��e��Ȱ i�&�+-Q6g��(:q&k�} )�N�>��:��~��hT�dn���y��*��V�4��Z��sA�K���U�(H*��_;�9�0��0��2�U��Bk��W-x)�UBx^ȶE�I�>�� �z� ��qp�ѩ�k�Yc�� ̫P�h�?�������5� �@�t�f&U��SGV2b��3�8nK��=�g���t6ׯyXq�2���2��2:��57;-�dg���������W@�F��d��! _q��?iΪ��ն��~8��f������tu��2��)T�1@2,�߳���<9��f���{*#������I4�9��kQY�X6��@@XRԜm #��=S����7���V�a�d�ړ �s��-U�����+���k����F�b�j}|��N��?/�,"f>V�F�H�*wU��4� �(�������FԿ�kY L W�-���3rf��83�ِQ�. 6-�H`r�]r=*��r�(��-3��2_�$�6�,Y�8���X���� �%�E�Gw���z�M�Kx9@�Ш ��oNo����ը� �c4��);�d��lY�鷟���Q�av���Æ?�Y�ѥl����E��l�� }W��|�5����c۰֪��<�4�r����N�������DA09f�y%J�h�/pD&8����T�Lƀp��eW�;Q!!�����> ��o AC3"��ͥ�Z���Ƭ_����c�N� �< �����y�D893��8H A ���C�W��1 0����f�Sb/���BU���6'���t����"�k� C5��sH��[��]�~�q�o��36�qI4nE���b��]�0����!S6-g�����������~�lz���Cm:�ɀ{��@�s��9�N���C.��3���\v�8��K�9�sU�Q9F�'~鹌���|g���5�y�KU+�%�7w5�����'��]�^�GzA�$��iwv��s�-���%����<�)+�j��U���X��@�Ԛ��N�;�y���s������~#����A~n̛ҡ���Zږ��@oӳ���K������&ڲr�$7��{F�08<�{wR^�n��+ �7�0��:���\jDi7���]F~RP���pz>P�ɩ��%��7F� ��� ��/��;z|1�'�d� _� �<�� X!I1A���`�m��pY�-:���U5�!I��ql9�Xز��iS�//:�a���0��-y��{�џ�z?��Өm��SW��i��Kxx/���Lq�,Oh=Ta6��ek��A3L�oQRZc¹8�cՑ��u1&�i��[��=�-$���Eq<�<&��sT&����s��TB�>=1| ]w�w���5�&�Ou�s�Wwx�տ��#ð
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings