Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/libexec/webmin/authentic-theme/unauthenticated/js/codemirror/mode/vb/ drwxr-xr-x |
Viewing file: Select action/file-type: !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("vb",function(n,t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function i(e,n){n.currentIndent++}function o(e,n){n.currentIndent--}function c(e,n){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var t=!1;if(e.match(/^\d*\.\d+F?/i)?t=!0:e.match(/^\d+\.\d*F?/)?t=!0:e.match(/^\.\d+F?/)&&(t=!0),t)return e.eat(/J/i),"number";var r=!1;if(e.match(/^&H[0-9a-f]+/i)?r=!0:e.match(/^&O[0-7]+/i)?r=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),r=!0):e.match(/^0(?![\dx])/i)&&(r=!0),r)return e.eat(/L/i),"number"}return e.match(L)?(n.tokenize=a(e.current()),n.tokenize(e,n)):e.match(s)||e.match(h)?null:e.match(m)||e.match(l)||e.match(v)?"operator":e.match(f)?null:e.match(M)?(i(e,n),n.doInCurrentLine=!0,"keyword"):e.match(z)?(n.doInCurrentLine?n.doInCurrentLine=!1:i(e,n),"keyword"):e.match(C)?"keyword":e.match(F)?(o(e,n),o(e,n),"keyword"):e.match(R)?(o(e,n),"keyword"):e.match(E)?"keyword":e.match(I)?"keyword":e.match(p)?"variable":(e.next(),d)}function a(e){var n=1==e.length;return function(r,i){for(;!r.eol();){if(r.eatWhile(/[^'"]/),r.match(e))return i.tokenize=c,"string";r.eat(/['"]/)}if(n){if(t.singleLineStringErrors)return d;i.tokenize=c}return"string"}}function u(e,n){var t=n.tokenize(e,n),r=e.current();if("."===r)return t=n.tokenize(e,n),"variable"===t?"variable":d;var c="[({".indexOf(r);return c!==-1&&i(e,n),"dedent"===O&&o(e,n)?d:(c="])}".indexOf(r),c!==-1&&o(e,n)?d:t)}var d="error",l=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),f=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),m=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),h=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),s=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),p=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),b=["class","module","sub","enum","select","while","if","function","get","set","property","try"],k=["else","elseif","case","catch"],g=["next","loop"],x=["and","or","not","xor","in"],v=r(x),w=["as","dim","break","continue","optional","then","until","goto","byval","byref","new","handles","property","return","const","private","protected","friend","public","shared","static","true","false"],y=["integer","string","double","decimal","boolean","short","char","float","single"],I=r(w),E=r(y),L='"',z=r(b),C=r(k),R=r(g),F=r(["end"]),M=r(["do"]),O=null;return e.registerHelper("hintWords","vb",b.concat(k).concat(g).concat(x).concat(w).concat(y)),{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:c,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var t=u(e,n);return n.lastToken={style:t,content:e.current()},t},indent:function(e,t){var r=t.replace(/^\s+|\s+$/g,"");return r.match(R)||r.match(F)||r.match(C)?n.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.indentUnit},lineComment:"'"}}),e.defineMIME("text/x-vb","vb")}); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0031 ]-- |