File manager - Edit - /home/opticamezl/www/newok/cmake.zip
Back
PK �e�\�H��+ + cmake.jsnu �[��� // 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") mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) define(["../../lib/codemirror"], mod); else mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("cmake", function () { var variable_regex = /({)?[a-zA-Z0-9_]+(})?/; function tokenString(stream, state) { var current, prev, found_var = false; while (!stream.eol() && (current = stream.next()) != state.pending) { if (current === '$' && prev != '\\' && state.pending == '"') { found_var = true; break; } prev = current; } if (found_var) { stream.backUp(1); } if (current == state.pending) { state.continueString = false; } else { state.continueString = true; } return "string"; } function tokenize(stream, state) { var ch = stream.next(); // Have we found a variable? if (ch === '$') { if (stream.match(variable_regex)) { return 'variable-2'; } return 'variable'; } // Should we still be looking for the end of a string? if (state.continueString) { // If so, go through the loop again stream.backUp(1); return tokenString(stream, state); } // Do we just have a function on our hands? // In 'cmake_minimum_required (VERSION 2.8.8)', 'cmake_minimum_required' is matched if (stream.match(/(\s+)?\w+\(/) || stream.match(/(\s+)?\w+\ \(/)) { stream.backUp(1); return 'def'; } if (ch == "#") { stream.skipToEnd(); return "comment"; } // Have we found a string? if (ch == "'" || ch == '"') { // Store the type (single or double) state.pending = ch; // Perform the looping function to find the end return tokenString(stream, state); } if (ch == '(' || ch == ')') { return 'bracket'; } if (ch.match(/[0-9]/)) { return 'number'; } stream.eatWhile(/[\w-]/); return null; } return { startState: function () { var state = {}; state.inDefinition = false; state.inInclude = false; state.continueString = false; state.pending = false; return state; }, token: function (stream, state) { if (stream.eatSpace()) return null; return tokenize(stream, state); } }; }); CodeMirror.defineMIME("text/x-cmake", "cmake"); }); PK �e�\��= cmake.min.jsnu �[��� (function(r){typeof exports=="object"&&typeof module=="object"?r(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)})(function(r){"use strict";r.defineMode("cmake",function(){var c=/({)?[a-zA-Z0-9_]+(})?/;function f(n,i){for(var e,t,u=!1;!n.eol()&&(e=n.next())!=i.pending;){if(e==="$"&&t!="\\"&&i.pending=='"'){u=!0;break}t=e}return u&&n.backUp(1),e==i.pending?i.continueString=!1:i.continueString=!0,"string"}function o(n,i){var e=n.next();return e==="$"?n.match(c)?"variable-2":"variable":i.continueString?(n.backUp(1),f(n,i)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):e=="#"?(n.skipToEnd(),"comment"):e=="'"||e=='"'?(i.pending=e,f(n,i)):e=="("||e==")"?"bracket":e.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}return{startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(n,i){return n.eatSpace()?null:o(n,i)}}}),r.defineMIME("text/x-cmake","cmake")}); PK �e�\6�p�8 8 cmake.min.js.gznu �[��� � mSMo�@��W�i�wX��Z���!��ҪRm�Z`h��]w�$n1���`�6��̼y��cY���)����ޑ)gt��B��~R��Hm���K ��үFYb�y�yT�,�MA���X@��ԂJ���sA��e]�Ó�^��c�>���N�=W͞f{gU� �|`�31�k�%&4����r�ӕ�|�-���+�a%g�d:PؖƲ>�4�[&��d*���Hh����'ߑ.���`�JFBx����^��O !�0Ƕ�"�,�m�u�\c���}�3�o����T��h�tC��D�2~�[�?=���1C3�F&��Xr��j^K�?�Sx�Vɬ��=ē/����ad��"��_a�~�Z���W��>�/T����>�ߪ�gs��䦮I�0��N�L�e�4)�1l� B �����t��Z�כS�M����iN�}}P�h�~ 7��*W���IG�g�E���ҟ�CT=@xˠ���j ����Cot�3[җ*�%N�$�N��0��Ò���`��w7\tǯ0~ �0y���= PK �e�\�H��+ + cmake.jsnu �[��� PK �e�\��= c cmake.min.jsnu �[��� PK �e�\6�p�8 8 � cmake.min.js.gznu �[��� PK �
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings