wikijs-fork/assets/js/ace/mode-xquery.js

1 line
225 KiB
JavaScript
Raw Normal View History

ace.define("ace/mode/xquery/xquery_lexer",["require","exports","module"],function(e,a,t){t.exports=function a(t,n,r){function s(c,i){if(!n[c]){if(!t[c]){var k="function"==typeof e&&e;if(!i&&k)return k(c,!0);if(o)return o(c,!0);throw new Error("Cannot find module '"+c+"'")}var u=n[c]={exports:{}};t[c][0].call(u.exports,function(e){var a=t[c][1][e];return s(a||e)},u,u.exports,a,t,n,r)}return n[c].exports}for(var o="function"==typeof e&&e,c=0;c<r.length;c++)s(r[c]);return s}({1:[function(e,a,t){var n=t.XQueryTokenizer=function e(a,t){function n(e,a,t){f=a,d=a,h=e,p=a,v=t,N=t,x.reset(w)}function r(){switch(x.startNonterminal("EQName",d),h){case 77:c(77);break;case 91:c(91);break;case 115:c(115);break;case 116:c(116);break;case 119:c(119);break;case 140:c(140);break;case 147:c(147);break;case 160:c(160);break;case 180:c(180);break;case 186:c(186);break;case 211:c(211);break;case 221:c(221);break;case 222:c(222);break;case 238:c(238);break;case 239:c(239);break;case 248:c(248);break;default:s()}x.endNonterminal("EQName",d)}function s(){switch(x.startNonterminal("FunctionName",d),h){case 14:c(14);break;case 65:c(65);break;case 68:c(68);break;case 69:c(69);break;case 70:c(70);break;case 74:c(74);break;case 75:c(75);break;case 79:c(79);break;case 83:c(83);break;case 84:c(84);break;case 85:c(85);break;case 88:c(88);break;case 89:c(89);break;case 98:c(98);break;case 100:c(100);break;case 103:c(103);break;case 104:c(104);break;case 105:c(105);break;case 106:c(106);break;case 107:c(107);break;case 108:c(108);break;case 113:c(113);break;case 114:c(114);break;case 117:c(117);break;case 118:c(118);break;case 121:c(121);break;case 123:c(123);break;case 124:c(124);break;case 126:c(126);break;case 129:c(129);break;case 130:c(130);break;case 131:c(131);break;case 132:c(132);break;case 141:c(141);break;case 143:c(143);break;case 145:c(145);break;case 146:c(146);break;case 148:c(148);break;case 154:c(154);break;case 155:c(155);break;case 157:c(157);break;case 158:c(158);break;case 159:c(159);break;case 165:c(165);break;case 167:c(167);break;case 169:c(169);break;case 173:c(173);break;case 175:c(175);break;case 176:c(176);break;case 177:c(177);break;case 179:c(179);break;case 181:c(181);break;case 193:c(193);break;case 195:c(195);break;case 196:c(196);break;case 197:c(197);break;case 201:c(201);break;case 207:c(207);break;case 208:c(208);break;case 213:c(213);break;case 214:c(214);break;case 215:c(215);break;case 219:c(219);break;case 224:c(224);break;case 230:c(230);break;case 231:c(231);break;case 232:c(232);break;case 243:c(243);break;case 244:c(244);break;case 245:c(245);break;case 249:c(249);break;case 251:c(251);break;case 255:c(255);break;case 261:c(261);break;case 265:c(265);break;case 269:c(269);break;case 67:c(67);break;case 76:c(76);break;case 78:c(78);break;case 80:c(80);break;case 81:c(81);break;case 86:c(86);break;case 93:c(93);break;case 96:c(96);break;case 97:c(97);break;case 99:c(99);break;case 101:c(101);break;case 120:c(120);break;case 127:c(127);break;case 128:c(128);break;case 136:c(136);break;case 149:c(149);break;case 150:c(150);break;case 156:c(156);break;case 166:c(166);break;case 187:c(187);break;case 194:c(194);break;case 198:c(198);break;case 217:c(217);break;case 220:c(220);break;case 223:c(223);break;case 229:c(229);break;case 235:c(235);break;case 246:c(246);break;case 247:c(247);break;case 252:c(252);break;case 256:c(256);break;case 257:c(257);break;case 258:c(258);break;case 262:c(262);break;case 92:c(92);break;case 171:c(171);break;default:c(216)}x.endNonterminal("FunctionName",d)}function o(){switch(x.startNonterminal("NCName",d),h){case 26:c(26);break;case 65:c(65);break;case 70:c(70);break;case 74:c(74);break;case 75:c(75);break;case 79:c(79);break;case 83:c(83);break;case 84:c(84);break;case 85:c(85);break;case 89:c(89);break;case 100:c(100);break;case 104:c(104);break;case 108:c(108);break;case 113:c(113);break;case 117:c(117);break;case 118:c(118);break;case 121:c(121);break;case 123:c(123);break;case 126:c(126);break;case 132:c(132);break;case 141:c(141);break;case 143:c(143);break;case 145:c(145);brea