1
/****************************************************************************
3
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
4
** Contact: http://www.qt-project.org/legal
6
** This file is part of the QtGui module of the Qt Toolkit.
8
** $QT_BEGIN_LICENSE:LGPL$
9
** Commercial License Usage
10
** Licensees holding valid commercial Qt licenses may use this file in
11
** accordance with the commercial license agreement provided with the
12
** Software or, alternatively, in accordance with the terms contained in
13
** a written agreement between you and Digia. For licensing terms and
14
** conditions see http://qt.digia.com/licensing. For further information
15
** use the contact form at http://qt.digia.com/contact-us.
17
** GNU Lesser General Public License Usage
18
** Alternatively, this file may be used under the terms of the GNU Lesser
19
** General Public License version 2.1 as published by the Free Software
20
** Foundation and appearing in the file LICENSE.LGPL included in the
21
** packaging of this file. Please review the following information to
22
** ensure the GNU Lesser General Public License version 2.1 requirements
23
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
25
** In addition, as a special exception, Digia gives you certain additional
26
** rights. These rights are described in the Digia Qt LGPL Exception
27
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
29
** GNU General Public License Usage
30
** Alternatively, this file may be used under the terms of the GNU
31
** General Public License version 3.0 as published by the Free Software
32
** Foundation and appearing in the file LICENSE.GPL included in the
33
** packaging of this file. Please review the following information to
34
** ensure the GNU General Public License version 3.0 requirements will be
35
** met: http://www.gnu.org/copyleft/gpl.html.
40
****************************************************************************/
42
// auto generated. DO NOT EDIT.
43
class QCssScanner_Generated
46
QCssScanner_Generated(const QString &inp);
49
return (pos < input.length()) ? input.at(pos++) : QChar();
51
int handleCommentStart();
60
QCssScanner_Generated::QCssScanner_Generated(const QString &inp)
69
int QCssScanner_Generated::lex()
73
int lastAcceptingPos = -1;
79
if (ch.unicode() >= 9 && ch.unicode() <= 10)
81
if (ch.unicode() >= 12 && ch.unicode() <= 13)
83
if (ch.unicode() == 32)
85
if (ch.unicode() == 33) {
86
token = QCss::EXCLAMATION_SYM;
89
if (ch.unicode() == 34)
91
if (ch.unicode() == 35)
93
if (ch.unicode() == 39)
95
if (ch.unicode() == 40) {
99
if (ch.unicode() == 41) {
100
token = QCss::RPAREN;
103
if (ch.unicode() == 42) {
107
if (ch.unicode() == 43)
109
if (ch.unicode() == 44)
111
if (ch.unicode() == 45)
113
if (ch.unicode() == 46)
115
if (ch.unicode() == 47)
117
if (ch.unicode() >= 48 && ch.unicode() <= 57)
119
if (ch.unicode() == 58) {
123
if (ch.unicode() == 59) {
124
token = QCss::SEMICOLON;
127
if (ch.unicode() == 60)
129
if (ch.unicode() == 61) {
133
if (ch.unicode() == 62)
135
if (ch.unicode() == 64)
137
if (ch.unicode() == 91) {
138
token = QCss::LBRACKET;
141
if (ch.unicode() == 92)
143
if (ch.unicode() == 93) {
144
token = QCss::RBRACKET;
147
if (ch.unicode() == 95)
149
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
151
if (ch.unicode() == 123)
153
if (ch.unicode() == 124)
155
if (ch.unicode() == 125) {
156
token = QCss::RBRACE;
159
if (ch.unicode() == 126)
163
lastAcceptingPos = pos;
166
if (ch.unicode() >= 9 && ch.unicode() <= 10)
168
if (ch.unicode() >= 12 && ch.unicode() <= 13)
170
if (ch.unicode() == 32)
172
if (ch.unicode() == 43)
174
if (ch.unicode() == 44)
176
if (ch.unicode() == 62)
178
if (ch.unicode() == 123)
182
lastAcceptingPos = pos;
183
token = QCss::INVALID;
185
if (ch.unicode() >= 1 && ch.unicode() <= 9)
187
if (ch.unicode() == 11)
189
if (ch.unicode() >= 14 && ch.unicode() <= 33)
191
if (ch.unicode() == 34)
193
if (ch.unicode() >= 35 && ch.unicode() <= 91)
195
if (ch.unicode() == 92)
197
if (ch.unicode() >= 93 && ch.unicode() <= 96)
199
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
201
if (ch.unicode() >= 123)
206
if (ch.unicode() == 45)
208
if (ch.unicode() >= 48 && ch.unicode() <= 57)
210
if (ch.unicode() == 92)
212
if (ch.unicode() == 95)
214
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
218
lastAcceptingPos = pos;
219
token = QCss::INVALID;
221
if (ch.unicode() >= 1 && ch.unicode() <= 9)
223
if (ch.unicode() == 11)
225
if (ch.unicode() >= 14 && ch.unicode() <= 38)
227
if (ch.unicode() == 39)
229
if (ch.unicode() >= 40 && ch.unicode() <= 91)
231
if (ch.unicode() == 92)
233
if (ch.unicode() >= 93 && ch.unicode() <= 96)
235
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
237
if (ch.unicode() >= 123)
241
lastAcceptingPos = pos;
245
lastAcceptingPos = pos;
249
lastAcceptingPos = pos;
252
if (ch.unicode() == 45)
254
if (ch.unicode() == 92)
256
if (ch.unicode() == 95)
258
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
262
lastAcceptingPos = pos;
265
if (ch.unicode() >= 48 && ch.unicode() <= 57)
269
lastAcceptingPos = pos;
272
if (ch.unicode() == 42) {
273
token = handleCommentStart();
278
lastAcceptingPos = pos;
279
token = QCss::NUMBER;
281
if (ch.unicode() == 37)
283
if (ch.unicode() == 45)
285
if (ch.unicode() == 46)
287
if (ch.unicode() >= 48 && ch.unicode() <= 57)
289
if (ch.unicode() == 92)
291
if (ch.unicode() == 95)
293
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
298
if (ch.unicode() == 33)
302
lastAcceptingPos = pos;
303
token = QCss::GREATER;
307
if (ch.unicode() == 45)
309
if (ch.unicode() == 92)
311
if (ch.unicode() == 95)
313
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
318
if (ch.unicode() >= 1 && ch.unicode() <= 9)
320
if (ch.unicode() == 11)
322
if (ch.unicode() >= 14 && ch.unicode() <= 47)
324
if (ch.unicode() >= 58 && ch.unicode() <= 96)
326
if (ch.unicode() >= 103)
330
lastAcceptingPos = pos;
333
if (ch.unicode() == 40)
335
if (ch.unicode() == 45)
337
if (ch.unicode() >= 48 && ch.unicode() <= 57)
339
if (ch.unicode() == 92)
341
if (ch.unicode() == 95)
343
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
347
lastAcceptingPos = pos;
348
token = QCss::LBRACE;
351
lastAcceptingPos = pos;
354
if (ch.unicode() == 61) {
355
token = QCss::DASHMATCH;
361
if (ch.unicode() == 61) {
362
token = QCss::INCLUDES;
367
lastAcceptingPos = pos;
370
if (ch.unicode() >= 9 && ch.unicode() <= 10)
372
if (ch.unicode() >= 12 && ch.unicode() <= 13)
374
if (ch.unicode() == 32)
376
if (ch.unicode() == 43)
378
if (ch.unicode() == 44)
380
if (ch.unicode() == 62)
382
if (ch.unicode() == 123)
386
lastAcceptingPos = pos;
387
token = QCss::INVALID;
389
if (ch.unicode() >= 1 && ch.unicode() <= 9)
391
if (ch.unicode() == 11)
393
if (ch.unicode() >= 14 && ch.unicode() <= 33)
395
if (ch.unicode() == 34)
397
if (ch.unicode() >= 35 && ch.unicode() <= 91)
399
if (ch.unicode() == 92)
401
if (ch.unicode() >= 93 && ch.unicode() <= 96)
403
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
405
if (ch.unicode() >= 123)
409
lastAcceptingPos = pos;
410
token = QCss::STRING;
414
if (ch.unicode() >= 1 && ch.unicode() <= 9)
416
if (ch.unicode() == 10)
418
if (ch.unicode() == 11)
420
if (ch.unicode() == 12)
422
if (ch.unicode() == 13)
424
if (ch.unicode() >= 14 && ch.unicode() <= 47)
426
if (ch.unicode() >= 58 && ch.unicode() <= 96)
428
if (ch.unicode() >= 103)
432
lastAcceptingPos = pos;
435
if (ch.unicode() == 45)
437
if (ch.unicode() >= 48 && ch.unicode() <= 57)
439
if (ch.unicode() == 92)
441
if (ch.unicode() == 95)
443
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
448
if (ch.unicode() >= 1 && ch.unicode() <= 9)
450
if (ch.unicode() == 11)
452
if (ch.unicode() >= 14 && ch.unicode() <= 47)
454
if (ch.unicode() >= 58 && ch.unicode() <= 96)
456
if (ch.unicode() >= 103)
460
lastAcceptingPos = pos;
461
token = QCss::INVALID;
463
if (ch.unicode() >= 1 && ch.unicode() <= 9)
465
if (ch.unicode() == 11)
467
if (ch.unicode() >= 14 && ch.unicode() <= 38)
469
if (ch.unicode() == 39)
471
if (ch.unicode() >= 40 && ch.unicode() <= 91)
473
if (ch.unicode() == 92)
475
if (ch.unicode() >= 93 && ch.unicode() <= 96)
477
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
479
if (ch.unicode() >= 123)
483
lastAcceptingPos = pos;
484
token = QCss::STRING;
488
if (ch.unicode() >= 1 && ch.unicode() <= 9)
490
if (ch.unicode() == 10)
492
if (ch.unicode() == 11)
494
if (ch.unicode() == 12)
496
if (ch.unicode() == 13)
498
if (ch.unicode() >= 14 && ch.unicode() <= 47)
500
if (ch.unicode() >= 58 && ch.unicode() <= 96)
502
if (ch.unicode() >= 103)
507
if (ch.unicode() == 62) {
513
lastAcceptingPos = pos;
514
token = QCss::NUMBER;
516
if (ch.unicode() == 37)
518
if (ch.unicode() == 45)
520
if (ch.unicode() >= 48 && ch.unicode() <= 57)
522
if (ch.unicode() == 92)
524
if (ch.unicode() == 95)
526
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
530
lastAcceptingPos = pos;
531
token = QCss::PERCENTAGE;
535
if (ch.unicode() == 92)
537
if (ch.unicode() == 95)
539
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
544
if (ch.unicode() >= 48 && ch.unicode() <= 57)
548
lastAcceptingPos = pos;
549
token = QCss::NUMBER;
551
if (ch.unicode() == 37)
553
if (ch.unicode() == 45)
555
if (ch.unicode() == 46)
557
if (ch.unicode() >= 48 && ch.unicode() <= 57)
559
if (ch.unicode() == 92)
561
if (ch.unicode() == 95)
563
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
568
if (ch.unicode() >= 1 && ch.unicode() <= 9)
570
if (ch.unicode() == 11)
572
if (ch.unicode() >= 14 && ch.unicode() <= 47)
574
if (ch.unicode() >= 58 && ch.unicode() <= 96)
576
if (ch.unicode() >= 103)
580
lastAcceptingPos = pos;
581
token = QCss::LENGTH;
583
if (ch.unicode() == 45)
585
if (ch.unicode() >= 48 && ch.unicode() <= 57)
587
if (ch.unicode() == 92)
589
if (ch.unicode() == 95)
591
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
596
if (ch.unicode() == 45)
601
if (ch.unicode() == 92)
603
if (ch.unicode() == 95)
605
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
610
if (ch.unicode() >= 1 && ch.unicode() <= 9)
612
if (ch.unicode() == 11)
614
if (ch.unicode() >= 14 && ch.unicode() <= 47)
616
if (ch.unicode() >= 58 && ch.unicode() <= 96)
618
if (ch.unicode() >= 103)
622
lastAcceptingPos = pos;
623
token = QCss::ATKEYWORD_SYM;
625
if (ch.unicode() == 45)
627
if (ch.unicode() >= 48 && ch.unicode() <= 57)
629
if (ch.unicode() == 92)
631
if (ch.unicode() == 95)
633
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
637
lastAcceptingPos = pos;
640
if (ch.unicode() == 40)
642
if (ch.unicode() == 45)
644
if (ch.unicode() >= 48 && ch.unicode() <= 57)
646
if (ch.unicode() == 92)
648
if (ch.unicode() == 95)
650
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
654
lastAcceptingPos = pos;
655
token = QCss::FUNCTION;
658
lastAcceptingPos = pos;
661
if (ch.unicode() == 40)
663
if (ch.unicode() == 45)
665
if (ch.unicode() >= 48 && ch.unicode() <= 57)
667
if (ch.unicode() == 92)
669
if (ch.unicode() == 95)
671
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
676
if (ch.unicode() >= 1 && ch.unicode() <= 9)
678
if (ch.unicode() == 11)
680
if (ch.unicode() >= 14 && ch.unicode() <= 47)
682
if (ch.unicode() >= 58 && ch.unicode() <= 96)
684
if (ch.unicode() >= 103)
688
lastAcceptingPos = pos;
689
token = QCss::INVALID;
691
if (ch.unicode() >= 1 && ch.unicode() <= 9)
693
if (ch.unicode() == 11)
695
if (ch.unicode() >= 14 && ch.unicode() <= 33)
697
if (ch.unicode() == 34)
699
if (ch.unicode() >= 35 && ch.unicode() <= 91)
701
if (ch.unicode() == 92)
703
if (ch.unicode() >= 93 && ch.unicode() <= 96)
705
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
707
if (ch.unicode() >= 123)
711
lastAcceptingPos = pos;
712
token = QCss::INVALID;
714
if (ch.unicode() >= 1 && ch.unicode() <= 9)
716
if (ch.unicode() == 11)
718
if (ch.unicode() >= 14 && ch.unicode() <= 33)
720
if (ch.unicode() == 34)
722
if (ch.unicode() >= 35 && ch.unicode() <= 91)
724
if (ch.unicode() == 92)
726
if (ch.unicode() >= 93 && ch.unicode() <= 96)
728
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
730
if (ch.unicode() >= 123)
734
lastAcceptingPos = pos;
735
token = QCss::INVALID;
737
if (ch.unicode() >= 1 && ch.unicode() <= 9)
739
if (ch.unicode() == 11)
741
if (ch.unicode() >= 14 && ch.unicode() <= 33)
743
if (ch.unicode() == 34)
745
if (ch.unicode() >= 35 && ch.unicode() <= 91)
747
if (ch.unicode() == 92)
749
if (ch.unicode() >= 93 && ch.unicode() <= 96)
751
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
753
if (ch.unicode() >= 123)
757
lastAcceptingPos = pos;
758
token = QCss::INVALID;
760
if (ch.unicode() >= 1 && ch.unicode() <= 9)
762
if (ch.unicode() == 10)
764
if (ch.unicode() == 11)
766
if (ch.unicode() >= 14 && ch.unicode() <= 33)
768
if (ch.unicode() == 34)
770
if (ch.unicode() >= 35 && ch.unicode() <= 91)
772
if (ch.unicode() == 92)
774
if (ch.unicode() >= 93 && ch.unicode() <= 96)
776
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
778
if (ch.unicode() >= 123)
782
lastAcceptingPos = pos;
785
if (ch.unicode() == 45)
787
if (ch.unicode() >= 48 && ch.unicode() <= 57)
789
if (ch.unicode() == 92)
791
if (ch.unicode() == 95)
793
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
798
if (ch.unicode() >= 1 && ch.unicode() <= 9)
800
if (ch.unicode() == 11)
802
if (ch.unicode() >= 14 && ch.unicode() <= 47)
804
if (ch.unicode() >= 58 && ch.unicode() <= 96)
806
if (ch.unicode() >= 103)
810
lastAcceptingPos = pos;
813
if (ch.unicode() == 45)
815
if (ch.unicode() >= 48 && ch.unicode() <= 57)
817
if (ch.unicode() == 92)
819
if (ch.unicode() == 95)
821
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
825
lastAcceptingPos = pos;
826
token = QCss::INVALID;
828
if (ch.unicode() >= 1 && ch.unicode() <= 9)
830
if (ch.unicode() == 11)
832
if (ch.unicode() >= 14 && ch.unicode() <= 38)
834
if (ch.unicode() == 39)
836
if (ch.unicode() >= 40 && ch.unicode() <= 91)
838
if (ch.unicode() == 92)
840
if (ch.unicode() >= 93 && ch.unicode() <= 96)
842
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
844
if (ch.unicode() >= 123)
848
lastAcceptingPos = pos;
849
token = QCss::INVALID;
851
if (ch.unicode() >= 1 && ch.unicode() <= 9)
853
if (ch.unicode() == 11)
855
if (ch.unicode() >= 14 && ch.unicode() <= 38)
857
if (ch.unicode() == 39)
859
if (ch.unicode() >= 40 && ch.unicode() <= 91)
861
if (ch.unicode() == 92)
863
if (ch.unicode() >= 93 && ch.unicode() <= 96)
865
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
867
if (ch.unicode() >= 123)
871
lastAcceptingPos = pos;
872
token = QCss::INVALID;
874
if (ch.unicode() >= 1 && ch.unicode() <= 9)
876
if (ch.unicode() == 11)
878
if (ch.unicode() >= 14 && ch.unicode() <= 38)
880
if (ch.unicode() == 39)
882
if (ch.unicode() >= 40 && ch.unicode() <= 91)
884
if (ch.unicode() == 92)
886
if (ch.unicode() >= 93 && ch.unicode() <= 96)
888
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
890
if (ch.unicode() >= 123)
894
lastAcceptingPos = pos;
895
token = QCss::INVALID;
897
if (ch.unicode() >= 1 && ch.unicode() <= 9)
899
if (ch.unicode() == 10)
901
if (ch.unicode() == 11)
903
if (ch.unicode() >= 14 && ch.unicode() <= 38)
905
if (ch.unicode() == 39)
907
if (ch.unicode() >= 40 && ch.unicode() <= 91)
909
if (ch.unicode() == 92)
911
if (ch.unicode() >= 93 && ch.unicode() <= 96)
913
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
915
if (ch.unicode() >= 123)
919
lastAcceptingPos = pos;
920
token = QCss::NUMBER;
922
if (ch.unicode() == 37)
924
if (ch.unicode() == 45)
926
if (ch.unicode() >= 48 && ch.unicode() <= 57)
928
if (ch.unicode() == 92)
930
if (ch.unicode() == 95)
932
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
936
lastAcceptingPos = pos;
937
token = QCss::LENGTH;
939
if (ch.unicode() == 45)
941
if (ch.unicode() >= 48 && ch.unicode() <= 57)
943
if (ch.unicode() == 92)
945
if (ch.unicode() == 95)
947
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
951
lastAcceptingPos = pos;
952
token = QCss::LENGTH;
954
if (ch.unicode() == 45)
956
if (ch.unicode() >= 48 && ch.unicode() <= 57)
958
if (ch.unicode() == 92)
960
if (ch.unicode() == 95)
962
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
967
if (ch.unicode() >= 1 && ch.unicode() <= 9)
969
if (ch.unicode() == 11)
971
if (ch.unicode() >= 14 && ch.unicode() <= 47)
973
if (ch.unicode() >= 58 && ch.unicode() <= 96)
975
if (ch.unicode() >= 103)
980
if (ch.unicode() == 45) {
986
lastAcceptingPos = pos;
987
token = QCss::ATKEYWORD_SYM;
989
if (ch.unicode() == 45)
991
if (ch.unicode() >= 48 && ch.unicode() <= 57)
993
if (ch.unicode() == 92)
995
if (ch.unicode() == 95)
997
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1001
lastAcceptingPos = pos;
1002
token = QCss::ATKEYWORD_SYM;
1004
if (ch.unicode() == 45)
1006
if (ch.unicode() >= 48 && ch.unicode() <= 57)
1008
if (ch.unicode() == 92)
1010
if (ch.unicode() == 95)
1012
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1017
if (ch.unicode() >= 1 && ch.unicode() <= 9)
1019
if (ch.unicode() == 11)
1021
if (ch.unicode() >= 14 && ch.unicode() <= 47)
1023
if (ch.unicode() >= 58 && ch.unicode() <= 96)
1025
if (ch.unicode() >= 103)
1029
lastAcceptingPos = pos;
1030
token = QCss::IDENT;
1032
if (ch.unicode() == 40)
1034
if (ch.unicode() == 45)
1036
if (ch.unicode() >= 48 && ch.unicode() <= 57)
1038
if (ch.unicode() == 92)
1040
if (ch.unicode() == 95)
1042
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1046
lastAcceptingPos = pos;
1047
token = QCss::INVALID;
1049
if (ch.unicode() >= 1 && ch.unicode() <= 9)
1051
if (ch.unicode() == 11)
1053
if (ch.unicode() >= 14 && ch.unicode() <= 33)
1055
if (ch.unicode() == 34)
1057
if (ch.unicode() >= 35 && ch.unicode() <= 91)
1059
if (ch.unicode() == 92)
1061
if (ch.unicode() >= 93 && ch.unicode() <= 96)
1063
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1065
if (ch.unicode() >= 123)
1069
lastAcceptingPos = pos;
1072
if (ch.unicode() == 45)
1074
if (ch.unicode() >= 48 && ch.unicode() <= 57)
1076
if (ch.unicode() == 92)
1078
if (ch.unicode() == 95)
1080
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1084
lastAcceptingPos = pos;
1085
token = QCss::INVALID;
1087
if (ch.unicode() >= 1 && ch.unicode() <= 9)
1089
if (ch.unicode() == 11)
1091
if (ch.unicode() >= 14 && ch.unicode() <= 38)
1093
if (ch.unicode() == 39)
1095
if (ch.unicode() >= 40 && ch.unicode() <= 91)
1097
if (ch.unicode() == 92)
1099
if (ch.unicode() >= 93 && ch.unicode() <= 96)
1101
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1103
if (ch.unicode() >= 123)
1107
lastAcceptingPos = pos;
1108
token = QCss::LENGTH;
1110
if (ch.unicode() == 45)
1112
if (ch.unicode() >= 48 && ch.unicode() <= 57)
1114
if (ch.unicode() == 92)
1116
if (ch.unicode() == 95)
1118
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1122
lastAcceptingPos = pos;
1123
token = QCss::ATKEYWORD_SYM;
1125
if (ch.unicode() == 45)
1127
if (ch.unicode() >= 48 && ch.unicode() <= 57)
1129
if (ch.unicode() == 92)
1131
if (ch.unicode() == 95)
1133
if ((ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256)
1137
lastAcceptingPos = pos;
1140
if (lastAcceptingPos != -1) {
1141
lexemLength = lastAcceptingPos - lexemStart;
1142
pos = lastAcceptingPos;