SourceJavaScriptTokenizer.js 100 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491
  1. /* Generated by re2c 0.13.5 on Tue Feb 19 16:16:47 2013 */
  2. /*
  3. * Copyright (C) 2009 Google Inc. All rights reserved.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are
  7. * met:
  8. *
  9. * * Redistributions of source code must retain the above copyright
  10. * notice, this list of conditions and the following disclaimer.
  11. * * Redistributions in binary form must reproduce the above
  12. * copyright notice, this list of conditions and the following disclaimer
  13. * in the documentation and/or other materials provided with the
  14. * distribution.
  15. * * Neither the name of Google Inc. nor the names of its
  16. * contributors may be used to endorse or promote products derived from
  17. * this software without specific prior written permission.
  18. *
  19. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  20. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  21. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  22. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  23. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  24. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  25. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  26. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  27. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  28. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  29. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30. */
  31. /*
  32. * Generate js file as follows:
  33. re2c -isc Source/WebCore/inspector/front-end/SourceJavaScriptTokenizer.re2js \
  34. | sed 's|^yy\([^:]*\)*\:|case \1:|' \
  35. | sed 's|[*]cursor[+][+]|this._charAt(cursor++)|' \
  36. | sed 's|[[*][+][+]cursor|this._charAt(++cursor)|' \
  37. | sed 's|[*]cursor|this._charAt(cursor)|' \
  38. | sed 's|yych = \*\([^;]*\)|yych = this._charAt\1|' \
  39. | sed 's|{ gotoCase = \([^; continue; };]*\)|{ gotoCase = \1; continue; }|' \
  40. | sed 's|yych <= \(0x[0-9a-fA-F]*\)|yych \<\= String.fromCharCode(\1)|' \
  41. | sed 's|unsigned\ int|var|' \
  42. | sed 's|var\ yych|case 1: case 1: var yych|' > Source/WebCore/inspector/front-end/SourceJavaScriptTokenizer.js
  43. */
  44. /**
  45. * @constructor
  46. * @extends {WebInspector.SourceTokenizer}
  47. */
  48. WebInspector.SourceJavaScriptTokenizer = function()
  49. {
  50. WebInspector.SourceTokenizer.call(this);
  51. this._lexConditions = {
  52. DIV: 0,
  53. NODIV: 1,
  54. COMMENT: 2,
  55. DSTRING: 3,
  56. SSTRING: 4,
  57. REGEX: 5
  58. };
  59. this.case_DIV = 1000;
  60. this.case_NODIV = 1001;
  61. this.case_COMMENT = 1002;
  62. this.case_DSTRING = 1003;
  63. this.case_SSTRING = 1004;
  64. this.case_REGEX = 1005;
  65. this.condition = this.createInitialCondition();
  66. }
  67. WebInspector.SourceJavaScriptTokenizer.Keywords = [
  68. "null", "true", "false", "break", "case", "catch", "const", "default", "finally", "for",
  69. "instanceof", "new", "var", "continue", "function", "return", "void", "delete", "if",
  70. "this", "do", "while", "else", "in", "switch", "throw", "try", "typeof", "debugger",
  71. "class", "enum", "export", "extends", "import", "super", "get", "set", "with"
  72. ].keySet();
  73. WebInspector.SourceJavaScriptTokenizer.GlobalObjectValueProperties = {
  74. "NaN": "javascript-nan",
  75. "undefined": "javascript-undef",
  76. "Infinity": "javascript-inf"
  77. };
  78. WebInspector.SourceJavaScriptTokenizer.prototype = {
  79. createInitialCondition: function()
  80. {
  81. return { lexCondition: this._lexConditions.NODIV };
  82. },
  83. nextToken: function(cursor)
  84. {
  85. var cursorOnEnter = cursor;
  86. var gotoCase = 1;
  87. var YYMARKER;
  88. while (1) {
  89. switch (gotoCase)
  90. // Following comment is replaced with generated state machine.
  91. {
  92. case 1: var yych;
  93. var yyaccept = 0;
  94. if (this.getLexCondition() < 3) {
  95. if (this.getLexCondition() < 1) {
  96. { gotoCase = this.case_DIV; continue; };
  97. } else {
  98. if (this.getLexCondition() < 2) {
  99. { gotoCase = this.case_NODIV; continue; };
  100. } else {
  101. { gotoCase = this.case_COMMENT; continue; };
  102. }
  103. }
  104. } else {
  105. if (this.getLexCondition() < 4) {
  106. { gotoCase = this.case_DSTRING; continue; };
  107. } else {
  108. if (this.getLexCondition() < 5) {
  109. { gotoCase = this.case_SSTRING; continue; };
  110. } else {
  111. { gotoCase = this.case_REGEX; continue; };
  112. }
  113. }
  114. }
  115. /* *********************************** */
  116. case this.case_COMMENT:
  117. yych = this._charAt(cursor);
  118. if (yych <= '\f') {
  119. if (yych == '\n') { gotoCase = 4; continue; };
  120. { gotoCase = 3; continue; };
  121. } else {
  122. if (yych <= '\r') { gotoCase = 4; continue; };
  123. if (yych == '*') { gotoCase = 6; continue; };
  124. { gotoCase = 3; continue; };
  125. }
  126. case 2:
  127. { this.tokenType = "javascript-comment"; return cursor; }
  128. case 3:
  129. yyaccept = 0;
  130. yych = this._charAt(YYMARKER = ++cursor);
  131. { gotoCase = 12; continue; };
  132. case 4:
  133. ++cursor;
  134. { this.tokenType = null; return cursor; }
  135. case 6:
  136. yyaccept = 1;
  137. yych = this._charAt(YYMARKER = ++cursor);
  138. if (yych == '*') { gotoCase = 9; continue; };
  139. if (yych != '/') { gotoCase = 11; continue; };
  140. case 7:
  141. ++cursor;
  142. this.setLexCondition(this._lexConditions.NODIV);
  143. { this.tokenType = "javascript-comment"; return cursor; }
  144. case 9:
  145. ++cursor;
  146. yych = this._charAt(cursor);
  147. if (yych == '*') { gotoCase = 9; continue; };
  148. if (yych == '/') { gotoCase = 7; continue; };
  149. case 11:
  150. yyaccept = 0;
  151. YYMARKER = ++cursor;
  152. yych = this._charAt(cursor);
  153. case 12:
  154. if (yych <= '\f') {
  155. if (yych == '\n') { gotoCase = 2; continue; };
  156. { gotoCase = 11; continue; };
  157. } else {
  158. if (yych <= '\r') { gotoCase = 2; continue; };
  159. if (yych == '*') { gotoCase = 9; continue; };
  160. { gotoCase = 11; continue; };
  161. }
  162. /* *********************************** */
  163. case this.case_DIV:
  164. yych = this._charAt(cursor);
  165. if (yych <= '9') {
  166. if (yych <= '\'') {
  167. if (yych <= '"') {
  168. if (yych <= String.fromCharCode(0x1F)) { gotoCase = 15; continue; };
  169. if (yych <= ' ') { gotoCase = 17; continue; };
  170. if (yych <= '!') { gotoCase = 19; continue; };
  171. { gotoCase = 21; continue; };
  172. } else {
  173. if (yych <= '$') {
  174. if (yych >= '$') { gotoCase = 22; continue; };
  175. } else {
  176. if (yych <= '%') { gotoCase = 24; continue; };
  177. if (yych <= '&') { gotoCase = 25; continue; };
  178. { gotoCase = 26; continue; };
  179. }
  180. }
  181. } else {
  182. if (yych <= ',') {
  183. if (yych <= ')') {
  184. if (yych <= '(') { gotoCase = 27; continue; };
  185. { gotoCase = 28; continue; };
  186. } else {
  187. if (yych <= '*') { gotoCase = 30; continue; };
  188. if (yych <= '+') { gotoCase = 31; continue; };
  189. { gotoCase = 27; continue; };
  190. }
  191. } else {
  192. if (yych <= '.') {
  193. if (yych <= '-') { gotoCase = 32; continue; };
  194. { gotoCase = 33; continue; };
  195. } else {
  196. if (yych <= '/') { gotoCase = 34; continue; };
  197. if (yych <= '0') { gotoCase = 36; continue; };
  198. { gotoCase = 38; continue; };
  199. }
  200. }
  201. }
  202. } else {
  203. if (yych <= '\\') {
  204. if (yych <= '>') {
  205. if (yych <= ';') { gotoCase = 27; continue; };
  206. if (yych <= '<') { gotoCase = 39; continue; };
  207. if (yych <= '=') { gotoCase = 40; continue; };
  208. { gotoCase = 41; continue; };
  209. } else {
  210. if (yych <= '@') {
  211. if (yych <= '?') { gotoCase = 27; continue; };
  212. } else {
  213. if (yych <= 'Z') { gotoCase = 22; continue; };
  214. if (yych <= '[') { gotoCase = 27; continue; };
  215. { gotoCase = 42; continue; };
  216. }
  217. }
  218. } else {
  219. if (yych <= 'z') {
  220. if (yych <= '^') {
  221. if (yych <= ']') { gotoCase = 27; continue; };
  222. { gotoCase = 43; continue; };
  223. } else {
  224. if (yych != '`') { gotoCase = 22; continue; };
  225. }
  226. } else {
  227. if (yych <= '|') {
  228. if (yych <= '{') { gotoCase = 27; continue; };
  229. { gotoCase = 44; continue; };
  230. } else {
  231. if (yych <= '~') { gotoCase = 27; continue; };
  232. if (yych >= 0x80) { gotoCase = 22; continue; };
  233. }
  234. }
  235. }
  236. }
  237. case 15:
  238. ++cursor;
  239. case 16:
  240. { this.tokenType = null; return cursor; }
  241. case 17:
  242. ++cursor;
  243. yych = this._charAt(cursor);
  244. { gotoCase = 119; continue; };
  245. case 18:
  246. {this.tokenType = "whitespace"; return cursor; }
  247. case 19:
  248. ++cursor;
  249. if ((yych = this._charAt(cursor)) == '=') { gotoCase = 117; continue; };
  250. case 20:
  251. this.setLexCondition(this._lexConditions.NODIV);
  252. {
  253. var token = this._line.charAt(cursorOnEnter);
  254. if (token === "{")
  255. this.tokenType = "block-start";
  256. else if (token === "}")
  257. this.tokenType = "block-end";
  258. else if (token === "(")
  259. this.tokenType = "brace-start";
  260. else this.tokenType = null;
  261. return cursor;
  262. }
  263. case 21:
  264. yyaccept = 0;
  265. yych = this._charAt(YYMARKER = ++cursor);
  266. if (yych == '\n') { gotoCase = 16; continue; };
  267. if (yych == '\r') { gotoCase = 16; continue; };
  268. { gotoCase = 109; continue; };
  269. case 22:
  270. yyaccept = 1;
  271. yych = this._charAt(YYMARKER = ++cursor);
  272. { gotoCase = 52; continue; };
  273. case 23:
  274. {
  275. var token = this._line.substring(cursorOnEnter, cursor);
  276. if (WebInspector.SourceJavaScriptTokenizer.GlobalObjectValueProperties.hasOwnProperty(token))
  277. this.tokenType = WebInspector.SourceJavaScriptTokenizer.GlobalObjectValueProperties[token];
  278. else if (WebInspector.SourceJavaScriptTokenizer.Keywords[token] === true && token !== "__proto__")
  279. this.tokenType = "javascript-keyword";
  280. else
  281. this.tokenType = "javascript-ident";
  282. return cursor;
  283. }
  284. case 24:
  285. yych = this._charAt(++cursor);
  286. if (yych == '=') { gotoCase = 45; continue; };
  287. { gotoCase = 20; continue; };
  288. case 25:
  289. yych = this._charAt(++cursor);
  290. if (yych == '&') { gotoCase = 45; continue; };
  291. if (yych == '=') { gotoCase = 45; continue; };
  292. { gotoCase = 20; continue; };
  293. case 26:
  294. yyaccept = 0;
  295. yych = this._charAt(YYMARKER = ++cursor);
  296. if (yych == '\n') { gotoCase = 16; continue; };
  297. if (yych == '\r') { gotoCase = 16; continue; };
  298. { gotoCase = 98; continue; };
  299. case 27:
  300. yych = this._charAt(++cursor);
  301. { gotoCase = 20; continue; };
  302. case 28:
  303. ++cursor;
  304. { this.tokenType = "brace-end"; return cursor; }
  305. case 30:
  306. yych = this._charAt(++cursor);
  307. if (yych == '=') { gotoCase = 45; continue; };
  308. { gotoCase = 20; continue; };
  309. case 31:
  310. yych = this._charAt(++cursor);
  311. if (yych == '+') { gotoCase = 45; continue; };
  312. if (yych == '=') { gotoCase = 45; continue; };
  313. { gotoCase = 20; continue; };
  314. case 32:
  315. yych = this._charAt(++cursor);
  316. if (yych == '-') { gotoCase = 45; continue; };
  317. if (yych == '=') { gotoCase = 45; continue; };
  318. { gotoCase = 20; continue; };
  319. case 33:
  320. yych = this._charAt(++cursor);
  321. if (yych <= '/') { gotoCase = 20; continue; };
  322. if (yych <= '9') { gotoCase = 91; continue; };
  323. { gotoCase = 20; continue; };
  324. case 34:
  325. yyaccept = 2;
  326. yych = this._charAt(YYMARKER = ++cursor);
  327. if (yych <= '.') {
  328. if (yych == '*') { gotoCase = 80; continue; };
  329. } else {
  330. if (yych <= '/') { gotoCase = 82; continue; };
  331. if (yych == '=') { gotoCase = 79; continue; };
  332. }
  333. case 35:
  334. this.setLexCondition(this._lexConditions.NODIV);
  335. { this.tokenType = null; return cursor; }
  336. case 36:
  337. yyaccept = 3;
  338. yych = this._charAt(YYMARKER = ++cursor);
  339. if (yych <= 'E') {
  340. if (yych <= '/') {
  341. if (yych == '.') { gotoCase = 65; continue; };
  342. } else {
  343. if (yych <= '7') { gotoCase = 74; continue; };
  344. if (yych >= 'E') { gotoCase = 64; continue; };
  345. }
  346. } else {
  347. if (yych <= 'd') {
  348. if (yych == 'X') { gotoCase = 76; continue; };
  349. } else {
  350. if (yych <= 'e') { gotoCase = 64; continue; };
  351. if (yych == 'x') { gotoCase = 76; continue; };
  352. }
  353. }
  354. case 37:
  355. { this.tokenType = "javascript-number"; return cursor; }
  356. case 38:
  357. yyaccept = 3;
  358. yych = this._charAt(YYMARKER = ++cursor);
  359. if (yych <= '9') {
  360. if (yych == '.') { gotoCase = 65; continue; };
  361. if (yych <= '/') { gotoCase = 37; continue; };
  362. { gotoCase = 62; continue; };
  363. } else {
  364. if (yych <= 'E') {
  365. if (yych <= 'D') { gotoCase = 37; continue; };
  366. { gotoCase = 64; continue; };
  367. } else {
  368. if (yych == 'e') { gotoCase = 64; continue; };
  369. { gotoCase = 37; continue; };
  370. }
  371. }
  372. case 39:
  373. yych = this._charAt(++cursor);
  374. if (yych <= ';') { gotoCase = 20; continue; };
  375. if (yych <= '<') { gotoCase = 61; continue; };
  376. if (yych <= '=') { gotoCase = 45; continue; };
  377. { gotoCase = 20; continue; };
  378. case 40:
  379. yych = this._charAt(++cursor);
  380. if (yych == '=') { gotoCase = 60; continue; };
  381. { gotoCase = 20; continue; };
  382. case 41:
  383. yych = this._charAt(++cursor);
  384. if (yych <= '<') { gotoCase = 20; continue; };
  385. if (yych <= '=') { gotoCase = 45; continue; };
  386. if (yych <= '>') { gotoCase = 58; continue; };
  387. { gotoCase = 20; continue; };
  388. case 42:
  389. yyaccept = 0;
  390. yych = this._charAt(YYMARKER = ++cursor);
  391. if (yych == 'u') { gotoCase = 46; continue; };
  392. { gotoCase = 16; continue; };
  393. case 43:
  394. yych = this._charAt(++cursor);
  395. if (yych == '=') { gotoCase = 45; continue; };
  396. { gotoCase = 20; continue; };
  397. case 44:
  398. yych = this._charAt(++cursor);
  399. if (yych == '=') { gotoCase = 45; continue; };
  400. if (yych != '|') { gotoCase = 20; continue; };
  401. case 45:
  402. yych = this._charAt(++cursor);
  403. { gotoCase = 20; continue; };
  404. case 46:
  405. yych = this._charAt(++cursor);
  406. if (yych <= '@') {
  407. if (yych <= '/') { gotoCase = 47; continue; };
  408. if (yych <= '9') { gotoCase = 48; continue; };
  409. } else {
  410. if (yych <= 'F') { gotoCase = 48; continue; };
  411. if (yych <= '`') { gotoCase = 47; continue; };
  412. if (yych <= 'f') { gotoCase = 48; continue; };
  413. }
  414. case 47:
  415. cursor = YYMARKER;
  416. if (yyaccept <= 1) {
  417. if (yyaccept <= 0) {
  418. { gotoCase = 16; continue; };
  419. } else {
  420. { gotoCase = 23; continue; };
  421. }
  422. } else {
  423. if (yyaccept <= 2) {
  424. { gotoCase = 35; continue; };
  425. } else {
  426. { gotoCase = 37; continue; };
  427. }
  428. }
  429. case 48:
  430. yych = this._charAt(++cursor);
  431. if (yych <= '@') {
  432. if (yych <= '/') { gotoCase = 47; continue; };
  433. if (yych >= ':') { gotoCase = 47; continue; };
  434. } else {
  435. if (yych <= 'F') { gotoCase = 49; continue; };
  436. if (yych <= '`') { gotoCase = 47; continue; };
  437. if (yych >= 'g') { gotoCase = 47; continue; };
  438. }
  439. case 49:
  440. yych = this._charAt(++cursor);
  441. if (yych <= '@') {
  442. if (yych <= '/') { gotoCase = 47; continue; };
  443. if (yych >= ':') { gotoCase = 47; continue; };
  444. } else {
  445. if (yych <= 'F') { gotoCase = 50; continue; };
  446. if (yych <= '`') { gotoCase = 47; continue; };
  447. if (yych >= 'g') { gotoCase = 47; continue; };
  448. }
  449. case 50:
  450. yych = this._charAt(++cursor);
  451. if (yych <= '@') {
  452. if (yych <= '/') { gotoCase = 47; continue; };
  453. if (yych >= ':') { gotoCase = 47; continue; };
  454. } else {
  455. if (yych <= 'F') { gotoCase = 51; continue; };
  456. if (yych <= '`') { gotoCase = 47; continue; };
  457. if (yych >= 'g') { gotoCase = 47; continue; };
  458. }
  459. case 51:
  460. yyaccept = 1;
  461. YYMARKER = ++cursor;
  462. yych = this._charAt(cursor);
  463. case 52:
  464. if (yych <= '[') {
  465. if (yych <= '/') {
  466. if (yych == '$') { gotoCase = 51; continue; };
  467. { gotoCase = 23; continue; };
  468. } else {
  469. if (yych <= '9') { gotoCase = 51; continue; };
  470. if (yych <= '@') { gotoCase = 23; continue; };
  471. if (yych <= 'Z') { gotoCase = 51; continue; };
  472. { gotoCase = 23; continue; };
  473. }
  474. } else {
  475. if (yych <= '_') {
  476. if (yych <= '\\') { gotoCase = 53; continue; };
  477. if (yych <= '^') { gotoCase = 23; continue; };
  478. { gotoCase = 51; continue; };
  479. } else {
  480. if (yych <= '`') { gotoCase = 23; continue; };
  481. if (yych <= 'z') { gotoCase = 51; continue; };
  482. if (yych <= String.fromCharCode(0x7F)) { gotoCase = 23; continue; };
  483. { gotoCase = 51; continue; };
  484. }
  485. }
  486. case 53:
  487. ++cursor;
  488. yych = this._charAt(cursor);
  489. if (yych != 'u') { gotoCase = 47; continue; };
  490. ++cursor;
  491. yych = this._charAt(cursor);
  492. if (yych <= '@') {
  493. if (yych <= '/') { gotoCase = 47; continue; };
  494. if (yych >= ':') { gotoCase = 47; continue; };
  495. } else {
  496. if (yych <= 'F') { gotoCase = 55; continue; };
  497. if (yych <= '`') { gotoCase = 47; continue; };
  498. if (yych >= 'g') { gotoCase = 47; continue; };
  499. }
  500. case 55:
  501. ++cursor;
  502. yych = this._charAt(cursor);
  503. if (yych <= '@') {
  504. if (yych <= '/') { gotoCase = 47; continue; };
  505. if (yych >= ':') { gotoCase = 47; continue; };
  506. } else {
  507. if (yych <= 'F') { gotoCase = 56; continue; };
  508. if (yych <= '`') { gotoCase = 47; continue; };
  509. if (yych >= 'g') { gotoCase = 47; continue; };
  510. }
  511. case 56:
  512. ++cursor;
  513. yych = this._charAt(cursor);
  514. if (yych <= '@') {
  515. if (yych <= '/') { gotoCase = 47; continue; };
  516. if (yych >= ':') { gotoCase = 47; continue; };
  517. } else {
  518. if (yych <= 'F') { gotoCase = 57; continue; };
  519. if (yych <= '`') { gotoCase = 47; continue; };
  520. if (yych >= 'g') { gotoCase = 47; continue; };
  521. }
  522. case 57:
  523. ++cursor;
  524. yych = this._charAt(cursor);
  525. if (yych <= '@') {
  526. if (yych <= '/') { gotoCase = 47; continue; };
  527. if (yych <= '9') { gotoCase = 51; continue; };
  528. { gotoCase = 47; continue; };
  529. } else {
  530. if (yych <= 'F') { gotoCase = 51; continue; };
  531. if (yych <= '`') { gotoCase = 47; continue; };
  532. if (yych <= 'f') { gotoCase = 51; continue; };
  533. { gotoCase = 47; continue; };
  534. }
  535. case 58:
  536. yych = this._charAt(++cursor);
  537. if (yych <= '<') { gotoCase = 20; continue; };
  538. if (yych <= '=') { gotoCase = 45; continue; };
  539. if (yych >= '?') { gotoCase = 20; continue; };
  540. yych = this._charAt(++cursor);
  541. if (yych == '=') { gotoCase = 45; continue; };
  542. { gotoCase = 20; continue; };
  543. case 60:
  544. yych = this._charAt(++cursor);
  545. if (yych == '=') { gotoCase = 45; continue; };
  546. { gotoCase = 20; continue; };
  547. case 61:
  548. yych = this._charAt(++cursor);
  549. if (yych == '=') { gotoCase = 45; continue; };
  550. { gotoCase = 20; continue; };
  551. case 62:
  552. yyaccept = 3;
  553. YYMARKER = ++cursor;
  554. yych = this._charAt(cursor);
  555. if (yych <= '9') {
  556. if (yych == '.') { gotoCase = 65; continue; };
  557. if (yych <= '/') { gotoCase = 37; continue; };
  558. { gotoCase = 62; continue; };
  559. } else {
  560. if (yych <= 'E') {
  561. if (yych <= 'D') { gotoCase = 37; continue; };
  562. } else {
  563. if (yych != 'e') { gotoCase = 37; continue; };
  564. }
  565. }
  566. case 64:
  567. yych = this._charAt(++cursor);
  568. if (yych <= ',') {
  569. if (yych == '+') { gotoCase = 71; continue; };
  570. { gotoCase = 47; continue; };
  571. } else {
  572. if (yych <= '-') { gotoCase = 71; continue; };
  573. if (yych <= '/') { gotoCase = 47; continue; };
  574. if (yych <= '9') { gotoCase = 72; continue; };
  575. { gotoCase = 47; continue; };
  576. }
  577. case 65:
  578. yyaccept = 3;
  579. YYMARKER = ++cursor;
  580. yych = this._charAt(cursor);
  581. if (yych <= 'D') {
  582. if (yych <= '/') { gotoCase = 37; continue; };
  583. if (yych <= '9') { gotoCase = 65; continue; };
  584. { gotoCase = 37; continue; };
  585. } else {
  586. if (yych <= 'E') { gotoCase = 67; continue; };
  587. if (yych != 'e') { gotoCase = 37; continue; };
  588. }
  589. case 67:
  590. yych = this._charAt(++cursor);
  591. if (yych <= ',') {
  592. if (yych != '+') { gotoCase = 47; continue; };
  593. } else {
  594. if (yych <= '-') { gotoCase = 68; continue; };
  595. if (yych <= '/') { gotoCase = 47; continue; };
  596. if (yych <= '9') { gotoCase = 69; continue; };
  597. { gotoCase = 47; continue; };
  598. }
  599. case 68:
  600. yych = this._charAt(++cursor);
  601. if (yych <= '/') { gotoCase = 47; continue; };
  602. if (yych >= ':') { gotoCase = 47; continue; };
  603. case 69:
  604. ++cursor;
  605. yych = this._charAt(cursor);
  606. if (yych <= '/') { gotoCase = 37; continue; };
  607. if (yych <= '9') { gotoCase = 69; continue; };
  608. { gotoCase = 37; continue; };
  609. case 71:
  610. yych = this._charAt(++cursor);
  611. if (yych <= '/') { gotoCase = 47; continue; };
  612. if (yych >= ':') { gotoCase = 47; continue; };
  613. case 72:
  614. ++cursor;
  615. yych = this._charAt(cursor);
  616. if (yych <= '/') { gotoCase = 37; continue; };
  617. if (yych <= '9') { gotoCase = 72; continue; };
  618. { gotoCase = 37; continue; };
  619. case 74:
  620. ++cursor;
  621. yych = this._charAt(cursor);
  622. if (yych <= '/') { gotoCase = 37; continue; };
  623. if (yych <= '7') { gotoCase = 74; continue; };
  624. { gotoCase = 37; continue; };
  625. case 76:
  626. yych = this._charAt(++cursor);
  627. if (yych <= '@') {
  628. if (yych <= '/') { gotoCase = 47; continue; };
  629. if (yych >= ':') { gotoCase = 47; continue; };
  630. } else {
  631. if (yych <= 'F') { gotoCase = 77; continue; };
  632. if (yych <= '`') { gotoCase = 47; continue; };
  633. if (yych >= 'g') { gotoCase = 47; continue; };
  634. }
  635. case 77:
  636. ++cursor;
  637. yych = this._charAt(cursor);
  638. if (yych <= '@') {
  639. if (yych <= '/') { gotoCase = 37; continue; };
  640. if (yych <= '9') { gotoCase = 77; continue; };
  641. { gotoCase = 37; continue; };
  642. } else {
  643. if (yych <= 'F') { gotoCase = 77; continue; };
  644. if (yych <= '`') { gotoCase = 37; continue; };
  645. if (yych <= 'f') { gotoCase = 77; continue; };
  646. { gotoCase = 37; continue; };
  647. }
  648. case 79:
  649. yych = this._charAt(++cursor);
  650. { gotoCase = 35; continue; };
  651. case 80:
  652. ++cursor;
  653. yych = this._charAt(cursor);
  654. if (yych <= '\f') {
  655. if (yych == '\n') { gotoCase = 87; continue; };
  656. { gotoCase = 80; continue; };
  657. } else {
  658. if (yych <= '\r') { gotoCase = 87; continue; };
  659. if (yych == '*') { gotoCase = 85; continue; };
  660. { gotoCase = 80; continue; };
  661. }
  662. case 82:
  663. ++cursor;
  664. yych = this._charAt(cursor);
  665. if (yych == '\n') { gotoCase = 84; continue; };
  666. if (yych != '\r') { gotoCase = 82; continue; };
  667. case 84:
  668. { this.tokenType = "javascript-comment"; return cursor; }
  669. case 85:
  670. ++cursor;
  671. yych = this._charAt(cursor);
  672. if (yych == '*') { gotoCase = 85; continue; };
  673. if (yych == '/') { gotoCase = 89; continue; };
  674. { gotoCase = 80; continue; };
  675. case 87:
  676. ++cursor;
  677. this.setLexCondition(this._lexConditions.COMMENT);
  678. { this.tokenType = "javascript-comment"; return cursor; }
  679. case 89:
  680. ++cursor;
  681. { this.tokenType = "javascript-comment"; return cursor; }
  682. case 91:
  683. yyaccept = 3;
  684. YYMARKER = ++cursor;
  685. yych = this._charAt(cursor);
  686. if (yych <= 'D') {
  687. if (yych <= '/') { gotoCase = 37; continue; };
  688. if (yych <= '9') { gotoCase = 91; continue; };
  689. { gotoCase = 37; continue; };
  690. } else {
  691. if (yych <= 'E') { gotoCase = 93; continue; };
  692. if (yych != 'e') { gotoCase = 37; continue; };
  693. }
  694. case 93:
  695. yych = this._charAt(++cursor);
  696. if (yych <= ',') {
  697. if (yych != '+') { gotoCase = 47; continue; };
  698. } else {
  699. if (yych <= '-') { gotoCase = 94; continue; };
  700. if (yych <= '/') { gotoCase = 47; continue; };
  701. if (yych <= '9') { gotoCase = 95; continue; };
  702. { gotoCase = 47; continue; };
  703. }
  704. case 94:
  705. yych = this._charAt(++cursor);
  706. if (yych <= '/') { gotoCase = 47; continue; };
  707. if (yych >= ':') { gotoCase = 47; continue; };
  708. case 95:
  709. ++cursor;
  710. yych = this._charAt(cursor);
  711. if (yych <= '/') { gotoCase = 37; continue; };
  712. if (yych <= '9') { gotoCase = 95; continue; };
  713. { gotoCase = 37; continue; };
  714. case 97:
  715. ++cursor;
  716. yych = this._charAt(cursor);
  717. case 98:
  718. if (yych <= '\r') {
  719. if (yych == '\n') { gotoCase = 47; continue; };
  720. if (yych <= '\f') { gotoCase = 97; continue; };
  721. { gotoCase = 47; continue; };
  722. } else {
  723. if (yych <= '\'') {
  724. if (yych <= '&') { gotoCase = 97; continue; };
  725. { gotoCase = 100; continue; };
  726. } else {
  727. if (yych != '\\') { gotoCase = 97; continue; };
  728. }
  729. }
  730. ++cursor;
  731. yych = this._charAt(cursor);
  732. if (yych <= 'a') {
  733. if (yych <= '!') {
  734. if (yych <= '\n') {
  735. if (yych <= '\t') { gotoCase = 47; continue; };
  736. { gotoCase = 103; continue; };
  737. } else {
  738. if (yych == '\r') { gotoCase = 103; continue; };
  739. { gotoCase = 47; continue; };
  740. }
  741. } else {
  742. if (yych <= '\'') {
  743. if (yych <= '"') { gotoCase = 97; continue; };
  744. if (yych <= '&') { gotoCase = 47; continue; };
  745. { gotoCase = 97; continue; };
  746. } else {
  747. if (yych == '\\') { gotoCase = 97; continue; };
  748. { gotoCase = 47; continue; };
  749. }
  750. }
  751. } else {
  752. if (yych <= 'q') {
  753. if (yych <= 'f') {
  754. if (yych <= 'b') { gotoCase = 97; continue; };
  755. if (yych <= 'e') { gotoCase = 47; continue; };
  756. { gotoCase = 97; continue; };
  757. } else {
  758. if (yych == 'n') { gotoCase = 97; continue; };
  759. { gotoCase = 47; continue; };
  760. }
  761. } else {
  762. if (yych <= 't') {
  763. if (yych == 's') { gotoCase = 47; continue; };
  764. { gotoCase = 97; continue; };
  765. } else {
  766. if (yych <= 'u') { gotoCase = 102; continue; };
  767. if (yych <= 'v') { gotoCase = 97; continue; };
  768. { gotoCase = 47; continue; };
  769. }
  770. }
  771. }
  772. case 100:
  773. ++cursor;
  774. { this.tokenType = "javascript-string"; return cursor; }
  775. case 102:
  776. ++cursor;
  777. yych = this._charAt(cursor);
  778. if (yych <= '@') {
  779. if (yych <= '/') { gotoCase = 47; continue; };
  780. if (yych <= '9') { gotoCase = 105; continue; };
  781. { gotoCase = 47; continue; };
  782. } else {
  783. if (yych <= 'F') { gotoCase = 105; continue; };
  784. if (yych <= '`') { gotoCase = 47; continue; };
  785. if (yych <= 'f') { gotoCase = 105; continue; };
  786. { gotoCase = 47; continue; };
  787. }
  788. case 103:
  789. ++cursor;
  790. this.setLexCondition(this._lexConditions.SSTRING);
  791. { this.tokenType = "javascript-string"; return cursor; }
  792. case 105:
  793. ++cursor;
  794. yych = this._charAt(cursor);
  795. if (yych <= '@') {
  796. if (yych <= '/') { gotoCase = 47; continue; };
  797. if (yych >= ':') { gotoCase = 47; continue; };
  798. } else {
  799. if (yych <= 'F') { gotoCase = 106; continue; };
  800. if (yych <= '`') { gotoCase = 47; continue; };
  801. if (yych >= 'g') { gotoCase = 47; continue; };
  802. }
  803. case 106:
  804. ++cursor;
  805. yych = this._charAt(cursor);
  806. if (yych <= '@') {
  807. if (yych <= '/') { gotoCase = 47; continue; };
  808. if (yych >= ':') { gotoCase = 47; continue; };
  809. } else {
  810. if (yych <= 'F') { gotoCase = 107; continue; };
  811. if (yych <= '`') { gotoCase = 47; continue; };
  812. if (yych >= 'g') { gotoCase = 47; continue; };
  813. }
  814. case 107:
  815. ++cursor;
  816. yych = this._charAt(cursor);
  817. if (yych <= '@') {
  818. if (yych <= '/') { gotoCase = 47; continue; };
  819. if (yych <= '9') { gotoCase = 97; continue; };
  820. { gotoCase = 47; continue; };
  821. } else {
  822. if (yych <= 'F') { gotoCase = 97; continue; };
  823. if (yych <= '`') { gotoCase = 47; continue; };
  824. if (yych <= 'f') { gotoCase = 97; continue; };
  825. { gotoCase = 47; continue; };
  826. }
  827. case 108:
  828. ++cursor;
  829. yych = this._charAt(cursor);
  830. case 109:
  831. if (yych <= '\r') {
  832. if (yych == '\n') { gotoCase = 47; continue; };
  833. if (yych <= '\f') { gotoCase = 108; continue; };
  834. { gotoCase = 47; continue; };
  835. } else {
  836. if (yych <= '"') {
  837. if (yych <= '!') { gotoCase = 108; continue; };
  838. { gotoCase = 100; continue; };
  839. } else {
  840. if (yych != '\\') { gotoCase = 108; continue; };
  841. }
  842. }
  843. ++cursor;
  844. yych = this._charAt(cursor);
  845. if (yych <= 'a') {
  846. if (yych <= '!') {
  847. if (yych <= '\n') {
  848. if (yych <= '\t') { gotoCase = 47; continue; };
  849. { gotoCase = 112; continue; };
  850. } else {
  851. if (yych == '\r') { gotoCase = 112; continue; };
  852. { gotoCase = 47; continue; };
  853. }
  854. } else {
  855. if (yych <= '\'') {
  856. if (yych <= '"') { gotoCase = 108; continue; };
  857. if (yych <= '&') { gotoCase = 47; continue; };
  858. { gotoCase = 108; continue; };
  859. } else {
  860. if (yych == '\\') { gotoCase = 108; continue; };
  861. { gotoCase = 47; continue; };
  862. }
  863. }
  864. } else {
  865. if (yych <= 'q') {
  866. if (yych <= 'f') {
  867. if (yych <= 'b') { gotoCase = 108; continue; };
  868. if (yych <= 'e') { gotoCase = 47; continue; };
  869. { gotoCase = 108; continue; };
  870. } else {
  871. if (yych == 'n') { gotoCase = 108; continue; };
  872. { gotoCase = 47; continue; };
  873. }
  874. } else {
  875. if (yych <= 't') {
  876. if (yych == 's') { gotoCase = 47; continue; };
  877. { gotoCase = 108; continue; };
  878. } else {
  879. if (yych <= 'u') { gotoCase = 111; continue; };
  880. if (yych <= 'v') { gotoCase = 108; continue; };
  881. { gotoCase = 47; continue; };
  882. }
  883. }
  884. }
  885. case 111:
  886. ++cursor;
  887. yych = this._charAt(cursor);
  888. if (yych <= '@') {
  889. if (yych <= '/') { gotoCase = 47; continue; };
  890. if (yych <= '9') { gotoCase = 114; continue; };
  891. { gotoCase = 47; continue; };
  892. } else {
  893. if (yych <= 'F') { gotoCase = 114; continue; };
  894. if (yych <= '`') { gotoCase = 47; continue; };
  895. if (yych <= 'f') { gotoCase = 114; continue; };
  896. { gotoCase = 47; continue; };
  897. }
  898. case 112:
  899. ++cursor;
  900. this.setLexCondition(this._lexConditions.DSTRING);
  901. { this.tokenType = "javascript-string"; return cursor; }
  902. case 114:
  903. ++cursor;
  904. yych = this._charAt(cursor);
  905. if (yych <= '@') {
  906. if (yych <= '/') { gotoCase = 47; continue; };
  907. if (yych >= ':') { gotoCase = 47; continue; };
  908. } else {
  909. if (yych <= 'F') { gotoCase = 115; continue; };
  910. if (yych <= '`') { gotoCase = 47; continue; };
  911. if (yych >= 'g') { gotoCase = 47; continue; };
  912. }
  913. case 115:
  914. ++cursor;
  915. yych = this._charAt(cursor);
  916. if (yych <= '@') {
  917. if (yych <= '/') { gotoCase = 47; continue; };
  918. if (yych >= ':') { gotoCase = 47; continue; };
  919. } else {
  920. if (yych <= 'F') { gotoCase = 116; continue; };
  921. if (yych <= '`') { gotoCase = 47; continue; };
  922. if (yych >= 'g') { gotoCase = 47; continue; };
  923. }
  924. case 116:
  925. ++cursor;
  926. yych = this._charAt(cursor);
  927. if (yych <= '@') {
  928. if (yych <= '/') { gotoCase = 47; continue; };
  929. if (yych <= '9') { gotoCase = 108; continue; };
  930. { gotoCase = 47; continue; };
  931. } else {
  932. if (yych <= 'F') { gotoCase = 108; continue; };
  933. if (yych <= '`') { gotoCase = 47; continue; };
  934. if (yych <= 'f') { gotoCase = 108; continue; };
  935. { gotoCase = 47; continue; };
  936. }
  937. case 117:
  938. yych = this._charAt(++cursor);
  939. if (yych == '=') { gotoCase = 45; continue; };
  940. { gotoCase = 20; continue; };
  941. case 118:
  942. ++cursor;
  943. yych = this._charAt(cursor);
  944. case 119:
  945. if (yych == ' ') { gotoCase = 118; continue; };
  946. { gotoCase = 18; continue; };
  947. /* *********************************** */
  948. case this.case_DSTRING:
  949. yych = this._charAt(cursor);
  950. if (yych <= '\r') {
  951. if (yych == '\n') { gotoCase = 124; continue; };
  952. if (yych <= '\f') { gotoCase = 123; continue; };
  953. { gotoCase = 124; continue; };
  954. } else {
  955. if (yych <= '"') {
  956. if (yych <= '!') { gotoCase = 123; continue; };
  957. { gotoCase = 126; continue; };
  958. } else {
  959. if (yych == '\\') { gotoCase = 128; continue; };
  960. { gotoCase = 123; continue; };
  961. }
  962. }
  963. case 122:
  964. { this.tokenType = "javascript-string"; return cursor; }
  965. case 123:
  966. yyaccept = 0;
  967. yych = this._charAt(YYMARKER = ++cursor);
  968. { gotoCase = 130; continue; };
  969. case 124:
  970. ++cursor;
  971. case 125:
  972. { this.tokenType = null; return cursor; }
  973. case 126:
  974. ++cursor;
  975. case 127:
  976. this.setLexCondition(this._lexConditions.NODIV);
  977. { this.tokenType = "javascript-string"; return cursor; }
  978. case 128:
  979. yyaccept = 1;
  980. yych = this._charAt(YYMARKER = ++cursor);
  981. if (yych <= 'e') {
  982. if (yych <= '\'') {
  983. if (yych == '"') { gotoCase = 129; continue; };
  984. if (yych <= '&') { gotoCase = 125; continue; };
  985. } else {
  986. if (yych <= '\\') {
  987. if (yych <= '[') { gotoCase = 125; continue; };
  988. } else {
  989. if (yych != 'b') { gotoCase = 125; continue; };
  990. }
  991. }
  992. } else {
  993. if (yych <= 'r') {
  994. if (yych <= 'm') {
  995. if (yych >= 'g') { gotoCase = 125; continue; };
  996. } else {
  997. if (yych <= 'n') { gotoCase = 129; continue; };
  998. if (yych <= 'q') { gotoCase = 125; continue; };
  999. }
  1000. } else {
  1001. if (yych <= 't') {
  1002. if (yych <= 's') { gotoCase = 125; continue; };
  1003. } else {
  1004. if (yych <= 'u') { gotoCase = 131; continue; };
  1005. if (yych >= 'w') { gotoCase = 125; continue; };
  1006. }
  1007. }
  1008. }
  1009. case 129:
  1010. yyaccept = 0;
  1011. YYMARKER = ++cursor;
  1012. yych = this._charAt(cursor);
  1013. case 130:
  1014. if (yych <= '\r') {
  1015. if (yych == '\n') { gotoCase = 122; continue; };
  1016. if (yych <= '\f') { gotoCase = 129; continue; };
  1017. { gotoCase = 122; continue; };
  1018. } else {
  1019. if (yych <= '"') {
  1020. if (yych <= '!') { gotoCase = 129; continue; };
  1021. { gotoCase = 137; continue; };
  1022. } else {
  1023. if (yych == '\\') { gotoCase = 136; continue; };
  1024. { gotoCase = 129; continue; };
  1025. }
  1026. }
  1027. case 131:
  1028. ++cursor;
  1029. yych = this._charAt(cursor);
  1030. if (yych <= '@') {
  1031. if (yych <= '/') { gotoCase = 132; continue; };
  1032. if (yych <= '9') { gotoCase = 133; continue; };
  1033. } else {
  1034. if (yych <= 'F') { gotoCase = 133; continue; };
  1035. if (yych <= '`') { gotoCase = 132; continue; };
  1036. if (yych <= 'f') { gotoCase = 133; continue; };
  1037. }
  1038. case 132:
  1039. cursor = YYMARKER;
  1040. if (yyaccept <= 0) {
  1041. { gotoCase = 122; continue; };
  1042. } else {
  1043. { gotoCase = 125; continue; };
  1044. }
  1045. case 133:
  1046. ++cursor;
  1047. yych = this._charAt(cursor);
  1048. if (yych <= '@') {
  1049. if (yych <= '/') { gotoCase = 132; continue; };
  1050. if (yych >= ':') { gotoCase = 132; continue; };
  1051. } else {
  1052. if (yych <= 'F') { gotoCase = 134; continue; };
  1053. if (yych <= '`') { gotoCase = 132; continue; };
  1054. if (yych >= 'g') { gotoCase = 132; continue; };
  1055. }
  1056. case 134:
  1057. ++cursor;
  1058. yych = this._charAt(cursor);
  1059. if (yych <= '@') {
  1060. if (yych <= '/') { gotoCase = 132; continue; };
  1061. if (yych >= ':') { gotoCase = 132; continue; };
  1062. } else {
  1063. if (yych <= 'F') { gotoCase = 135; continue; };
  1064. if (yych <= '`') { gotoCase = 132; continue; };
  1065. if (yych >= 'g') { gotoCase = 132; continue; };
  1066. }
  1067. case 135:
  1068. ++cursor;
  1069. yych = this._charAt(cursor);
  1070. if (yych <= '@') {
  1071. if (yych <= '/') { gotoCase = 132; continue; };
  1072. if (yych <= '9') { gotoCase = 129; continue; };
  1073. { gotoCase = 132; continue; };
  1074. } else {
  1075. if (yych <= 'F') { gotoCase = 129; continue; };
  1076. if (yych <= '`') { gotoCase = 132; continue; };
  1077. if (yych <= 'f') { gotoCase = 129; continue; };
  1078. { gotoCase = 132; continue; };
  1079. }
  1080. case 136:
  1081. ++cursor;
  1082. yych = this._charAt(cursor);
  1083. if (yych <= 'e') {
  1084. if (yych <= '\'') {
  1085. if (yych == '"') { gotoCase = 129; continue; };
  1086. if (yych <= '&') { gotoCase = 132; continue; };
  1087. { gotoCase = 129; continue; };
  1088. } else {
  1089. if (yych <= '\\') {
  1090. if (yych <= '[') { gotoCase = 132; continue; };
  1091. { gotoCase = 129; continue; };
  1092. } else {
  1093. if (yych == 'b') { gotoCase = 129; continue; };
  1094. { gotoCase = 132; continue; };
  1095. }
  1096. }
  1097. } else {
  1098. if (yych <= 'r') {
  1099. if (yych <= 'm') {
  1100. if (yych <= 'f') { gotoCase = 129; continue; };
  1101. { gotoCase = 132; continue; };
  1102. } else {
  1103. if (yych <= 'n') { gotoCase = 129; continue; };
  1104. if (yych <= 'q') { gotoCase = 132; continue; };
  1105. { gotoCase = 129; continue; };
  1106. }
  1107. } else {
  1108. if (yych <= 't') {
  1109. if (yych <= 's') { gotoCase = 132; continue; };
  1110. { gotoCase = 129; continue; };
  1111. } else {
  1112. if (yych <= 'u') { gotoCase = 131; continue; };
  1113. if (yych <= 'v') { gotoCase = 129; continue; };
  1114. { gotoCase = 132; continue; };
  1115. }
  1116. }
  1117. }
  1118. case 137:
  1119. ++cursor;
  1120. yych = this._charAt(cursor);
  1121. { gotoCase = 127; continue; };
  1122. /* *********************************** */
  1123. case this.case_NODIV:
  1124. yych = this._charAt(cursor);
  1125. if (yych <= '9') {
  1126. if (yych <= '\'') {
  1127. if (yych <= '"') {
  1128. if (yych <= String.fromCharCode(0x1F)) { gotoCase = 140; continue; };
  1129. if (yych <= ' ') { gotoCase = 142; continue; };
  1130. if (yych <= '!') { gotoCase = 144; continue; };
  1131. { gotoCase = 146; continue; };
  1132. } else {
  1133. if (yych <= '$') {
  1134. if (yych >= '$') { gotoCase = 147; continue; };
  1135. } else {
  1136. if (yych <= '%') { gotoCase = 149; continue; };
  1137. if (yych <= '&') { gotoCase = 150; continue; };
  1138. { gotoCase = 151; continue; };
  1139. }
  1140. }
  1141. } else {
  1142. if (yych <= ',') {
  1143. if (yych <= ')') {
  1144. if (yych <= '(') { gotoCase = 152; continue; };
  1145. { gotoCase = 153; continue; };
  1146. } else {
  1147. if (yych <= '*') { gotoCase = 155; continue; };
  1148. if (yych <= '+') { gotoCase = 156; continue; };
  1149. { gotoCase = 152; continue; };
  1150. }
  1151. } else {
  1152. if (yych <= '.') {
  1153. if (yych <= '-') { gotoCase = 157; continue; };
  1154. { gotoCase = 158; continue; };
  1155. } else {
  1156. if (yych <= '/') { gotoCase = 159; continue; };
  1157. if (yych <= '0') { gotoCase = 160; continue; };
  1158. { gotoCase = 162; continue; };
  1159. }
  1160. }
  1161. }
  1162. } else {
  1163. if (yych <= '\\') {
  1164. if (yych <= '>') {
  1165. if (yych <= ';') { gotoCase = 152; continue; };
  1166. if (yych <= '<') { gotoCase = 163; continue; };
  1167. if (yych <= '=') { gotoCase = 164; continue; };
  1168. { gotoCase = 165; continue; };
  1169. } else {
  1170. if (yych <= '@') {
  1171. if (yych <= '?') { gotoCase = 152; continue; };
  1172. } else {
  1173. if (yych <= 'Z') { gotoCase = 147; continue; };
  1174. if (yych <= '[') { gotoCase = 152; continue; };
  1175. { gotoCase = 166; continue; };
  1176. }
  1177. }
  1178. } else {
  1179. if (yych <= 'z') {
  1180. if (yych <= '^') {
  1181. if (yych <= ']') { gotoCase = 152; continue; };
  1182. { gotoCase = 167; continue; };
  1183. } else {
  1184. if (yych != '`') { gotoCase = 147; continue; };
  1185. }
  1186. } else {
  1187. if (yych <= '|') {
  1188. if (yych <= '{') { gotoCase = 152; continue; };
  1189. { gotoCase = 168; continue; };
  1190. } else {
  1191. if (yych <= '~') { gotoCase = 152; continue; };
  1192. if (yych >= 0x80) { gotoCase = 147; continue; };
  1193. }
  1194. }
  1195. }
  1196. }
  1197. case 140:
  1198. ++cursor;
  1199. case 141:
  1200. { this.tokenType = null; return cursor; }
  1201. case 142:
  1202. ++cursor;
  1203. yych = this._charAt(cursor);
  1204. { gotoCase = 268; continue; };
  1205. case 143:
  1206. {this.tokenType = "whitespace"; return cursor; }
  1207. case 144:
  1208. ++cursor;
  1209. if ((yych = this._charAt(cursor)) == '=') { gotoCase = 266; continue; };
  1210. case 145:
  1211. {
  1212. var token = this._line.charAt(cursorOnEnter);
  1213. if (token === "{")
  1214. this.tokenType = "block-start";
  1215. else if (token === "}")
  1216. this.tokenType = "block-end";
  1217. else if (token === "(")
  1218. this.tokenType = "brace-start";
  1219. else this.tokenType = null;
  1220. return cursor;
  1221. }
  1222. case 146:
  1223. yyaccept = 0;
  1224. yych = this._charAt(YYMARKER = ++cursor);
  1225. if (yych == '\n') { gotoCase = 141; continue; };
  1226. if (yych == '\r') { gotoCase = 141; continue; };
  1227. { gotoCase = 258; continue; };
  1228. case 147:
  1229. yyaccept = 1;
  1230. yych = this._charAt(YYMARKER = ++cursor);
  1231. { gotoCase = 176; continue; };
  1232. case 148:
  1233. this.setLexCondition(this._lexConditions.DIV);
  1234. {
  1235. var token = this._line.substring(cursorOnEnter, cursor);
  1236. if (WebInspector.SourceJavaScriptTokenizer.GlobalObjectValueProperties.hasOwnProperty(token))
  1237. this.tokenType = WebInspector.SourceJavaScriptTokenizer.GlobalObjectValueProperties[token];
  1238. else if (WebInspector.SourceJavaScriptTokenizer.Keywords[token] === true && token !== "__proto__")
  1239. this.tokenType = "javascript-keyword";
  1240. else
  1241. this.tokenType = "javascript-ident";
  1242. return cursor;
  1243. }
  1244. case 149:
  1245. yych = this._charAt(++cursor);
  1246. if (yych == '=') { gotoCase = 169; continue; };
  1247. { gotoCase = 145; continue; };
  1248. case 150:
  1249. yych = this._charAt(++cursor);
  1250. if (yych == '&') { gotoCase = 169; continue; };
  1251. if (yych == '=') { gotoCase = 169; continue; };
  1252. { gotoCase = 145; continue; };
  1253. case 151:
  1254. yyaccept = 0;
  1255. yych = this._charAt(YYMARKER = ++cursor);
  1256. if (yych == '\n') { gotoCase = 141; continue; };
  1257. if (yych == '\r') { gotoCase = 141; continue; };
  1258. { gotoCase = 247; continue; };
  1259. case 152:
  1260. yych = this._charAt(++cursor);
  1261. { gotoCase = 145; continue; };
  1262. case 153:
  1263. ++cursor;
  1264. this.setLexCondition(this._lexConditions.DIV);
  1265. { this.tokenType = "brace-end"; return cursor; }
  1266. case 155:
  1267. yych = this._charAt(++cursor);
  1268. if (yych == '=') { gotoCase = 169; continue; };
  1269. { gotoCase = 145; continue; };
  1270. case 156:
  1271. yych = this._charAt(++cursor);
  1272. if (yych == '+') { gotoCase = 169; continue; };
  1273. if (yych == '=') { gotoCase = 169; continue; };
  1274. { gotoCase = 145; continue; };
  1275. case 157:
  1276. yych = this._charAt(++cursor);
  1277. if (yych == '-') { gotoCase = 169; continue; };
  1278. if (yych == '=') { gotoCase = 169; continue; };
  1279. { gotoCase = 145; continue; };
  1280. case 158:
  1281. yych = this._charAt(++cursor);
  1282. if (yych <= '/') { gotoCase = 145; continue; };
  1283. if (yych <= '9') { gotoCase = 240; continue; };
  1284. { gotoCase = 145; continue; };
  1285. case 159:
  1286. yyaccept = 0;
  1287. yych = this._charAt(YYMARKER = ++cursor);
  1288. if (yych <= '*') {
  1289. if (yych <= '\f') {
  1290. if (yych == '\n') { gotoCase = 141; continue; };
  1291. { gotoCase = 203; continue; };
  1292. } else {
  1293. if (yych <= '\r') { gotoCase = 141; continue; };
  1294. if (yych <= ')') { gotoCase = 203; continue; };
  1295. { gotoCase = 208; continue; };
  1296. }
  1297. } else {
  1298. if (yych <= 'Z') {
  1299. if (yych == '/') { gotoCase = 210; continue; };
  1300. { gotoCase = 203; continue; };
  1301. } else {
  1302. if (yych <= '[') { gotoCase = 206; continue; };
  1303. if (yych <= '\\') { gotoCase = 205; continue; };
  1304. if (yych <= ']') { gotoCase = 141; continue; };
  1305. { gotoCase = 203; continue; };
  1306. }
  1307. }
  1308. case 160:
  1309. yyaccept = 2;
  1310. yych = this._charAt(YYMARKER = ++cursor);
  1311. if (yych <= 'E') {
  1312. if (yych <= '/') {
  1313. if (yych == '.') { gotoCase = 189; continue; };
  1314. } else {
  1315. if (yych <= '7') { gotoCase = 198; continue; };
  1316. if (yych >= 'E') { gotoCase = 188; continue; };
  1317. }
  1318. } else {
  1319. if (yych <= 'd') {
  1320. if (yych == 'X') { gotoCase = 200; continue; };
  1321. } else {
  1322. if (yych <= 'e') { gotoCase = 188; continue; };
  1323. if (yych == 'x') { gotoCase = 200; continue; };
  1324. }
  1325. }
  1326. case 161:
  1327. this.setLexCondition(this._lexConditions.DIV);
  1328. { this.tokenType = "javascript-number"; return cursor; }
  1329. case 162:
  1330. yyaccept = 2;
  1331. yych = this._charAt(YYMARKER = ++cursor);
  1332. if (yych <= '9') {
  1333. if (yych == '.') { gotoCase = 189; continue; };
  1334. if (yych <= '/') { gotoCase = 161; continue; };
  1335. { gotoCase = 186; continue; };
  1336. } else {
  1337. if (yych <= 'E') {
  1338. if (yych <= 'D') { gotoCase = 161; continue; };
  1339. { gotoCase = 188; continue; };
  1340. } else {
  1341. if (yych == 'e') { gotoCase = 188; continue; };
  1342. { gotoCase = 161; continue; };
  1343. }
  1344. }
  1345. case 163:
  1346. yych = this._charAt(++cursor);
  1347. if (yych <= ';') { gotoCase = 145; continue; };
  1348. if (yych <= '<') { gotoCase = 185; continue; };
  1349. if (yych <= '=') { gotoCase = 169; continue; };
  1350. { gotoCase = 145; continue; };
  1351. case 164:
  1352. yych = this._charAt(++cursor);
  1353. if (yych == '=') { gotoCase = 184; continue; };
  1354. { gotoCase = 145; continue; };
  1355. case 165:
  1356. yych = this._charAt(++cursor);
  1357. if (yych <= '<') { gotoCase = 145; continue; };
  1358. if (yych <= '=') { gotoCase = 169; continue; };
  1359. if (yych <= '>') { gotoCase = 182; continue; };
  1360. { gotoCase = 145; continue; };
  1361. case 166:
  1362. yyaccept = 0;
  1363. yych = this._charAt(YYMARKER = ++cursor);
  1364. if (yych == 'u') { gotoCase = 170; continue; };
  1365. { gotoCase = 141; continue; };
  1366. case 167:
  1367. yych = this._charAt(++cursor);
  1368. if (yych == '=') { gotoCase = 169; continue; };
  1369. { gotoCase = 145; continue; };
  1370. case 168:
  1371. yych = this._charAt(++cursor);
  1372. if (yych == '=') { gotoCase = 169; continue; };
  1373. if (yych != '|') { gotoCase = 145; continue; };
  1374. case 169:
  1375. yych = this._charAt(++cursor);
  1376. { gotoCase = 145; continue; };
  1377. case 170:
  1378. yych = this._charAt(++cursor);
  1379. if (yych <= '@') {
  1380. if (yych <= '/') { gotoCase = 171; continue; };
  1381. if (yych <= '9') { gotoCase = 172; continue; };
  1382. } else {
  1383. if (yych <= 'F') { gotoCase = 172; continue; };
  1384. if (yych <= '`') { gotoCase = 171; continue; };
  1385. if (yych <= 'f') { gotoCase = 172; continue; };
  1386. }
  1387. case 171:
  1388. cursor = YYMARKER;
  1389. if (yyaccept <= 1) {
  1390. if (yyaccept <= 0) {
  1391. { gotoCase = 141; continue; };
  1392. } else {
  1393. { gotoCase = 148; continue; };
  1394. }
  1395. } else {
  1396. if (yyaccept <= 2) {
  1397. { gotoCase = 161; continue; };
  1398. } else {
  1399. { gotoCase = 223; continue; };
  1400. }
  1401. }
  1402. case 172:
  1403. yych = this._charAt(++cursor);
  1404. if (yych <= '@') {
  1405. if (yych <= '/') { gotoCase = 171; continue; };
  1406. if (yych >= ':') { gotoCase = 171; continue; };
  1407. } else {
  1408. if (yych <= 'F') { gotoCase = 173; continue; };
  1409. if (yych <= '`') { gotoCase = 171; continue; };
  1410. if (yych >= 'g') { gotoCase = 171; continue; };
  1411. }
  1412. case 173:
  1413. yych = this._charAt(++cursor);
  1414. if (yych <= '@') {
  1415. if (yych <= '/') { gotoCase = 171; continue; };
  1416. if (yych >= ':') { gotoCase = 171; continue; };
  1417. } else {
  1418. if (yych <= 'F') { gotoCase = 174; continue; };
  1419. if (yych <= '`') { gotoCase = 171; continue; };
  1420. if (yych >= 'g') { gotoCase = 171; continue; };
  1421. }
  1422. case 174:
  1423. yych = this._charAt(++cursor);
  1424. if (yych <= '@') {
  1425. if (yych <= '/') { gotoCase = 171; continue; };
  1426. if (yych >= ':') { gotoCase = 171; continue; };
  1427. } else {
  1428. if (yych <= 'F') { gotoCase = 175; continue; };
  1429. if (yych <= '`') { gotoCase = 171; continue; };
  1430. if (yych >= 'g') { gotoCase = 171; continue; };
  1431. }
  1432. case 175:
  1433. yyaccept = 1;
  1434. YYMARKER = ++cursor;
  1435. yych = this._charAt(cursor);
  1436. case 176:
  1437. if (yych <= '[') {
  1438. if (yych <= '/') {
  1439. if (yych == '$') { gotoCase = 175; continue; };
  1440. { gotoCase = 148; continue; };
  1441. } else {
  1442. if (yych <= '9') { gotoCase = 175; continue; };
  1443. if (yych <= '@') { gotoCase = 148; continue; };
  1444. if (yych <= 'Z') { gotoCase = 175; continue; };
  1445. { gotoCase = 148; continue; };
  1446. }
  1447. } else {
  1448. if (yych <= '_') {
  1449. if (yych <= '\\') { gotoCase = 177; continue; };
  1450. if (yych <= '^') { gotoCase = 148; continue; };
  1451. { gotoCase = 175; continue; };
  1452. } else {
  1453. if (yych <= '`') { gotoCase = 148; continue; };
  1454. if (yych <= 'z') { gotoCase = 175; continue; };
  1455. if (yych <= String.fromCharCode(0x7F)) { gotoCase = 148; continue; };
  1456. { gotoCase = 175; continue; };
  1457. }
  1458. }
  1459. case 177:
  1460. ++cursor;
  1461. yych = this._charAt(cursor);
  1462. if (yych != 'u') { gotoCase = 171; continue; };
  1463. ++cursor;
  1464. yych = this._charAt(cursor);
  1465. if (yych <= '@') {
  1466. if (yych <= '/') { gotoCase = 171; continue; };
  1467. if (yych >= ':') { gotoCase = 171; continue; };
  1468. } else {
  1469. if (yych <= 'F') { gotoCase = 179; continue; };
  1470. if (yych <= '`') { gotoCase = 171; continue; };
  1471. if (yych >= 'g') { gotoCase = 171; continue; };
  1472. }
  1473. case 179:
  1474. ++cursor;
  1475. yych = this._charAt(cursor);
  1476. if (yych <= '@') {
  1477. if (yych <= '/') { gotoCase = 171; continue; };
  1478. if (yych >= ':') { gotoCase = 171; continue; };
  1479. } else {
  1480. if (yych <= 'F') { gotoCase = 180; continue; };
  1481. if (yych <= '`') { gotoCase = 171; continue; };
  1482. if (yych >= 'g') { gotoCase = 171; continue; };
  1483. }
  1484. case 180:
  1485. ++cursor;
  1486. yych = this._charAt(cursor);
  1487. if (yych <= '@') {
  1488. if (yych <= '/') { gotoCase = 171; continue; };
  1489. if (yych >= ':') { gotoCase = 171; continue; };
  1490. } else {
  1491. if (yych <= 'F') { gotoCase = 181; continue; };
  1492. if (yych <= '`') { gotoCase = 171; continue; };
  1493. if (yych >= 'g') { gotoCase = 171; continue; };
  1494. }
  1495. case 181:
  1496. ++cursor;
  1497. yych = this._charAt(cursor);
  1498. if (yych <= '@') {
  1499. if (yych <= '/') { gotoCase = 171; continue; };
  1500. if (yych <= '9') { gotoCase = 175; continue; };
  1501. { gotoCase = 171; continue; };
  1502. } else {
  1503. if (yych <= 'F') { gotoCase = 175; continue; };
  1504. if (yych <= '`') { gotoCase = 171; continue; };
  1505. if (yych <= 'f') { gotoCase = 175; continue; };
  1506. { gotoCase = 171; continue; };
  1507. }
  1508. case 182:
  1509. yych = this._charAt(++cursor);
  1510. if (yych <= '<') { gotoCase = 145; continue; };
  1511. if (yych <= '=') { gotoCase = 169; continue; };
  1512. if (yych >= '?') { gotoCase = 145; continue; };
  1513. yych = this._charAt(++cursor);
  1514. if (yych == '=') { gotoCase = 169; continue; };
  1515. { gotoCase = 145; continue; };
  1516. case 184:
  1517. yych = this._charAt(++cursor);
  1518. if (yych == '=') { gotoCase = 169; continue; };
  1519. { gotoCase = 145; continue; };
  1520. case 185:
  1521. yych = this._charAt(++cursor);
  1522. if (yych == '=') { gotoCase = 169; continue; };
  1523. { gotoCase = 145; continue; };
  1524. case 186:
  1525. yyaccept = 2;
  1526. YYMARKER = ++cursor;
  1527. yych = this._charAt(cursor);
  1528. if (yych <= '9') {
  1529. if (yych == '.') { gotoCase = 189; continue; };
  1530. if (yych <= '/') { gotoCase = 161; continue; };
  1531. { gotoCase = 186; continue; };
  1532. } else {
  1533. if (yych <= 'E') {
  1534. if (yych <= 'D') { gotoCase = 161; continue; };
  1535. } else {
  1536. if (yych != 'e') { gotoCase = 161; continue; };
  1537. }
  1538. }
  1539. case 188:
  1540. yych = this._charAt(++cursor);
  1541. if (yych <= ',') {
  1542. if (yych == '+') { gotoCase = 195; continue; };
  1543. { gotoCase = 171; continue; };
  1544. } else {
  1545. if (yych <= '-') { gotoCase = 195; continue; };
  1546. if (yych <= '/') { gotoCase = 171; continue; };
  1547. if (yych <= '9') { gotoCase = 196; continue; };
  1548. { gotoCase = 171; continue; };
  1549. }
  1550. case 189:
  1551. yyaccept = 2;
  1552. YYMARKER = ++cursor;
  1553. yych = this._charAt(cursor);
  1554. if (yych <= 'D') {
  1555. if (yych <= '/') { gotoCase = 161; continue; };
  1556. if (yych <= '9') { gotoCase = 189; continue; };
  1557. { gotoCase = 161; continue; };
  1558. } else {
  1559. if (yych <= 'E') { gotoCase = 191; continue; };
  1560. if (yych != 'e') { gotoCase = 161; continue; };
  1561. }
  1562. case 191:
  1563. yych = this._charAt(++cursor);
  1564. if (yych <= ',') {
  1565. if (yych != '+') { gotoCase = 171; continue; };
  1566. } else {
  1567. if (yych <= '-') { gotoCase = 192; continue; };
  1568. if (yych <= '/') { gotoCase = 171; continue; };
  1569. if (yych <= '9') { gotoCase = 193; continue; };
  1570. { gotoCase = 171; continue; };
  1571. }
  1572. case 192:
  1573. yych = this._charAt(++cursor);
  1574. if (yych <= '/') { gotoCase = 171; continue; };
  1575. if (yych >= ':') { gotoCase = 171; continue; };
  1576. case 193:
  1577. ++cursor;
  1578. yych = this._charAt(cursor);
  1579. if (yych <= '/') { gotoCase = 161; continue; };
  1580. if (yych <= '9') { gotoCase = 193; continue; };
  1581. { gotoCase = 161; continue; };
  1582. case 195:
  1583. yych = this._charAt(++cursor);
  1584. if (yych <= '/') { gotoCase = 171; continue; };
  1585. if (yych >= ':') { gotoCase = 171; continue; };
  1586. case 196:
  1587. ++cursor;
  1588. yych = this._charAt(cursor);
  1589. if (yych <= '/') { gotoCase = 161; continue; };
  1590. if (yych <= '9') { gotoCase = 196; continue; };
  1591. { gotoCase = 161; continue; };
  1592. case 198:
  1593. ++cursor;
  1594. yych = this._charAt(cursor);
  1595. if (yych <= '/') { gotoCase = 161; continue; };
  1596. if (yych <= '7') { gotoCase = 198; continue; };
  1597. { gotoCase = 161; continue; };
  1598. case 200:
  1599. yych = this._charAt(++cursor);
  1600. if (yych <= '@') {
  1601. if (yych <= '/') { gotoCase = 171; continue; };
  1602. if (yych >= ':') { gotoCase = 171; continue; };
  1603. } else {
  1604. if (yych <= 'F') { gotoCase = 201; continue; };
  1605. if (yych <= '`') { gotoCase = 171; continue; };
  1606. if (yych >= 'g') { gotoCase = 171; continue; };
  1607. }
  1608. case 201:
  1609. ++cursor;
  1610. yych = this._charAt(cursor);
  1611. if (yych <= '@') {
  1612. if (yych <= '/') { gotoCase = 161; continue; };
  1613. if (yych <= '9') { gotoCase = 201; continue; };
  1614. { gotoCase = 161; continue; };
  1615. } else {
  1616. if (yych <= 'F') { gotoCase = 201; continue; };
  1617. if (yych <= '`') { gotoCase = 161; continue; };
  1618. if (yych <= 'f') { gotoCase = 201; continue; };
  1619. { gotoCase = 161; continue; };
  1620. }
  1621. case 203:
  1622. ++cursor;
  1623. yych = this._charAt(cursor);
  1624. if (yych <= '.') {
  1625. if (yych <= '\n') {
  1626. if (yych <= '\t') { gotoCase = 203; continue; };
  1627. { gotoCase = 171; continue; };
  1628. } else {
  1629. if (yych == '\r') { gotoCase = 171; continue; };
  1630. { gotoCase = 203; continue; };
  1631. }
  1632. } else {
  1633. if (yych <= '[') {
  1634. if (yych <= '/') { gotoCase = 226; continue; };
  1635. if (yych <= 'Z') { gotoCase = 203; continue; };
  1636. { gotoCase = 234; continue; };
  1637. } else {
  1638. if (yych <= '\\') { gotoCase = 233; continue; };
  1639. if (yych <= ']') { gotoCase = 171; continue; };
  1640. { gotoCase = 203; continue; };
  1641. }
  1642. }
  1643. case 205:
  1644. yych = this._charAt(++cursor);
  1645. if (yych == '\n') { gotoCase = 171; continue; };
  1646. if (yych == '\r') { gotoCase = 171; continue; };
  1647. { gotoCase = 203; continue; };
  1648. case 206:
  1649. ++cursor;
  1650. yych = this._charAt(cursor);
  1651. if (yych <= '*') {
  1652. if (yych <= '\f') {
  1653. if (yych == '\n') { gotoCase = 171; continue; };
  1654. { gotoCase = 206; continue; };
  1655. } else {
  1656. if (yych <= '\r') { gotoCase = 171; continue; };
  1657. if (yych <= ')') { gotoCase = 206; continue; };
  1658. { gotoCase = 171; continue; };
  1659. }
  1660. } else {
  1661. if (yych <= '[') {
  1662. if (yych == '/') { gotoCase = 171; continue; };
  1663. { gotoCase = 206; continue; };
  1664. } else {
  1665. if (yych <= '\\') { gotoCase = 221; continue; };
  1666. if (yych <= ']') { gotoCase = 219; continue; };
  1667. { gotoCase = 206; continue; };
  1668. }
  1669. }
  1670. case 208:
  1671. ++cursor;
  1672. yych = this._charAt(cursor);
  1673. if (yych <= '\f') {
  1674. if (yych == '\n') { gotoCase = 215; continue; };
  1675. { gotoCase = 208; continue; };
  1676. } else {
  1677. if (yych <= '\r') { gotoCase = 215; continue; };
  1678. if (yych == '*') { gotoCase = 213; continue; };
  1679. { gotoCase = 208; continue; };
  1680. }
  1681. case 210:
  1682. ++cursor;
  1683. yych = this._charAt(cursor);
  1684. if (yych == '\n') { gotoCase = 212; continue; };
  1685. if (yych != '\r') { gotoCase = 210; continue; };
  1686. case 212:
  1687. { this.tokenType = "javascript-comment"; return cursor; }
  1688. case 213:
  1689. ++cursor;
  1690. yych = this._charAt(cursor);
  1691. if (yych == '*') { gotoCase = 213; continue; };
  1692. if (yych == '/') { gotoCase = 217; continue; };
  1693. { gotoCase = 208; continue; };
  1694. case 215:
  1695. ++cursor;
  1696. this.setLexCondition(this._lexConditions.COMMENT);
  1697. { this.tokenType = "javascript-comment"; return cursor; }
  1698. case 217:
  1699. ++cursor;
  1700. { this.tokenType = "javascript-comment"; return cursor; }
  1701. case 219:
  1702. ++cursor;
  1703. yych = this._charAt(cursor);
  1704. if (yych <= '*') {
  1705. if (yych <= '\f') {
  1706. if (yych == '\n') { gotoCase = 171; continue; };
  1707. { gotoCase = 219; continue; };
  1708. } else {
  1709. if (yych <= '\r') { gotoCase = 171; continue; };
  1710. if (yych <= ')') { gotoCase = 219; continue; };
  1711. { gotoCase = 203; continue; };
  1712. }
  1713. } else {
  1714. if (yych <= 'Z') {
  1715. if (yych == '/') { gotoCase = 226; continue; };
  1716. { gotoCase = 219; continue; };
  1717. } else {
  1718. if (yych <= '[') { gotoCase = 224; continue; };
  1719. if (yych <= '\\') { gotoCase = 222; continue; };
  1720. { gotoCase = 219; continue; };
  1721. }
  1722. }
  1723. case 221:
  1724. ++cursor;
  1725. yych = this._charAt(cursor);
  1726. if (yych == '\n') { gotoCase = 171; continue; };
  1727. if (yych == '\r') { gotoCase = 171; continue; };
  1728. { gotoCase = 206; continue; };
  1729. case 222:
  1730. yyaccept = 3;
  1731. YYMARKER = ++cursor;
  1732. yych = this._charAt(cursor);
  1733. if (yych == '\n') { gotoCase = 223; continue; };
  1734. if (yych != '\r') { gotoCase = 219; continue; };
  1735. case 223:
  1736. this.setLexCondition(this._lexConditions.REGEX);
  1737. { this.tokenType = "javascript-regexp"; return cursor; }
  1738. case 224:
  1739. ++cursor;
  1740. yych = this._charAt(cursor);
  1741. if (yych <= '*') {
  1742. if (yych <= '\f') {
  1743. if (yych == '\n') { gotoCase = 171; continue; };
  1744. { gotoCase = 224; continue; };
  1745. } else {
  1746. if (yych <= '\r') { gotoCase = 171; continue; };
  1747. if (yych <= ')') { gotoCase = 224; continue; };
  1748. { gotoCase = 171; continue; };
  1749. }
  1750. } else {
  1751. if (yych <= '[') {
  1752. if (yych == '/') { gotoCase = 171; continue; };
  1753. { gotoCase = 224; continue; };
  1754. } else {
  1755. if (yych <= '\\') { gotoCase = 231; continue; };
  1756. if (yych <= ']') { gotoCase = 229; continue; };
  1757. { gotoCase = 224; continue; };
  1758. }
  1759. }
  1760. case 226:
  1761. ++cursor;
  1762. yych = this._charAt(cursor);
  1763. if (yych <= 'h') {
  1764. if (yych == 'g') { gotoCase = 226; continue; };
  1765. } else {
  1766. if (yych <= 'i') { gotoCase = 226; continue; };
  1767. if (yych == 'm') { gotoCase = 226; continue; };
  1768. }
  1769. { this.tokenType = "javascript-regexp"; return cursor; }
  1770. case 229:
  1771. ++cursor;
  1772. yych = this._charAt(cursor);
  1773. if (yych <= '*') {
  1774. if (yych <= '\f') {
  1775. if (yych == '\n') { gotoCase = 171; continue; };
  1776. { gotoCase = 229; continue; };
  1777. } else {
  1778. if (yych <= '\r') { gotoCase = 171; continue; };
  1779. if (yych <= ')') { gotoCase = 229; continue; };
  1780. { gotoCase = 203; continue; };
  1781. }
  1782. } else {
  1783. if (yych <= 'Z') {
  1784. if (yych == '/') { gotoCase = 226; continue; };
  1785. { gotoCase = 229; continue; };
  1786. } else {
  1787. if (yych <= '[') { gotoCase = 224; continue; };
  1788. if (yych <= '\\') { gotoCase = 232; continue; };
  1789. { gotoCase = 229; continue; };
  1790. }
  1791. }
  1792. case 231:
  1793. ++cursor;
  1794. yych = this._charAt(cursor);
  1795. if (yych == '\n') { gotoCase = 171; continue; };
  1796. if (yych == '\r') { gotoCase = 171; continue; };
  1797. { gotoCase = 224; continue; };
  1798. case 232:
  1799. yyaccept = 3;
  1800. YYMARKER = ++cursor;
  1801. yych = this._charAt(cursor);
  1802. if (yych == '\n') { gotoCase = 223; continue; };
  1803. if (yych == '\r') { gotoCase = 223; continue; };
  1804. { gotoCase = 229; continue; };
  1805. case 233:
  1806. yyaccept = 3;
  1807. YYMARKER = ++cursor;
  1808. yych = this._charAt(cursor);
  1809. if (yych == '\n') { gotoCase = 223; continue; };
  1810. if (yych == '\r') { gotoCase = 223; continue; };
  1811. { gotoCase = 203; continue; };
  1812. case 234:
  1813. ++cursor;
  1814. yych = this._charAt(cursor);
  1815. if (yych <= '*') {
  1816. if (yych <= '\f') {
  1817. if (yych == '\n') { gotoCase = 171; continue; };
  1818. { gotoCase = 234; continue; };
  1819. } else {
  1820. if (yych <= '\r') { gotoCase = 171; continue; };
  1821. if (yych <= ')') { gotoCase = 234; continue; };
  1822. { gotoCase = 171; continue; };
  1823. }
  1824. } else {
  1825. if (yych <= '[') {
  1826. if (yych == '/') { gotoCase = 171; continue; };
  1827. { gotoCase = 234; continue; };
  1828. } else {
  1829. if (yych <= '\\') { gotoCase = 238; continue; };
  1830. if (yych >= '^') { gotoCase = 234; continue; };
  1831. }
  1832. }
  1833. case 236:
  1834. ++cursor;
  1835. yych = this._charAt(cursor);
  1836. if (yych <= '*') {
  1837. if (yych <= '\f') {
  1838. if (yych == '\n') { gotoCase = 171; continue; };
  1839. { gotoCase = 236; continue; };
  1840. } else {
  1841. if (yych <= '\r') { gotoCase = 171; continue; };
  1842. if (yych <= ')') { gotoCase = 236; continue; };
  1843. { gotoCase = 203; continue; };
  1844. }
  1845. } else {
  1846. if (yych <= 'Z') {
  1847. if (yych == '/') { gotoCase = 226; continue; };
  1848. { gotoCase = 236; continue; };
  1849. } else {
  1850. if (yych <= '[') { gotoCase = 234; continue; };
  1851. if (yych <= '\\') { gotoCase = 239; continue; };
  1852. { gotoCase = 236; continue; };
  1853. }
  1854. }
  1855. case 238:
  1856. ++cursor;
  1857. yych = this._charAt(cursor);
  1858. if (yych == '\n') { gotoCase = 171; continue; };
  1859. if (yych == '\r') { gotoCase = 171; continue; };
  1860. { gotoCase = 234; continue; };
  1861. case 239:
  1862. yyaccept = 3;
  1863. YYMARKER = ++cursor;
  1864. yych = this._charAt(cursor);
  1865. if (yych == '\n') { gotoCase = 223; continue; };
  1866. if (yych == '\r') { gotoCase = 223; continue; };
  1867. { gotoCase = 236; continue; };
  1868. case 240:
  1869. yyaccept = 2;
  1870. YYMARKER = ++cursor;
  1871. yych = this._charAt(cursor);
  1872. if (yych <= 'D') {
  1873. if (yych <= '/') { gotoCase = 161; continue; };
  1874. if (yych <= '9') { gotoCase = 240; continue; };
  1875. { gotoCase = 161; continue; };
  1876. } else {
  1877. if (yych <= 'E') { gotoCase = 242; continue; };
  1878. if (yych != 'e') { gotoCase = 161; continue; };
  1879. }
  1880. case 242:
  1881. yych = this._charAt(++cursor);
  1882. if (yych <= ',') {
  1883. if (yych != '+') { gotoCase = 171; continue; };
  1884. } else {
  1885. if (yych <= '-') { gotoCase = 243; continue; };
  1886. if (yych <= '/') { gotoCase = 171; continue; };
  1887. if (yych <= '9') { gotoCase = 244; continue; };
  1888. { gotoCase = 171; continue; };
  1889. }
  1890. case 243:
  1891. yych = this._charAt(++cursor);
  1892. if (yych <= '/') { gotoCase = 171; continue; };
  1893. if (yych >= ':') { gotoCase = 171; continue; };
  1894. case 244:
  1895. ++cursor;
  1896. yych = this._charAt(cursor);
  1897. if (yych <= '/') { gotoCase = 161; continue; };
  1898. if (yych <= '9') { gotoCase = 244; continue; };
  1899. { gotoCase = 161; continue; };
  1900. case 246:
  1901. ++cursor;
  1902. yych = this._charAt(cursor);
  1903. case 247:
  1904. if (yych <= '\r') {
  1905. if (yych == '\n') { gotoCase = 171; continue; };
  1906. if (yych <= '\f') { gotoCase = 246; continue; };
  1907. { gotoCase = 171; continue; };
  1908. } else {
  1909. if (yych <= '\'') {
  1910. if (yych <= '&') { gotoCase = 246; continue; };
  1911. { gotoCase = 249; continue; };
  1912. } else {
  1913. if (yych != '\\') { gotoCase = 246; continue; };
  1914. }
  1915. }
  1916. ++cursor;
  1917. yych = this._charAt(cursor);
  1918. if (yych <= 'a') {
  1919. if (yych <= '!') {
  1920. if (yych <= '\n') {
  1921. if (yych <= '\t') { gotoCase = 171; continue; };
  1922. { gotoCase = 252; continue; };
  1923. } else {
  1924. if (yych == '\r') { gotoCase = 252; continue; };
  1925. { gotoCase = 171; continue; };
  1926. }
  1927. } else {
  1928. if (yych <= '\'') {
  1929. if (yych <= '"') { gotoCase = 246; continue; };
  1930. if (yych <= '&') { gotoCase = 171; continue; };
  1931. { gotoCase = 246; continue; };
  1932. } else {
  1933. if (yych == '\\') { gotoCase = 246; continue; };
  1934. { gotoCase = 171; continue; };
  1935. }
  1936. }
  1937. } else {
  1938. if (yych <= 'q') {
  1939. if (yych <= 'f') {
  1940. if (yych <= 'b') { gotoCase = 246; continue; };
  1941. if (yych <= 'e') { gotoCase = 171; continue; };
  1942. { gotoCase = 246; continue; };
  1943. } else {
  1944. if (yych == 'n') { gotoCase = 246; continue; };
  1945. { gotoCase = 171; continue; };
  1946. }
  1947. } else {
  1948. if (yych <= 't') {
  1949. if (yych == 's') { gotoCase = 171; continue; };
  1950. { gotoCase = 246; continue; };
  1951. } else {
  1952. if (yych <= 'u') { gotoCase = 251; continue; };
  1953. if (yych <= 'v') { gotoCase = 246; continue; };
  1954. { gotoCase = 171; continue; };
  1955. }
  1956. }
  1957. }
  1958. case 249:
  1959. ++cursor;
  1960. { this.tokenType = "javascript-string"; return cursor; }
  1961. case 251:
  1962. ++cursor;
  1963. yych = this._charAt(cursor);
  1964. if (yych <= '@') {
  1965. if (yych <= '/') { gotoCase = 171; continue; };
  1966. if (yych <= '9') { gotoCase = 254; continue; };
  1967. { gotoCase = 171; continue; };
  1968. } else {
  1969. if (yych <= 'F') { gotoCase = 254; continue; };
  1970. if (yych <= '`') { gotoCase = 171; continue; };
  1971. if (yych <= 'f') { gotoCase = 254; continue; };
  1972. { gotoCase = 171; continue; };
  1973. }
  1974. case 252:
  1975. ++cursor;
  1976. this.setLexCondition(this._lexConditions.SSTRING);
  1977. { this.tokenType = "javascript-string"; return cursor; }
  1978. case 254:
  1979. ++cursor;
  1980. yych = this._charAt(cursor);
  1981. if (yych <= '@') {
  1982. if (yych <= '/') { gotoCase = 171; continue; };
  1983. if (yych >= ':') { gotoCase = 171; continue; };
  1984. } else {
  1985. if (yych <= 'F') { gotoCase = 255; continue; };
  1986. if (yych <= '`') { gotoCase = 171; continue; };
  1987. if (yych >= 'g') { gotoCase = 171; continue; };
  1988. }
  1989. case 255:
  1990. ++cursor;
  1991. yych = this._charAt(cursor);
  1992. if (yych <= '@') {
  1993. if (yych <= '/') { gotoCase = 171; continue; };
  1994. if (yych >= ':') { gotoCase = 171; continue; };
  1995. } else {
  1996. if (yych <= 'F') { gotoCase = 256; continue; };
  1997. if (yych <= '`') { gotoCase = 171; continue; };
  1998. if (yych >= 'g') { gotoCase = 171; continue; };
  1999. }
  2000. case 256:
  2001. ++cursor;
  2002. yych = this._charAt(cursor);
  2003. if (yych <= '@') {
  2004. if (yych <= '/') { gotoCase = 171; continue; };
  2005. if (yych <= '9') { gotoCase = 246; continue; };
  2006. { gotoCase = 171; continue; };
  2007. } else {
  2008. if (yych <= 'F') { gotoCase = 246; continue; };
  2009. if (yych <= '`') { gotoCase = 171; continue; };
  2010. if (yych <= 'f') { gotoCase = 246; continue; };
  2011. { gotoCase = 171; continue; };
  2012. }
  2013. case 257:
  2014. ++cursor;
  2015. yych = this._charAt(cursor);
  2016. case 258:
  2017. if (yych <= '\r') {
  2018. if (yych == '\n') { gotoCase = 171; continue; };
  2019. if (yych <= '\f') { gotoCase = 257; continue; };
  2020. { gotoCase = 171; continue; };
  2021. } else {
  2022. if (yych <= '"') {
  2023. if (yych <= '!') { gotoCase = 257; continue; };
  2024. { gotoCase = 249; continue; };
  2025. } else {
  2026. if (yych != '\\') { gotoCase = 257; continue; };
  2027. }
  2028. }
  2029. ++cursor;
  2030. yych = this._charAt(cursor);
  2031. if (yych <= 'a') {
  2032. if (yych <= '!') {
  2033. if (yych <= '\n') {
  2034. if (yych <= '\t') { gotoCase = 171; continue; };
  2035. { gotoCase = 261; continue; };
  2036. } else {
  2037. if (yych == '\r') { gotoCase = 261; continue; };
  2038. { gotoCase = 171; continue; };
  2039. }
  2040. } else {
  2041. if (yych <= '\'') {
  2042. if (yych <= '"') { gotoCase = 257; continue; };
  2043. if (yych <= '&') { gotoCase = 171; continue; };
  2044. { gotoCase = 257; continue; };
  2045. } else {
  2046. if (yych == '\\') { gotoCase = 257; continue; };
  2047. { gotoCase = 171; continue; };
  2048. }
  2049. }
  2050. } else {
  2051. if (yych <= 'q') {
  2052. if (yych <= 'f') {
  2053. if (yych <= 'b') { gotoCase = 257; continue; };
  2054. if (yych <= 'e') { gotoCase = 171; continue; };
  2055. { gotoCase = 257; continue; };
  2056. } else {
  2057. if (yych == 'n') { gotoCase = 257; continue; };
  2058. { gotoCase = 171; continue; };
  2059. }
  2060. } else {
  2061. if (yych <= 't') {
  2062. if (yych == 's') { gotoCase = 171; continue; };
  2063. { gotoCase = 257; continue; };
  2064. } else {
  2065. if (yych <= 'u') { gotoCase = 260; continue; };
  2066. if (yych <= 'v') { gotoCase = 257; continue; };
  2067. { gotoCase = 171; continue; };
  2068. }
  2069. }
  2070. }
  2071. case 260:
  2072. ++cursor;
  2073. yych = this._charAt(cursor);
  2074. if (yych <= '@') {
  2075. if (yych <= '/') { gotoCase = 171; continue; };
  2076. if (yych <= '9') { gotoCase = 263; continue; };
  2077. { gotoCase = 171; continue; };
  2078. } else {
  2079. if (yych <= 'F') { gotoCase = 263; continue; };
  2080. if (yych <= '`') { gotoCase = 171; continue; };
  2081. if (yych <= 'f') { gotoCase = 263; continue; };
  2082. { gotoCase = 171; continue; };
  2083. }
  2084. case 261:
  2085. ++cursor;
  2086. this.setLexCondition(this._lexConditions.DSTRING);
  2087. { this.tokenType = "javascript-string"; return cursor; }
  2088. case 263:
  2089. ++cursor;
  2090. yych = this._charAt(cursor);
  2091. if (yych <= '@') {
  2092. if (yych <= '/') { gotoCase = 171; continue; };
  2093. if (yych >= ':') { gotoCase = 171; continue; };
  2094. } else {
  2095. if (yych <= 'F') { gotoCase = 264; continue; };
  2096. if (yych <= '`') { gotoCase = 171; continue; };
  2097. if (yych >= 'g') { gotoCase = 171; continue; };
  2098. }
  2099. case 264:
  2100. ++cursor;
  2101. yych = this._charAt(cursor);
  2102. if (yych <= '@') {
  2103. if (yych <= '/') { gotoCase = 171; continue; };
  2104. if (yych >= ':') { gotoCase = 171; continue; };
  2105. } else {
  2106. if (yych <= 'F') { gotoCase = 265; continue; };
  2107. if (yych <= '`') { gotoCase = 171; continue; };
  2108. if (yych >= 'g') { gotoCase = 171; continue; };
  2109. }
  2110. case 265:
  2111. ++cursor;
  2112. yych = this._charAt(cursor);
  2113. if (yych <= '@') {
  2114. if (yych <= '/') { gotoCase = 171; continue; };
  2115. if (yych <= '9') { gotoCase = 257; continue; };
  2116. { gotoCase = 171; continue; };
  2117. } else {
  2118. if (yych <= 'F') { gotoCase = 257; continue; };
  2119. if (yych <= '`') { gotoCase = 171; continue; };
  2120. if (yych <= 'f') { gotoCase = 257; continue; };
  2121. { gotoCase = 171; continue; };
  2122. }
  2123. case 266:
  2124. yych = this._charAt(++cursor);
  2125. if (yych == '=') { gotoCase = 169; continue; };
  2126. { gotoCase = 145; continue; };
  2127. case 267:
  2128. ++cursor;
  2129. yych = this._charAt(cursor);
  2130. case 268:
  2131. if (yych == ' ') { gotoCase = 267; continue; };
  2132. { gotoCase = 143; continue; };
  2133. /* *********************************** */
  2134. case this.case_REGEX:
  2135. yych = this._charAt(cursor);
  2136. if (yych <= '.') {
  2137. if (yych <= '\n') {
  2138. if (yych <= '\t') { gotoCase = 272; continue; };
  2139. { gotoCase = 273; continue; };
  2140. } else {
  2141. if (yych == '\r') { gotoCase = 273; continue; };
  2142. { gotoCase = 272; continue; };
  2143. }
  2144. } else {
  2145. if (yych <= '[') {
  2146. if (yych <= '/') { gotoCase = 275; continue; };
  2147. if (yych <= 'Z') { gotoCase = 272; continue; };
  2148. { gotoCase = 277; continue; };
  2149. } else {
  2150. if (yych <= '\\') { gotoCase = 278; continue; };
  2151. if (yych <= ']') { gotoCase = 273; continue; };
  2152. { gotoCase = 272; continue; };
  2153. }
  2154. }
  2155. case 271:
  2156. { this.tokenType = "javascript-regexp"; return cursor; }
  2157. case 272:
  2158. yyaccept = 0;
  2159. yych = this._charAt(YYMARKER = ++cursor);
  2160. { gotoCase = 280; continue; };
  2161. case 273:
  2162. ++cursor;
  2163. case 274:
  2164. { this.tokenType = null; return cursor; }
  2165. case 275:
  2166. ++cursor;
  2167. yych = this._charAt(cursor);
  2168. { gotoCase = 286; continue; };
  2169. case 276:
  2170. this.setLexCondition(this._lexConditions.NODIV);
  2171. { this.tokenType = "javascript-regexp"; return cursor; }
  2172. case 277:
  2173. yyaccept = 1;
  2174. yych = this._charAt(YYMARKER = ++cursor);
  2175. if (yych <= '\r') {
  2176. if (yych == '\n') { gotoCase = 274; continue; };
  2177. if (yych <= '\f') { gotoCase = 284; continue; };
  2178. { gotoCase = 274; continue; };
  2179. } else {
  2180. if (yych <= '*') {
  2181. if (yych <= ')') { gotoCase = 284; continue; };
  2182. { gotoCase = 274; continue; };
  2183. } else {
  2184. if (yych == '/') { gotoCase = 274; continue; };
  2185. { gotoCase = 284; continue; };
  2186. }
  2187. }
  2188. case 278:
  2189. yych = this._charAt(++cursor);
  2190. if (yych == '\n') { gotoCase = 274; continue; };
  2191. if (yych == '\r') { gotoCase = 274; continue; };
  2192. case 279:
  2193. yyaccept = 0;
  2194. YYMARKER = ++cursor;
  2195. yych = this._charAt(cursor);
  2196. case 280:
  2197. if (yych <= '.') {
  2198. if (yych <= '\n') {
  2199. if (yych <= '\t') { gotoCase = 279; continue; };
  2200. { gotoCase = 271; continue; };
  2201. } else {
  2202. if (yych == '\r') { gotoCase = 271; continue; };
  2203. { gotoCase = 279; continue; };
  2204. }
  2205. } else {
  2206. if (yych <= '[') {
  2207. if (yych <= '/') { gotoCase = 285; continue; };
  2208. if (yych <= 'Z') { gotoCase = 279; continue; };
  2209. { gotoCase = 283; continue; };
  2210. } else {
  2211. if (yych <= '\\') { gotoCase = 281; continue; };
  2212. if (yych <= ']') { gotoCase = 271; continue; };
  2213. { gotoCase = 279; continue; };
  2214. }
  2215. }
  2216. case 281:
  2217. ++cursor;
  2218. yych = this._charAt(cursor);
  2219. if (yych == '\n') { gotoCase = 282; continue; };
  2220. if (yych != '\r') { gotoCase = 279; continue; };
  2221. case 282:
  2222. cursor = YYMARKER;
  2223. if (yyaccept <= 0) {
  2224. { gotoCase = 271; continue; };
  2225. } else {
  2226. { gotoCase = 274; continue; };
  2227. }
  2228. case 283:
  2229. ++cursor;
  2230. yych = this._charAt(cursor);
  2231. case 284:
  2232. if (yych <= '*') {
  2233. if (yych <= '\f') {
  2234. if (yych == '\n') { gotoCase = 282; continue; };
  2235. { gotoCase = 283; continue; };
  2236. } else {
  2237. if (yych <= '\r') { gotoCase = 282; continue; };
  2238. if (yych <= ')') { gotoCase = 283; continue; };
  2239. { gotoCase = 282; continue; };
  2240. }
  2241. } else {
  2242. if (yych <= '[') {
  2243. if (yych == '/') { gotoCase = 282; continue; };
  2244. { gotoCase = 283; continue; };
  2245. } else {
  2246. if (yych <= '\\') { gotoCase = 289; continue; };
  2247. if (yych <= ']') { gotoCase = 287; continue; };
  2248. { gotoCase = 283; continue; };
  2249. }
  2250. }
  2251. case 285:
  2252. ++cursor;
  2253. yych = this._charAt(cursor);
  2254. case 286:
  2255. if (yych <= 'h') {
  2256. if (yych == 'g') { gotoCase = 285; continue; };
  2257. { gotoCase = 276; continue; };
  2258. } else {
  2259. if (yych <= 'i') { gotoCase = 285; continue; };
  2260. if (yych == 'm') { gotoCase = 285; continue; };
  2261. { gotoCase = 276; continue; };
  2262. }
  2263. case 287:
  2264. yyaccept = 0;
  2265. YYMARKER = ++cursor;
  2266. yych = this._charAt(cursor);
  2267. if (yych <= '*') {
  2268. if (yych <= '\f') {
  2269. if (yych == '\n') { gotoCase = 271; continue; };
  2270. { gotoCase = 287; continue; };
  2271. } else {
  2272. if (yych <= '\r') { gotoCase = 271; continue; };
  2273. if (yych <= ')') { gotoCase = 287; continue; };
  2274. { gotoCase = 279; continue; };
  2275. }
  2276. } else {
  2277. if (yych <= 'Z') {
  2278. if (yych == '/') { gotoCase = 285; continue; };
  2279. { gotoCase = 287; continue; };
  2280. } else {
  2281. if (yych <= '[') { gotoCase = 283; continue; };
  2282. if (yych <= '\\') { gotoCase = 290; continue; };
  2283. { gotoCase = 287; continue; };
  2284. }
  2285. }
  2286. case 289:
  2287. ++cursor;
  2288. yych = this._charAt(cursor);
  2289. if (yych == '\n') { gotoCase = 282; continue; };
  2290. if (yych == '\r') { gotoCase = 282; continue; };
  2291. { gotoCase = 283; continue; };
  2292. case 290:
  2293. ++cursor;
  2294. yych = this._charAt(cursor);
  2295. if (yych == '\n') { gotoCase = 282; continue; };
  2296. if (yych == '\r') { gotoCase = 282; continue; };
  2297. { gotoCase = 287; continue; };
  2298. /* *********************************** */
  2299. case this.case_SSTRING:
  2300. yych = this._charAt(cursor);
  2301. if (yych <= '\r') {
  2302. if (yych == '\n') { gotoCase = 295; continue; };
  2303. if (yych <= '\f') { gotoCase = 294; continue; };
  2304. { gotoCase = 295; continue; };
  2305. } else {
  2306. if (yych <= '\'') {
  2307. if (yych <= '&') { gotoCase = 294; continue; };
  2308. { gotoCase = 297; continue; };
  2309. } else {
  2310. if (yych == '\\') { gotoCase = 299; continue; };
  2311. { gotoCase = 294; continue; };
  2312. }
  2313. }
  2314. case 293:
  2315. { this.tokenType = "javascript-string"; return cursor; }
  2316. case 294:
  2317. yyaccept = 0;
  2318. yych = this._charAt(YYMARKER = ++cursor);
  2319. { gotoCase = 301; continue; };
  2320. case 295:
  2321. ++cursor;
  2322. case 296:
  2323. { this.tokenType = null; return cursor; }
  2324. case 297:
  2325. ++cursor;
  2326. case 298:
  2327. this.setLexCondition(this._lexConditions.NODIV);
  2328. { this.tokenType = "javascript-string"; return cursor; }
  2329. case 299:
  2330. yyaccept = 1;
  2331. yych = this._charAt(YYMARKER = ++cursor);
  2332. if (yych <= 'e') {
  2333. if (yych <= '\'') {
  2334. if (yych == '"') { gotoCase = 300; continue; };
  2335. if (yych <= '&') { gotoCase = 296; continue; };
  2336. } else {
  2337. if (yych <= '\\') {
  2338. if (yych <= '[') { gotoCase = 296; continue; };
  2339. } else {
  2340. if (yych != 'b') { gotoCase = 296; continue; };
  2341. }
  2342. }
  2343. } else {
  2344. if (yych <= 'r') {
  2345. if (yych <= 'm') {
  2346. if (yych >= 'g') { gotoCase = 296; continue; };
  2347. } else {
  2348. if (yych <= 'n') { gotoCase = 300; continue; };
  2349. if (yych <= 'q') { gotoCase = 296; continue; };
  2350. }
  2351. } else {
  2352. if (yych <= 't') {
  2353. if (yych <= 's') { gotoCase = 296; continue; };
  2354. } else {
  2355. if (yych <= 'u') { gotoCase = 302; continue; };
  2356. if (yych >= 'w') { gotoCase = 296; continue; };
  2357. }
  2358. }
  2359. }
  2360. case 300:
  2361. yyaccept = 0;
  2362. YYMARKER = ++cursor;
  2363. yych = this._charAt(cursor);
  2364. case 301:
  2365. if (yych <= '\r') {
  2366. if (yych == '\n') { gotoCase = 293; continue; };
  2367. if (yych <= '\f') { gotoCase = 300; continue; };
  2368. { gotoCase = 293; continue; };
  2369. } else {
  2370. if (yych <= '\'') {
  2371. if (yych <= '&') { gotoCase = 300; continue; };
  2372. { gotoCase = 308; continue; };
  2373. } else {
  2374. if (yych == '\\') { gotoCase = 307; continue; };
  2375. { gotoCase = 300; continue; };
  2376. }
  2377. }
  2378. case 302:
  2379. ++cursor;
  2380. yych = this._charAt(cursor);
  2381. if (yych <= '@') {
  2382. if (yych <= '/') { gotoCase = 303; continue; };
  2383. if (yych <= '9') { gotoCase = 304; continue; };
  2384. } else {
  2385. if (yych <= 'F') { gotoCase = 304; continue; };
  2386. if (yych <= '`') { gotoCase = 303; continue; };
  2387. if (yych <= 'f') { gotoCase = 304; continue; };
  2388. }
  2389. case 303:
  2390. cursor = YYMARKER;
  2391. if (yyaccept <= 0) {
  2392. { gotoCase = 293; continue; };
  2393. } else {
  2394. { gotoCase = 296; continue; };
  2395. }
  2396. case 304:
  2397. ++cursor;
  2398. yych = this._charAt(cursor);
  2399. if (yych <= '@') {
  2400. if (yych <= '/') { gotoCase = 303; continue; };
  2401. if (yych >= ':') { gotoCase = 303; continue; };
  2402. } else {
  2403. if (yych <= 'F') { gotoCase = 305; continue; };
  2404. if (yych <= '`') { gotoCase = 303; continue; };
  2405. if (yych >= 'g') { gotoCase = 303; continue; };
  2406. }
  2407. case 305:
  2408. ++cursor;
  2409. yych = this._charAt(cursor);
  2410. if (yych <= '@') {
  2411. if (yych <= '/') { gotoCase = 303; continue; };
  2412. if (yych >= ':') { gotoCase = 303; continue; };
  2413. } else {
  2414. if (yych <= 'F') { gotoCase = 306; continue; };
  2415. if (yych <= '`') { gotoCase = 303; continue; };
  2416. if (yych >= 'g') { gotoCase = 303; continue; };
  2417. }
  2418. case 306:
  2419. ++cursor;
  2420. yych = this._charAt(cursor);
  2421. if (yych <= '@') {
  2422. if (yych <= '/') { gotoCase = 303; continue; };
  2423. if (yych <= '9') { gotoCase = 300; continue; };
  2424. { gotoCase = 303; continue; };
  2425. } else {
  2426. if (yych <= 'F') { gotoCase = 300; continue; };
  2427. if (yych <= '`') { gotoCase = 303; continue; };
  2428. if (yych <= 'f') { gotoCase = 300; continue; };
  2429. { gotoCase = 303; continue; };
  2430. }
  2431. case 307:
  2432. ++cursor;
  2433. yych = this._charAt(cursor);
  2434. if (yych <= 'e') {
  2435. if (yych <= '\'') {
  2436. if (yych == '"') { gotoCase = 300; continue; };
  2437. if (yych <= '&') { gotoCase = 303; continue; };
  2438. { gotoCase = 300; continue; };
  2439. } else {
  2440. if (yych <= '\\') {
  2441. if (yych <= '[') { gotoCase = 303; continue; };
  2442. { gotoCase = 300; continue; };
  2443. } else {
  2444. if (yych == 'b') { gotoCase = 300; continue; };
  2445. { gotoCase = 303; continue; };
  2446. }
  2447. }
  2448. } else {
  2449. if (yych <= 'r') {
  2450. if (yych <= 'm') {
  2451. if (yych <= 'f') { gotoCase = 300; continue; };
  2452. { gotoCase = 303; continue; };
  2453. } else {
  2454. if (yych <= 'n') { gotoCase = 300; continue; };
  2455. if (yych <= 'q') { gotoCase = 303; continue; };
  2456. { gotoCase = 300; continue; };
  2457. }
  2458. } else {
  2459. if (yych <= 't') {
  2460. if (yych <= 's') { gotoCase = 303; continue; };
  2461. { gotoCase = 300; continue; };
  2462. } else {
  2463. if (yych <= 'u') { gotoCase = 302; continue; };
  2464. if (yych <= 'v') { gotoCase = 300; continue; };
  2465. { gotoCase = 303; continue; };
  2466. }
  2467. }
  2468. }
  2469. case 308:
  2470. ++cursor;
  2471. yych = this._charAt(cursor);
  2472. { gotoCase = 298; continue; };
  2473. }
  2474. }
  2475. },
  2476. __proto__: WebInspector.SourceTokenizer.prototype
  2477. }