initial import
[vuplus_webkit] / Source / WebCore / inspector / front-end / SourceCSSTokenizer.js
1 /* Generated by re2c 0.13.5 on Fri May  6 13:46:34 2011 */
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 //
34 // re2c -isc WebCore/inspector/front-end/SourceCSSTokenizer.re2js \
35 // | sed 's|^yy\([^:]*\)*\:|case \1:|' \
36 // | sed 's|[*]cursor[+][+]|this._charAt(cursor++)|' \
37 // | sed 's|[[*][+][+]cursor|this._charAt(++cursor)|' \
38 // | sed 's|[*]cursor|this._charAt(cursor)|' \
39 // | sed 's|yych = \*\([^;]*\)|yych = this._charAt\1|' \
40 // | sed 's|{ gotoCase = \([^; continue; };]*\)|{ gotoCase = \1; continue; }|' \
41 // | sed 's|unsigned\ int|var|' \
42 // | sed 's|var\ yych|case 1: case 1: var yych|'
43
44 WebInspector.SourceCSSTokenizer = function()
45 {
46     WebInspector.SourceTokenizer.call(this);
47
48     this._propertyKeywords = WebInspector.cssNameCompletions.keySet();
49
50     this._valueKeywords = [
51         "above", "absolute", "activeborder", "activecaption", "afar", "after-white-space", "ahead", "alias", "all", "all-scroll",
52         "alternate", "always","amharic", "amharic-abegede", "antialiased", "appworkspace", "aqua", "arabic-indic", "armenian", "asterisks",
53         "auto", "avoid", "background", "backwards", "baseline", "below", "bidi-override", "binary", "bengali", "black", "blink",
54         "block", "block-axis", "blue", "bold", "bolder", "border", "border-box", "both", "bottom", "break-all", "break-word", "button",
55         "button-bevel", "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "cambodian", "capitalize", "caps-lock-indicator",
56         "caption", "captiontext", "caret", "cell", "center", "checkbox", "circle", "cjk-earthly-branch", "cjk-heavenly-stem", "cjk-ideographic",
57         "clear", "clip", "close-quote", "col-resize", "collapse", "compact", "condensed", "contain", "content", "content-box", "context-menu",
58         "continuous", "copy", "cover", "crop", "cross", "crosshair", "currentcolor", "cursive", "dashed", "decimal", "decimal-leading-zero", "default",
59         "default-button", "destination-atop", "destination-in", "destination-out", "destination-over", "devanagari", "disc", "discard", "document",
60         "dot-dash", "dot-dot-dash", "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out", "element",
61         "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede", "ethiopic-abegede-am-et", "ethiopic-abegede-gez",
62         "ethiopic-abegede-ti-er", "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er", "ethiopic-halehame-aa-et",
63         "ethiopic-halehame-am-et", "ethiopic-halehame-gez", "ethiopic-halehame-om-et", "ethiopic-halehame-sid-et",
64         "ethiopic-halehame-so-et", "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig", "ew-resize", "expanded",
65         "extra-condensed", "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "footnotes", "forwards", "from", "fuchsia", "geometricPrecision",
66         "georgian", "gray", "graytext", "green", "grey", "groove", "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew", "help",
67         "hidden", "hide", "higher", "highlight", "highlighttext", "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
68         "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", "infobackground", "infotext", "inherit", "initial", "inline",
69         "inline-axis", "inline-block", "inline-table", "inset", "inside", "intrinsic", "invert", "italic", "justify", "kannada", "katakana",
70         "katakana-iroha", "khmer", "landscape", "lao", "large", "larger", "left", "level", "lighter", "lime", "line-through", "linear", "lines",
71         "list-button", "list-item", "listbox", "listitem", "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian", "lower-greek",
72         "lower-hexadecimal", "lower-latin", "lower-norwegian", "lower-roman", "lowercase", "ltr", "malayalam", "maroon", "match", "media-controls-background",
73         "media-current-time-display", "media-fullscreen-button", "media-mute-button", "media-play-button", "media-return-to-realtime-button",
74         "media-rewind-button", "media-seek-back-button", "media-seek-forward-button", "media-slider", "media-sliderthumb", "media-time-remaining-display",
75         "media-volume-slider", "media-volume-slider-container", "media-volume-sliderthumb", "medium", "menu", "menulist", "menulist-button",
76         "menulist-text", "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic", "mix", "mongolian", "monospace", "move", "multiple",
77         "myanmar", "n-resize", "narrower", "navy", "ne-resize", "nesw-resize", "no-close-quote", "no-drop", "no-open-quote", "no-repeat", "none",
78         "normal", "not-allowed", "nowrap", "ns-resize", "nw-resize", "nwse-resize", "oblique", "octal", "olive", "open-quote", "optimizeLegibility",
79         "optimizeSpeed", "orange", "oriya", "oromo", "outset", "outside", "overlay", "overline", "padding", "padding-box", "painted", "paused",
80         "persian", "plus-darker", "plus-lighter", "pointer", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "purple",
81         "push-button", "radio", "read-only", "read-write", "read-write-plaintext-only", "red", "relative", "repeat", "repeat-x",
82         "repeat-y", "reset", "reverse", "rgb", "rgba", "ridge", "right", "round", "row-resize", "rtl", "run-in", "running", "s-resize", "sans-serif",
83         "scroll", "scrollbar", "se-resize", "searchfield", "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button",
84         "searchfield-results-decoration", "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama", "silver", "single",
85         "skip-white-space", "slide", "slider-horizontal", "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
86         "small", "small-caps", "small-caption", "smaller", "solid", "somali", "source-atop", "source-in", "source-out", "source-over",
87         "space", "square", "square-button", "start", "static", "status-bar", "stretch", "stroke", "sub", "subpixel-antialiased", "super",
88         "sw-resize", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group",
89         "table-row", "table-row-group", "teal", "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai", "thick", "thin",
90         "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er", "tigrinya-er-abegede",
91         "tigrinya-et", "tigrinya-et-abegede", "to", "top", "transparent", "ultra-condensed", "ultra-expanded", "underline", "up", "upper-alpha", "upper-armenian",
92         "upper-greek", "upper-hexadecimal", "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url", "vertical", "vertical-text", "visible",
93         "visibleFill", "visiblePainted", "visibleStroke", "visual", "w-resize", "wait", "wave", "white", "wider", "window", "windowframe", "windowtext",
94         "x-large", "x-small", "xor", "xx-large", "xx-small", "yellow", "-wap-marquee", "-webkit-activelink", "-webkit-auto", "-webkit-baseline-middle",
95         "-webkit-body", "-webkit-box", "-webkit-center", "-webkit-control", "-webkit-focus-ring-color", "-webkit-grab", "-webkit-grabbing",
96         "-webkit-gradient", "-webkit-inline-box", "-webkit-left", "-webkit-link", "-webkit-marquee", "-webkit-mini-control", "-webkit-nowrap", "-webkit-pictograph",
97         "-webkit-right", "-webkit-small-control", "-webkit-text", "-webkit-xxx-large", "-webkit-zoom-in", "-webkit-zoom-out",
98     ].keySet();
99
100     this._mediaTypes = ["all", "aural", "braille", "embossed", "handheld", "import", "print", "projection", "screen", "tty", "tv"].keySet();
101
102     this._lexConditions = {
103         INITIAL: 0,
104         COMMENT: 1,
105         DSTRING: 2,
106         SSTRING: 3
107     };
108
109     this._parseConditions = {
110         INITIAL: 0,
111         PROPERTY: 1,
112         PROPERTY_VALUE: 2,
113         AT_RULE: 3
114     };
115
116     this.case_INITIAL = 1000;
117     this.case_COMMENT = 1002;
118     this.case_DSTRING = 1003;
119     this.case_SSTRING = 1004;
120
121     this.condition = this.createInitialCondition();
122 }
123
124 WebInspector.SourceCSSTokenizer.prototype = {
125     createInitialCondition: function()
126     {
127         return { lexCondition: this._lexConditions.INITIAL, parseCondition: this._parseConditions.INITIAL };
128     },
129
130     _stringToken: function(cursor, stringEnds)
131     {
132         if (this._isPropertyValue())
133             this.tokenType = "css-string";
134         else
135             this.tokenType = null;
136         return cursor;
137     },
138
139     _isPropertyValue: function()
140     {
141         return this._condition.parseCondition === this._parseConditions.PROPERTY_VALUE || this._condition.parseCondition === this._parseConditions.AT_RULE;
142     },
143
144     nextToken: function(cursor)
145     {
146         var cursorOnEnter = cursor;
147         var gotoCase = 1;
148         while (1) {
149             switch (gotoCase)
150             // Following comment is replaced with generated state machine.
151
152         {
153             case 1: var yych;
154             var yyaccept = 0;
155             if (this.getLexCondition() < 2) {
156                 if (this.getLexCondition() < 1) {
157                     { gotoCase = this.case_INITIAL; continue; };
158                 } else {
159                     { gotoCase = this.case_COMMENT; continue; };
160                 }
161             } else {
162                 if (this.getLexCondition() < 3) {
163                     { gotoCase = this.case_DSTRING; continue; };
164                 } else {
165                     { gotoCase = this.case_SSTRING; continue; };
166                 }
167             }
168 /* *********************************** */
169 case this.case_COMMENT:
170
171             yych = this._charAt(cursor);
172             if (yych <= '\f') {
173                 if (yych == '\n') { gotoCase = 4; continue; };
174                 { gotoCase = 3; continue; };
175             } else {
176                 if (yych <= '\r') { gotoCase = 4; continue; };
177                 if (yych == '*') { gotoCase = 6; continue; };
178                 { gotoCase = 3; continue; };
179             }
180 case 2:
181             { this.tokenType = "css-comment"; return cursor; }
182 case 3:
183             yyaccept = 0;
184             yych = this._charAt(YYMARKER = ++cursor);
185             { gotoCase = 12; continue; };
186 case 4:
187             ++cursor;
188             { this.tokenType = null; return cursor; }
189 case 6:
190             yyaccept = 1;
191             yych = this._charAt(YYMARKER = ++cursor);
192             if (yych == '*') { gotoCase = 9; continue; };
193             if (yych != '/') { gotoCase = 11; continue; };
194 case 7:
195             ++cursor;
196             this.setLexCondition(this._lexConditions.INITIAL);
197             { this.tokenType = "css-comment"; return cursor; }
198 case 9:
199             ++cursor;
200             yych = this._charAt(cursor);
201             if (yych == '*') { gotoCase = 9; continue; };
202             if (yych == '/') { gotoCase = 7; continue; };
203 case 11:
204             yyaccept = 0;
205             YYMARKER = ++cursor;
206             yych = this._charAt(cursor);
207 case 12:
208             if (yych <= '\f') {
209                 if (yych == '\n') { gotoCase = 2; continue; };
210                 { gotoCase = 11; continue; };
211             } else {
212                 if (yych <= '\r') { gotoCase = 2; continue; };
213                 if (yych == '*') { gotoCase = 9; continue; };
214                 { gotoCase = 11; continue; };
215             }
216 /* *********************************** */
217 case this.case_DSTRING:
218             yych = this._charAt(cursor);
219             if (yych <= '\r') {
220                 if (yych == '\n') { gotoCase = 17; continue; };
221                 if (yych <= '\f') { gotoCase = 16; continue; };
222                 { gotoCase = 17; continue; };
223             } else {
224                 if (yych <= '"') {
225                     if (yych <= '!') { gotoCase = 16; continue; };
226                     { gotoCase = 19; continue; };
227                 } else {
228                     if (yych == '\\') { gotoCase = 21; continue; };
229                     { gotoCase = 16; continue; };
230                 }
231             }
232 case 15:
233             { return this._stringToken(cursor); }
234 case 16:
235             yyaccept = 0;
236             yych = this._charAt(YYMARKER = ++cursor);
237             { gotoCase = 23; continue; };
238 case 17:
239             ++cursor;
240 case 18:
241             { this.tokenType = null; return cursor; }
242 case 19:
243             ++cursor;
244 case 20:
245             this.setLexCondition(this._lexConditions.INITIAL);
246             { return this._stringToken(cursor, true); }
247 case 21:
248             yych = this._charAt(++cursor);
249             if (yych <= 'e') {
250                 if (yych <= '\'') {
251                     if (yych == '"') { gotoCase = 22; continue; };
252                     if (yych <= '&') { gotoCase = 18; continue; };
253                 } else {
254                     if (yych <= '\\') {
255                         if (yych <= '[') { gotoCase = 18; continue; };
256                     } else {
257                         if (yych != 'b') { gotoCase = 18; continue; };
258                     }
259                 }
260             } else {
261                 if (yych <= 'r') {
262                     if (yych <= 'm') {
263                         if (yych >= 'g') { gotoCase = 18; continue; };
264                     } else {
265                         if (yych <= 'n') { gotoCase = 22; continue; };
266                         if (yych <= 'q') { gotoCase = 18; continue; };
267                     }
268                 } else {
269                     if (yych <= 't') {
270                         if (yych <= 's') { gotoCase = 18; continue; };
271                     } else {
272                         if (yych != 'v') { gotoCase = 18; continue; };
273                     }
274                 }
275             }
276 case 22:
277             yyaccept = 0;
278             YYMARKER = ++cursor;
279             yych = this._charAt(cursor);
280 case 23:
281             if (yych <= '\r') {
282                 if (yych == '\n') { gotoCase = 15; continue; };
283                 if (yych <= '\f') { gotoCase = 22; continue; };
284                 { gotoCase = 15; continue; };
285             } else {
286                 if (yych <= '"') {
287                     if (yych <= '!') { gotoCase = 22; continue; };
288                     { gotoCase = 26; continue; };
289                 } else {
290                     if (yych != '\\') { gotoCase = 22; continue; };
291                 }
292             }
293             ++cursor;
294             yych = this._charAt(cursor);
295             if (yych <= 'e') {
296                 if (yych <= '\'') {
297                     if (yych == '"') { gotoCase = 22; continue; };
298                     if (yych >= '\'') { gotoCase = 22; continue; };
299                 } else {
300                     if (yych <= '\\') {
301                         if (yych >= '\\') { gotoCase = 22; continue; };
302                     } else {
303                         if (yych == 'b') { gotoCase = 22; continue; };
304                     }
305                 }
306             } else {
307                 if (yych <= 'r') {
308                     if (yych <= 'm') {
309                         if (yych <= 'f') { gotoCase = 22; continue; };
310                     } else {
311                         if (yych <= 'n') { gotoCase = 22; continue; };
312                         if (yych >= 'r') { gotoCase = 22; continue; };
313                     }
314                 } else {
315                     if (yych <= 't') {
316                         if (yych >= 't') { gotoCase = 22; continue; };
317                     } else {
318                         if (yych == 'v') { gotoCase = 22; continue; };
319                     }
320                 }
321             }
322             cursor = YYMARKER;
323             { gotoCase = 15; continue; };
324 case 26:
325             ++cursor;
326             yych = this._charAt(cursor);
327             { gotoCase = 20; continue; };
328 /* *********************************** */
329 case this.case_INITIAL:
330             yych = this._charAt(cursor);
331             if (yych <= ';') {
332                 if (yych <= '\'') {
333                     if (yych <= '"') {
334                         if (yych <= ' ') { gotoCase = 29; continue; };
335                         if (yych <= '!') { gotoCase = 31; continue; };
336                         { gotoCase = 33; continue; };
337                     } else {
338                         if (yych == '$') { gotoCase = 31; continue; };
339                         if (yych >= '\'') { gotoCase = 34; continue; };
340                     }
341                 } else {
342                     if (yych <= '.') {
343                         if (yych <= ',') { gotoCase = 29; continue; };
344                         if (yych <= '-') { gotoCase = 35; continue; };
345                         { gotoCase = 36; continue; };
346                     } else {
347                         if (yych <= '/') { gotoCase = 37; continue; };
348                         if (yych <= '9') { gotoCase = 38; continue; };
349                         if (yych <= ':') { gotoCase = 40; continue; };
350                         { gotoCase = 42; continue; };
351                     }
352                 }
353             } else {
354                 if (yych <= '^') {
355                     if (yych <= '?') {
356                         if (yych == '=') { gotoCase = 31; continue; };
357                     } else {
358                         if (yych == '\\') { gotoCase = 29; continue; };
359                         if (yych <= ']') { gotoCase = 31; continue; };
360                     }
361                 } else {
362                     if (yych <= 'z') {
363                         if (yych != '`') { gotoCase = 31; continue; };
364                     } else {
365                         if (yych <= '{') { gotoCase = 44; continue; };
366                         if (yych == '}') { gotoCase = 46; continue; };
367                     }
368                 }
369             }
370 case 29:
371             ++cursor;
372 case 30:
373             { this.tokenType = null; return cursor; }
374 case 31:
375             ++cursor;
376             yych = this._charAt(cursor);
377             { gotoCase = 49; continue; };
378 case 32:
379             {
380                     var token = this._line.substring(cursorOnEnter, cursor);
381                     if (this._condition.parseCondition === this._parseConditions.INITIAL) {
382                         if (token === "@import" || token === "@media") {
383                             this.tokenType = "css-at-rule";
384                             this._condition.parseCondition = this._parseConditions.AT_RULE;
385                         } else if (token.indexOf("@") === 0)
386                             this.tokenType = "css-at-rule";
387                         else
388                             this.tokenType = "css-selector";
389                     }
390                     else if (this._condition.parseCondition === this._parseConditions.AT_RULE && token in this._mediaTypes)
391                         this.tokenType = "css-keyword";
392                     else if (this._condition.parseCondition === this._parseConditions.PROPERTY && token in this._propertyKeywords)
393                         this.tokenType = "css-property";
394                     else if (this._isPropertyValue() && token in this._valueKeywords)
395                         this.tokenType = "css-keyword";
396                     else if (token === "!important")
397                         this.tokenType = "css-important";
398                     else
399                         this.tokenType = null;
400                     return cursor;
401                 }
402 case 33:
403             yyaccept = 0;
404             yych = this._charAt(YYMARKER = ++cursor);
405             if (yych <= '-') {
406                 if (yych <= '!') {
407                     if (yych <= '\f') {
408                         if (yych == '\n') { gotoCase = 32; continue; };
409                         { gotoCase = 124; continue; };
410                     } else {
411                         if (yych <= '\r') { gotoCase = 32; continue; };
412                         if (yych <= ' ') { gotoCase = 124; continue; };
413                         { gotoCase = 122; continue; };
414                     }
415                 } else {
416                     if (yych <= '$') {
417                         if (yych <= '"') { gotoCase = 114; continue; };
418                         if (yych <= '#') { gotoCase = 124; continue; };
419                         { gotoCase = 122; continue; };
420                     } else {
421                         if (yych == '\'') { gotoCase = 122; continue; };
422                         if (yych <= ',') { gotoCase = 124; continue; };
423                         { gotoCase = 122; continue; };
424                     }
425                 }
426             } else {
427                 if (yych <= '[') {
428                     if (yych <= '<') {
429                         if (yych <= '.') { gotoCase = 124; continue; };
430                         if (yych <= '9') { gotoCase = 122; continue; };
431                         { gotoCase = 124; continue; };
432                     } else {
433                         if (yych <= '=') { gotoCase = 122; continue; };
434                         if (yych <= '?') { gotoCase = 124; continue; };
435                         { gotoCase = 122; continue; };
436                     }
437                 } else {
438                     if (yych <= '^') {
439                         if (yych <= '\\') { gotoCase = 126; continue; };
440                         if (yych <= ']') { gotoCase = 122; continue; };
441                         { gotoCase = 124; continue; };
442                     } else {
443                         if (yych == '`') { gotoCase = 124; continue; };
444                         if (yych <= 'z') { gotoCase = 122; continue; };
445                         { gotoCase = 124; continue; };
446                     }
447                 }
448             }
449 case 34:
450             yyaccept = 0;
451             yych = this._charAt(YYMARKER = ++cursor);
452             if (yych <= '-') {
453                 if (yych <= '"') {
454                     if (yych <= '\f') {
455                         if (yych == '\n') { gotoCase = 32; continue; };
456                         { gotoCase = 116; continue; };
457                     } else {
458                         if (yych <= '\r') { gotoCase = 32; continue; };
459                         if (yych <= ' ') { gotoCase = 116; continue; };
460                         { gotoCase = 112; continue; };
461                     }
462                 } else {
463                     if (yych <= '&') {
464                         if (yych == '$') { gotoCase = 112; continue; };
465                         { gotoCase = 116; continue; };
466                     } else {
467                         if (yych <= '\'') { gotoCase = 114; continue; };
468                         if (yych <= ',') { gotoCase = 116; continue; };
469                         { gotoCase = 112; continue; };
470                     }
471                 }
472             } else {
473                 if (yych <= '[') {
474                     if (yych <= '<') {
475                         if (yych <= '.') { gotoCase = 116; continue; };
476                         if (yych <= '9') { gotoCase = 112; continue; };
477                         { gotoCase = 116; continue; };
478                     } else {
479                         if (yych <= '=') { gotoCase = 112; continue; };
480                         if (yych <= '?') { gotoCase = 116; continue; };
481                         { gotoCase = 112; continue; };
482                     }
483                 } else {
484                     if (yych <= '^') {
485                         if (yych <= '\\') { gotoCase = 118; continue; };
486                         if (yych <= ']') { gotoCase = 112; continue; };
487                         { gotoCase = 116; continue; };
488                     } else {
489                         if (yych == '`') { gotoCase = 116; continue; };
490                         if (yych <= 'z') { gotoCase = 112; continue; };
491                         { gotoCase = 116; continue; };
492                     }
493                 }
494             }
495 case 35:
496             yyaccept = 0;
497             yych = this._charAt(YYMARKER = ++cursor);
498             if (yych == '.') { gotoCase = 65; continue; };
499             if (yych <= '/') { gotoCase = 49; continue; };
500             if (yych <= '9') { gotoCase = 50; continue; };
501             { gotoCase = 49; continue; };
502 case 36:
503             yych = this._charAt(++cursor);
504             if (yych <= '/') { gotoCase = 30; continue; };
505             if (yych <= '9') { gotoCase = 68; continue; };
506             { gotoCase = 30; continue; };
507 case 37:
508             yyaccept = 0;
509             yych = this._charAt(YYMARKER = ++cursor);
510             if (yych == '*') { gotoCase = 104; continue; };
511             { gotoCase = 49; continue; };
512 case 38:
513             yyaccept = 1;
514             yych = this._charAt(YYMARKER = ++cursor);
515             switch (yych) {
516             case '!':
517             case '"':
518             case '$':
519             case '\'':
520             case '-':
521             case '/':
522             case '=':
523             case '@':
524             case 'A':
525             case 'B':
526             case 'C':
527             case 'D':
528             case 'E':
529             case 'F':
530             case 'G':
531             case 'I':
532             case 'J':
533             case 'K':
534             case 'L':
535             case 'M':
536             case 'N':
537             case 'O':
538             case 'P':
539             case 'Q':
540             case 'R':
541             case 'S':
542             case 'T':
543             case 'U':
544             case 'V':
545             case 'W':
546             case 'X':
547             case 'Y':
548             case 'Z':
549             case '[':
550             case ']':
551             case 'a':
552             case 'b':
553             case 'f':
554             case 'h':
555             case 'j':
556             case 'l':
557             case 'n':
558             case 'o':
559             case 'q':
560             case 'u':
561             case 'v':
562             case 'w':
563             case 'x':
564             case 'y':
565             case 'z':    { gotoCase = 48; continue; };
566             case '%':    { gotoCase = 67; continue; };
567             case '.':    { gotoCase = 65; continue; };
568             case '0':
569             case '1':
570             case '2':
571             case '3':
572             case '4':
573             case '5':
574             case '6':
575             case '7':
576             case '8':
577             case '9':    { gotoCase = 50; continue; };
578             case 'H':    { gotoCase = 52; continue; };
579             case '_':    { gotoCase = 53; continue; };
580             case 'c':    { gotoCase = 54; continue; };
581             case 'd':    { gotoCase = 55; continue; };
582             case 'e':    { gotoCase = 56; continue; };
583             case 'g':    { gotoCase = 57; continue; };
584             case 'i':    { gotoCase = 58; continue; };
585             case 'k':    { gotoCase = 59; continue; };
586             case 'm':    { gotoCase = 60; continue; };
587             case 'p':    { gotoCase = 61; continue; };
588             case 'r':    { gotoCase = 62; continue; };
589             case 's':    { gotoCase = 63; continue; };
590             case 't':    { gotoCase = 64; continue; };
591             default:    { gotoCase = 39; continue; };
592             }
593 case 39:
594             {
595                     if (this._isPropertyValue())
596                         this.tokenType = "css-number";
597                     else
598                         this.tokenType = null;
599                     return cursor;
600                 }
601 case 40:
602             ++cursor;
603             {
604                     this.tokenType = null;
605                     if (this._condition.parseCondition === this._parseConditions.PROPERTY)
606                         this._condition.parseCondition = this._parseConditions.PROPERTY_VALUE;
607                     return cursor;
608                 }
609 case 42:
610             ++cursor;
611             {
612                     this.tokenType = null;
613                     if (this._condition.parseCondition === this._parseConditions.AT_RULE)
614                         this._condition.parseCondition = this._parseConditions.INITIAL;
615                     else
616                         this._condition.parseCondition = this._parseConditions.PROPERTY;
617                     return cursor;
618                 }
619 case 44:
620             ++cursor;
621             {
622                     this.tokenType = null;
623                     if (this._condition.parseCondition === this._parseConditions.AT_RULE)
624                         this._condition.parseCondition = this._parseConditions.INITIAL;
625                     else
626                         this._condition.parseCondition = this._parseConditions.PROPERTY;
627                     return cursor;
628                 }
629 case 46:
630             ++cursor;
631             {
632                     this.tokenType = null;
633                     this._condition.parseCondition = this._parseConditions.INITIAL;
634                     return cursor;
635                 }
636 case 48:
637             ++cursor;
638             yych = this._charAt(cursor);
639 case 49:
640             if (yych <= '9') {
641                 if (yych <= '&') {
642                     if (yych <= '"') {
643                         if (yych <= ' ') { gotoCase = 32; continue; };
644                         { gotoCase = 48; continue; };
645                     } else {
646                         if (yych == '$') { gotoCase = 48; continue; };
647                         { gotoCase = 32; continue; };
648                     }
649                 } else {
650                     if (yych <= ',') {
651                         if (yych <= '\'') { gotoCase = 48; continue; };
652                         { gotoCase = 32; continue; };
653                     } else {
654                         if (yych == '.') { gotoCase = 32; continue; };
655                         { gotoCase = 48; continue; };
656                     }
657                 }
658             } else {
659                 if (yych <= '\\') {
660                     if (yych <= '=') {
661                         if (yych <= '<') { gotoCase = 32; continue; };
662                         { gotoCase = 48; continue; };
663                     } else {
664                         if (yych <= '?') { gotoCase = 32; continue; };
665                         if (yych <= '[') { gotoCase = 48; continue; };
666                         { gotoCase = 32; continue; };
667                     }
668                 } else {
669                     if (yych <= '_') {
670                         if (yych == '^') { gotoCase = 32; continue; };
671                         { gotoCase = 48; continue; };
672                     } else {
673                         if (yych <= '`') { gotoCase = 32; continue; };
674                         if (yych <= 'z') { gotoCase = 48; continue; };
675                         { gotoCase = 32; continue; };
676                     }
677                 }
678             }
679 case 50:
680             yyaccept = 1;
681             YYMARKER = ++cursor;
682             yych = this._charAt(cursor);
683             switch (yych) {
684             case '!':
685             case '"':
686             case '$':
687             case '\'':
688             case '-':
689             case '/':
690             case '=':
691             case '@':
692             case 'A':
693             case 'B':
694             case 'C':
695             case 'D':
696             case 'E':
697             case 'F':
698             case 'G':
699             case 'I':
700             case 'J':
701             case 'K':
702             case 'L':
703             case 'M':
704             case 'N':
705             case 'O':
706             case 'P':
707             case 'Q':
708             case 'R':
709             case 'S':
710             case 'T':
711             case 'U':
712             case 'V':
713             case 'W':
714             case 'X':
715             case 'Y':
716             case 'Z':
717             case '[':
718             case ']':
719             case 'a':
720             case 'b':
721             case 'f':
722             case 'h':
723             case 'j':
724             case 'l':
725             case 'n':
726             case 'o':
727             case 'q':
728             case 'u':
729             case 'v':
730             case 'w':
731             case 'x':
732             case 'y':
733             case 'z':    { gotoCase = 48; continue; };
734             case '%':    { gotoCase = 67; continue; };
735             case '.':    { gotoCase = 65; continue; };
736             case '0':
737             case '1':
738             case '2':
739             case '3':
740             case '4':
741             case '5':
742             case '6':
743             case '7':
744             case '8':
745             case '9':    { gotoCase = 50; continue; };
746             case 'H':    { gotoCase = 52; continue; };
747             case '_':    { gotoCase = 53; continue; };
748             case 'c':    { gotoCase = 54; continue; };
749             case 'd':    { gotoCase = 55; continue; };
750             case 'e':    { gotoCase = 56; continue; };
751             case 'g':    { gotoCase = 57; continue; };
752             case 'i':    { gotoCase = 58; continue; };
753             case 'k':    { gotoCase = 59; continue; };
754             case 'm':    { gotoCase = 60; continue; };
755             case 'p':    { gotoCase = 61; continue; };
756             case 'r':    { gotoCase = 62; continue; };
757             case 's':    { gotoCase = 63; continue; };
758             case 't':    { gotoCase = 64; continue; };
759             default:    { gotoCase = 39; continue; };
760             }
761 case 52:
762             yych = this._charAt(++cursor);
763             if (yych == 'z') { gotoCase = 63; continue; };
764             { gotoCase = 49; continue; };
765 case 53:
766             yych = this._charAt(++cursor);
767             if (yych == '_') { gotoCase = 101; continue; };
768             { gotoCase = 49; continue; };
769 case 54:
770             yych = this._charAt(++cursor);
771             if (yych == 'm') { gotoCase = 63; continue; };
772             { gotoCase = 49; continue; };
773 case 55:
774             yych = this._charAt(++cursor);
775             if (yych == 'e') { gotoCase = 100; continue; };
776             { gotoCase = 49; continue; };
777 case 56:
778             yych = this._charAt(++cursor);
779             if (yych == 'm') { gotoCase = 63; continue; };
780             if (yych == 'x') { gotoCase = 63; continue; };
781             { gotoCase = 49; continue; };
782 case 57:
783             yych = this._charAt(++cursor);
784             if (yych == 'r') { gotoCase = 98; continue; };
785             { gotoCase = 49; continue; };
786 case 58:
787             yych = this._charAt(++cursor);
788             if (yych == 'n') { gotoCase = 63; continue; };
789             { gotoCase = 49; continue; };
790 case 59:
791             yych = this._charAt(++cursor);
792             if (yych == 'H') { gotoCase = 97; continue; };
793             { gotoCase = 49; continue; };
794 case 60:
795             yych = this._charAt(++cursor);
796             if (yych == 'm') { gotoCase = 63; continue; };
797             if (yych == 's') { gotoCase = 63; continue; };
798             { gotoCase = 49; continue; };
799 case 61:
800             yych = this._charAt(++cursor);
801             if (yych <= 's') {
802                 if (yych == 'c') { gotoCase = 63; continue; };
803                 { gotoCase = 49; continue; };
804             } else {
805                 if (yych <= 't') { gotoCase = 63; continue; };
806                 if (yych == 'x') { gotoCase = 63; continue; };
807                 { gotoCase = 49; continue; };
808             }
809 case 62:
810             yych = this._charAt(++cursor);
811             if (yych == 'a') { gotoCase = 95; continue; };
812             if (yych == 'e') { gotoCase = 96; continue; };
813             { gotoCase = 49; continue; };
814 case 63:
815             yych = this._charAt(++cursor);
816             if (yych <= '9') {
817                 if (yych <= '&') {
818                     if (yych <= '"') {
819                         if (yych <= ' ') { gotoCase = 39; continue; };
820                         { gotoCase = 48; continue; };
821                     } else {
822                         if (yych == '$') { gotoCase = 48; continue; };
823                         { gotoCase = 39; continue; };
824                     }
825                 } else {
826                     if (yych <= ',') {
827                         if (yych <= '\'') { gotoCase = 48; continue; };
828                         { gotoCase = 39; continue; };
829                     } else {
830                         if (yych == '.') { gotoCase = 39; continue; };
831                         { gotoCase = 48; continue; };
832                     }
833                 }
834             } else {
835                 if (yych <= '\\') {
836                     if (yych <= '=') {
837                         if (yych <= '<') { gotoCase = 39; continue; };
838                         { gotoCase = 48; continue; };
839                     } else {
840                         if (yych <= '?') { gotoCase = 39; continue; };
841                         if (yych <= '[') { gotoCase = 48; continue; };
842                         { gotoCase = 39; continue; };
843                     }
844                 } else {
845                     if (yych <= '_') {
846                         if (yych == '^') { gotoCase = 39; continue; };
847                         { gotoCase = 48; continue; };
848                     } else {
849                         if (yych <= '`') { gotoCase = 39; continue; };
850                         if (yych <= 'z') { gotoCase = 48; continue; };
851                         { gotoCase = 39; continue; };
852                     }
853                 }
854             }
855 case 64:
856             yych = this._charAt(++cursor);
857             if (yych == 'u') { gotoCase = 93; continue; };
858             { gotoCase = 49; continue; };
859 case 65:
860             yych = this._charAt(++cursor);
861             if (yych <= '/') { gotoCase = 66; continue; };
862             if (yych <= '9') { gotoCase = 68; continue; };
863 case 66:
864             cursor = YYMARKER;
865             if (yyaccept <= 0) {
866                 { gotoCase = 32; continue; };
867             } else {
868                 { gotoCase = 39; continue; };
869             }
870 case 67:
871             yych = this._charAt(++cursor);
872             { gotoCase = 39; continue; };
873 case 68:
874             yyaccept = 1;
875             YYMARKER = ++cursor;
876             yych = this._charAt(cursor);
877             if (yych <= 'f') {
878                 if (yych <= 'H') {
879                     if (yych <= '/') {
880                         if (yych == '%') { gotoCase = 67; continue; };
881                         { gotoCase = 39; continue; };
882                     } else {
883                         if (yych <= '9') { gotoCase = 68; continue; };
884                         if (yych <= 'G') { gotoCase = 39; continue; };
885                         { gotoCase = 80; continue; };
886                     }
887                 } else {
888                     if (yych <= 'b') {
889                         if (yych == '_') { gotoCase = 72; continue; };
890                         { gotoCase = 39; continue; };
891                     } else {
892                         if (yych <= 'c') { gotoCase = 74; continue; };
893                         if (yych <= 'd') { gotoCase = 77; continue; };
894                         if (yych >= 'f') { gotoCase = 39; continue; };
895                     }
896                 }
897             } else {
898                 if (yych <= 'm') {
899                     if (yych <= 'i') {
900                         if (yych <= 'g') { gotoCase = 78; continue; };
901                         if (yych <= 'h') { gotoCase = 39; continue; };
902                         { gotoCase = 76; continue; };
903                     } else {
904                         if (yych == 'k') { gotoCase = 81; continue; };
905                         if (yych <= 'l') { gotoCase = 39; continue; };
906                         { gotoCase = 75; continue; };
907                     }
908                 } else {
909                     if (yych <= 'q') {
910                         if (yych == 'p') { gotoCase = 73; continue; };
911                         { gotoCase = 39; continue; };
912                     } else {
913                         if (yych <= 'r') { gotoCase = 71; continue; };
914                         if (yych <= 's') { gotoCase = 67; continue; };
915                         if (yych <= 't') { gotoCase = 79; continue; };
916                         { gotoCase = 39; continue; };
917                     }
918                 }
919             }
920             yych = this._charAt(++cursor);
921             if (yych == 'm') { gotoCase = 67; continue; };
922             if (yych == 'x') { gotoCase = 67; continue; };
923             { gotoCase = 66; continue; };
924 case 71:
925             yych = this._charAt(++cursor);
926             if (yych == 'a') { gotoCase = 91; continue; };
927             if (yych == 'e') { gotoCase = 92; continue; };
928             { gotoCase = 66; continue; };
929 case 72:
930             yych = this._charAt(++cursor);
931             if (yych == '_') { gotoCase = 88; continue; };
932             { gotoCase = 66; continue; };
933 case 73:
934             yych = this._charAt(++cursor);
935             if (yych <= 's') {
936                 if (yych == 'c') { gotoCase = 67; continue; };
937                 { gotoCase = 66; continue; };
938             } else {
939                 if (yych <= 't') { gotoCase = 67; continue; };
940                 if (yych == 'x') { gotoCase = 67; continue; };
941                 { gotoCase = 66; continue; };
942             }
943 case 74:
944             yych = this._charAt(++cursor);
945             if (yych == 'm') { gotoCase = 67; continue; };
946             { gotoCase = 66; continue; };
947 case 75:
948             yych = this._charAt(++cursor);
949             if (yych == 'm') { gotoCase = 67; continue; };
950             if (yych == 's') { gotoCase = 67; continue; };
951             { gotoCase = 66; continue; };
952 case 76:
953             yych = this._charAt(++cursor);
954             if (yych == 'n') { gotoCase = 67; continue; };
955             { gotoCase = 66; continue; };
956 case 77:
957             yych = this._charAt(++cursor);
958             if (yych == 'e') { gotoCase = 87; continue; };
959             { gotoCase = 66; continue; };
960 case 78:
961             yych = this._charAt(++cursor);
962             if (yych == 'r') { gotoCase = 85; continue; };
963             { gotoCase = 66; continue; };
964 case 79:
965             yych = this._charAt(++cursor);
966             if (yych == 'u') { gotoCase = 83; continue; };
967             { gotoCase = 66; continue; };
968 case 80:
969             yych = this._charAt(++cursor);
970             if (yych == 'z') { gotoCase = 67; continue; };
971             { gotoCase = 66; continue; };
972 case 81:
973             yych = this._charAt(++cursor);
974             if (yych != 'H') { gotoCase = 66; continue; };
975             yych = this._charAt(++cursor);
976             if (yych == 'z') { gotoCase = 67; continue; };
977             { gotoCase = 66; continue; };
978 case 83:
979             yych = this._charAt(++cursor);
980             if (yych != 'r') { gotoCase = 66; continue; };
981             yych = this._charAt(++cursor);
982             if (yych == 'n') { gotoCase = 67; continue; };
983             { gotoCase = 66; continue; };
984 case 85:
985             yych = this._charAt(++cursor);
986             if (yych != 'a') { gotoCase = 66; continue; };
987             yych = this._charAt(++cursor);
988             if (yych == 'd') { gotoCase = 67; continue; };
989             { gotoCase = 66; continue; };
990 case 87:
991             yych = this._charAt(++cursor);
992             if (yych == 'g') { gotoCase = 67; continue; };
993             { gotoCase = 66; continue; };
994 case 88:
995             yych = this._charAt(++cursor);
996             if (yych != 'q') { gotoCase = 66; continue; };
997             yych = this._charAt(++cursor);
998             if (yych != 'e') { gotoCase = 66; continue; };
999             yych = this._charAt(++cursor);
1000             if (yych == 'm') { gotoCase = 67; continue; };
1001             { gotoCase = 66; continue; };
1002 case 91:
1003             yych = this._charAt(++cursor);
1004             if (yych == 'd') { gotoCase = 67; continue; };
1005             { gotoCase = 66; continue; };
1006 case 92:
1007             yych = this._charAt(++cursor);
1008             if (yych == 'm') { gotoCase = 67; continue; };
1009             { gotoCase = 66; continue; };
1010 case 93:
1011             yych = this._charAt(++cursor);
1012             if (yych != 'r') { gotoCase = 49; continue; };
1013             yych = this._charAt(++cursor);
1014             if (yych == 'n') { gotoCase = 63; continue; };
1015             { gotoCase = 49; continue; };
1016 case 95:
1017             yych = this._charAt(++cursor);
1018             if (yych == 'd') { gotoCase = 63; continue; };
1019             { gotoCase = 49; continue; };
1020 case 96:
1021             yych = this._charAt(++cursor);
1022             if (yych == 'm') { gotoCase = 63; continue; };
1023             { gotoCase = 49; continue; };
1024 case 97:
1025             yych = this._charAt(++cursor);
1026             if (yych == 'z') { gotoCase = 63; continue; };
1027             { gotoCase = 49; continue; };
1028 case 98:
1029             yych = this._charAt(++cursor);
1030             if (yych != 'a') { gotoCase = 49; continue; };
1031             yych = this._charAt(++cursor);
1032             if (yych == 'd') { gotoCase = 63; continue; };
1033             { gotoCase = 49; continue; };
1034 case 100:
1035             yych = this._charAt(++cursor);
1036             if (yych == 'g') { gotoCase = 63; continue; };
1037             { gotoCase = 49; continue; };
1038 case 101:
1039             yych = this._charAt(++cursor);
1040             if (yych != 'q') { gotoCase = 49; continue; };
1041             yych = this._charAt(++cursor);
1042             if (yych != 'e') { gotoCase = 49; continue; };
1043             yych = this._charAt(++cursor);
1044             if (yych == 'm') { gotoCase = 63; continue; };
1045             { gotoCase = 49; continue; };
1046 case 104:
1047             ++cursor;
1048             yych = this._charAt(cursor);
1049             if (yych <= '\f') {
1050                 if (yych == '\n') { gotoCase = 108; continue; };
1051                 { gotoCase = 104; continue; };
1052             } else {
1053                 if (yych <= '\r') { gotoCase = 108; continue; };
1054                 if (yych != '*') { gotoCase = 104; continue; };
1055             }
1056 case 106:
1057             ++cursor;
1058             yych = this._charAt(cursor);
1059             if (yych == '*') { gotoCase = 106; continue; };
1060             if (yych == '/') { gotoCase = 110; continue; };
1061             { gotoCase = 104; continue; };
1062 case 108:
1063             ++cursor;
1064             this.setLexCondition(this._lexConditions.COMMENT);
1065             { this.tokenType = "css-comment"; return cursor; }
1066 case 110:
1067             ++cursor;
1068             { this.tokenType = "css-comment"; return cursor; }
1069 case 112:
1070             yyaccept = 0;
1071             YYMARKER = ++cursor;
1072             yych = this._charAt(cursor);
1073             if (yych <= '-') {
1074                 if (yych <= '"') {
1075                     if (yych <= '\f') {
1076                         if (yych == '\n') { gotoCase = 32; continue; };
1077                         { gotoCase = 116; continue; };
1078                     } else {
1079                         if (yych <= '\r') { gotoCase = 32; continue; };
1080                         if (yych <= ' ') { gotoCase = 116; continue; };
1081                         { gotoCase = 112; continue; };
1082                     }
1083                 } else {
1084                     if (yych <= '&') {
1085                         if (yych == '$') { gotoCase = 112; continue; };
1086                         { gotoCase = 116; continue; };
1087                     } else {
1088                         if (yych <= '\'') { gotoCase = 114; continue; };
1089                         if (yych <= ',') { gotoCase = 116; continue; };
1090                         { gotoCase = 112; continue; };
1091                     }
1092                 }
1093             } else {
1094                 if (yych <= '[') {
1095                     if (yych <= '<') {
1096                         if (yych <= '.') { gotoCase = 116; continue; };
1097                         if (yych <= '9') { gotoCase = 112; continue; };
1098                         { gotoCase = 116; continue; };
1099                     } else {
1100                         if (yych <= '=') { gotoCase = 112; continue; };
1101                         if (yych <= '?') { gotoCase = 116; continue; };
1102                         { gotoCase = 112; continue; };
1103                     }
1104                 } else {
1105                     if (yych <= '^') {
1106                         if (yych <= '\\') { gotoCase = 118; continue; };
1107                         if (yych <= ']') { gotoCase = 112; continue; };
1108                         { gotoCase = 116; continue; };
1109                     } else {
1110                         if (yych == '`') { gotoCase = 116; continue; };
1111                         if (yych <= 'z') { gotoCase = 112; continue; };
1112                         { gotoCase = 116; continue; };
1113                     }
1114                 }
1115             }
1116 case 114:
1117             ++cursor;
1118             if ((yych = this._charAt(cursor)) <= '9') {
1119                 if (yych <= '&') {
1120                     if (yych <= '"') {
1121                         if (yych >= '!') { gotoCase = 48; continue; };
1122                     } else {
1123                         if (yych == '$') { gotoCase = 48; continue; };
1124                     }
1125                 } else {
1126                     if (yych <= ',') {
1127                         if (yych <= '\'') { gotoCase = 48; continue; };
1128                     } else {
1129                         if (yych != '.') { gotoCase = 48; continue; };
1130                     }
1131                 }
1132             } else {
1133                 if (yych <= '\\') {
1134                     if (yych <= '=') {
1135                         if (yych >= '=') { gotoCase = 48; continue; };
1136                     } else {
1137                         if (yych <= '?') { gotoCase = 115; continue; };
1138                         if (yych <= '[') { gotoCase = 48; continue; };
1139                     }
1140                 } else {
1141                     if (yych <= '_') {
1142                         if (yych != '^') { gotoCase = 48; continue; };
1143                     } else {
1144                         if (yych <= '`') { gotoCase = 115; continue; };
1145                         if (yych <= 'z') { gotoCase = 48; continue; };
1146                     }
1147                 }
1148             }
1149 case 115:
1150             { return this._stringToken(cursor, true); }
1151 case 116:
1152             ++cursor;
1153             yych = this._charAt(cursor);
1154             if (yych <= '\r') {
1155                 if (yych == '\n') { gotoCase = 66; continue; };
1156                 if (yych <= '\f') { gotoCase = 116; continue; };
1157                 { gotoCase = 66; continue; };
1158             } else {
1159                 if (yych <= '\'') {
1160                     if (yych <= '&') { gotoCase = 116; continue; };
1161                     { gotoCase = 121; continue; };
1162                 } else {
1163                     if (yych != '\\') { gotoCase = 116; continue; };
1164                 }
1165             }
1166 case 118:
1167             ++cursor;
1168             yych = this._charAt(cursor);
1169             if (yych <= 'a') {
1170                 if (yych <= '!') {
1171                     if (yych <= '\n') {
1172                         if (yych <= '\t') { gotoCase = 66; continue; };
1173                     } else {
1174                         if (yych != '\r') { gotoCase = 66; continue; };
1175                     }
1176                 } else {
1177                     if (yych <= '\'') {
1178                         if (yych <= '"') { gotoCase = 116; continue; };
1179                         if (yych <= '&') { gotoCase = 66; continue; };
1180                         { gotoCase = 116; continue; };
1181                     } else {
1182                         if (yych == '\\') { gotoCase = 116; continue; };
1183                         { gotoCase = 66; continue; };
1184                     }
1185                 }
1186             } else {
1187                 if (yych <= 'q') {
1188                     if (yych <= 'f') {
1189                         if (yych <= 'b') { gotoCase = 116; continue; };
1190                         if (yych <= 'e') { gotoCase = 66; continue; };
1191                         { gotoCase = 116; continue; };
1192                     } else {
1193                         if (yych == 'n') { gotoCase = 116; continue; };
1194                         { gotoCase = 66; continue; };
1195                     }
1196                 } else {
1197                     if (yych <= 't') {
1198                         if (yych == 's') { gotoCase = 66; continue; };
1199                         { gotoCase = 116; continue; };
1200                     } else {
1201                         if (yych == 'v') { gotoCase = 116; continue; };
1202                         { gotoCase = 66; continue; };
1203                     }
1204                 }
1205             }
1206             ++cursor;
1207             this.setLexCondition(this._lexConditions.SSTRING);
1208             { return this._stringToken(cursor); }
1209 case 121:
1210             yych = this._charAt(++cursor);
1211             { gotoCase = 115; continue; };
1212 case 122:
1213             yyaccept = 0;
1214             YYMARKER = ++cursor;
1215             yych = this._charAt(cursor);
1216             if (yych <= '-') {
1217                 if (yych <= '!') {
1218                     if (yych <= '\f') {
1219                         if (yych == '\n') { gotoCase = 32; continue; };
1220                     } else {
1221                         if (yych <= '\r') { gotoCase = 32; continue; };
1222                         if (yych >= '!') { gotoCase = 122; continue; };
1223                     }
1224                 } else {
1225                     if (yych <= '$') {
1226                         if (yych <= '"') { gotoCase = 114; continue; };
1227                         if (yych >= '$') { gotoCase = 122; continue; };
1228                     } else {
1229                         if (yych == '\'') { gotoCase = 122; continue; };
1230                         if (yych >= '-') { gotoCase = 122; continue; };
1231                     }
1232                 }
1233             } else {
1234                 if (yych <= '[') {
1235                     if (yych <= '<') {
1236                         if (yych <= '.') { gotoCase = 124; continue; };
1237                         if (yych <= '9') { gotoCase = 122; continue; };
1238                     } else {
1239                         if (yych <= '=') { gotoCase = 122; continue; };
1240                         if (yych >= '@') { gotoCase = 122; continue; };
1241                     }
1242                 } else {
1243                     if (yych <= '^') {
1244                         if (yych <= '\\') { gotoCase = 126; continue; };
1245                         if (yych <= ']') { gotoCase = 122; continue; };
1246                     } else {
1247                         if (yych == '`') { gotoCase = 124; continue; };
1248                         if (yych <= 'z') { gotoCase = 122; continue; };
1249                     }
1250                 }
1251             }
1252 case 124:
1253             ++cursor;
1254             yych = this._charAt(cursor);
1255             if (yych <= '\r') {
1256                 if (yych == '\n') { gotoCase = 66; continue; };
1257                 if (yych <= '\f') { gotoCase = 124; continue; };
1258                 { gotoCase = 66; continue; };
1259             } else {
1260                 if (yych <= '"') {
1261                     if (yych <= '!') { gotoCase = 124; continue; };
1262                     { gotoCase = 121; continue; };
1263                 } else {
1264                     if (yych != '\\') { gotoCase = 124; continue; };
1265                 }
1266             }
1267 case 126:
1268             ++cursor;
1269             yych = this._charAt(cursor);
1270             if (yych <= 'a') {
1271                 if (yych <= '!') {
1272                     if (yych <= '\n') {
1273                         if (yych <= '\t') { gotoCase = 66; continue; };
1274                     } else {
1275                         if (yych != '\r') { gotoCase = 66; continue; };
1276                     }
1277                 } else {
1278                     if (yych <= '\'') {
1279                         if (yych <= '"') { gotoCase = 124; continue; };
1280                         if (yych <= '&') { gotoCase = 66; continue; };
1281                         { gotoCase = 124; continue; };
1282                     } else {
1283                         if (yych == '\\') { gotoCase = 124; continue; };
1284                         { gotoCase = 66; continue; };
1285                     }
1286                 }
1287             } else {
1288                 if (yych <= 'q') {
1289                     if (yych <= 'f') {
1290                         if (yych <= 'b') { gotoCase = 124; continue; };
1291                         if (yych <= 'e') { gotoCase = 66; continue; };
1292                         { gotoCase = 124; continue; };
1293                     } else {
1294                         if (yych == 'n') { gotoCase = 124; continue; };
1295                         { gotoCase = 66; continue; };
1296                     }
1297                 } else {
1298                     if (yych <= 't') {
1299                         if (yych == 's') { gotoCase = 66; continue; };
1300                         { gotoCase = 124; continue; };
1301                     } else {
1302                         if (yych == 'v') { gotoCase = 124; continue; };
1303                         { gotoCase = 66; continue; };
1304                     }
1305                 }
1306             }
1307             ++cursor;
1308             this.setLexCondition(this._lexConditions.DSTRING);
1309             { return this._stringToken(cursor); }
1310 /* *********************************** */
1311 case this.case_SSTRING:
1312             yych = this._charAt(cursor);
1313             if (yych <= '\r') {
1314                 if (yych == '\n') { gotoCase = 133; continue; };
1315                 if (yych <= '\f') { gotoCase = 132; continue; };
1316                 { gotoCase = 133; continue; };
1317             } else {
1318                 if (yych <= '\'') {
1319                     if (yych <= '&') { gotoCase = 132; continue; };
1320                     { gotoCase = 135; continue; };
1321                 } else {
1322                     if (yych == '\\') { gotoCase = 137; continue; };
1323                     { gotoCase = 132; continue; };
1324                 }
1325             }
1326 case 131:
1327             { return this._stringToken(cursor); }
1328 case 132:
1329             yyaccept = 0;
1330             yych = this._charAt(YYMARKER = ++cursor);
1331             { gotoCase = 139; continue; };
1332 case 133:
1333             ++cursor;
1334 case 134:
1335             { this.tokenType = null; return cursor; }
1336 case 135:
1337             ++cursor;
1338 case 136:
1339             this.setLexCondition(this._lexConditions.INITIAL);
1340             { return this._stringToken(cursor, true); }
1341 case 137:
1342             yych = this._charAt(++cursor);
1343             if (yych <= 'e') {
1344                 if (yych <= '\'') {
1345                     if (yych == '"') { gotoCase = 138; continue; };
1346                     if (yych <= '&') { gotoCase = 134; continue; };
1347                 } else {
1348                     if (yych <= '\\') {
1349                         if (yych <= '[') { gotoCase = 134; continue; };
1350                     } else {
1351                         if (yych != 'b') { gotoCase = 134; continue; };
1352                     }
1353                 }
1354             } else {
1355                 if (yych <= 'r') {
1356                     if (yych <= 'm') {
1357                         if (yych >= 'g') { gotoCase = 134; continue; };
1358                     } else {
1359                         if (yych <= 'n') { gotoCase = 138; continue; };
1360                         if (yych <= 'q') { gotoCase = 134; continue; };
1361                     }
1362                 } else {
1363                     if (yych <= 't') {
1364                         if (yych <= 's') { gotoCase = 134; continue; };
1365                     } else {
1366                         if (yych != 'v') { gotoCase = 134; continue; };
1367                     }
1368                 }
1369             }
1370 case 138:
1371             yyaccept = 0;
1372             YYMARKER = ++cursor;
1373             yych = this._charAt(cursor);
1374 case 139:
1375             if (yych <= '\r') {
1376                 if (yych == '\n') { gotoCase = 131; continue; };
1377                 if (yych <= '\f') { gotoCase = 138; continue; };
1378                 { gotoCase = 131; continue; };
1379             } else {
1380                 if (yych <= '\'') {
1381                     if (yych <= '&') { gotoCase = 138; continue; };
1382                     { gotoCase = 142; continue; };
1383                 } else {
1384                     if (yych != '\\') { gotoCase = 138; continue; };
1385                 }
1386             }
1387             ++cursor;
1388             yych = this._charAt(cursor);
1389             if (yych <= 'e') {
1390                 if (yych <= '\'') {
1391                     if (yych == '"') { gotoCase = 138; continue; };
1392                     if (yych >= '\'') { gotoCase = 138; continue; };
1393                 } else {
1394                     if (yych <= '\\') {
1395                         if (yych >= '\\') { gotoCase = 138; continue; };
1396                     } else {
1397                         if (yych == 'b') { gotoCase = 138; continue; };
1398                     }
1399                 }
1400             } else {
1401                 if (yych <= 'r') {
1402                     if (yych <= 'm') {
1403                         if (yych <= 'f') { gotoCase = 138; continue; };
1404                     } else {
1405                         if (yych <= 'n') { gotoCase = 138; continue; };
1406                         if (yych >= 'r') { gotoCase = 138; continue; };
1407                     }
1408                 } else {
1409                     if (yych <= 't') {
1410                         if (yych >= 't') { gotoCase = 138; continue; };
1411                     } else {
1412                         if (yych == 'v') { gotoCase = 138; continue; };
1413                     }
1414                 }
1415             }
1416             cursor = YYMARKER;
1417             { gotoCase = 131; continue; };
1418 case 142:
1419             ++cursor;
1420             yych = this._charAt(cursor);
1421             { gotoCase = 136; continue; };
1422         }
1423
1424         }
1425     }
1426 }
1427
1428 WebInspector.SourceCSSTokenizer.prototype.__proto__ = WebInspector.SourceTokenizer.prototype;