Debian Codegraph @

src/scanners.rs

raw
1 /* Generated by re2rust 4.3.1 */
2
3 pub fn open_block_directive_fence(s: &str) -> Option<usize> {
4 let mut cursor = 0;
5 let mut marker = 0;
6 let mut ctxmarker = 0;
7 let len = s.len();
8
9 {
10 #[allow(unused_assignments)]
11 let mut yych: u8 = 0;
12 let mut yystate: usize = 0;
13 'yyl: loop {
14 match yystate {
15 0 => {
16 yych = unsafe {
17 if cursor < len {
18 *s.as_bytes().get_unchecked(cursor)
19 } else {
20 255
21 }
22 };
23 cursor += 1;
24 match yych {
25 0x3A => {
26 yystate = 3;
27 continue 'yyl;
28 }
29 _ => {
30 yystate = 1;
31 continue 'yyl;
32 }
33 }
34 }
35 1 => {
36 yystate = 2;
37 continue 'yyl;
38 }
39 2 => {
40 return None;
41 }
42 3 => {
43 marker = cursor;
44 yych = unsafe {
45 if cursor < len {
46 *s.as_bytes().get_unchecked(cursor)
47 } else {
48 255
49 }
50 };
51 match yych {
52 0x3A => {
53 cursor += 1;
54 yystate = 4;
55 continue 'yyl;
56 }
57 _ => {
58 yystate = 2;
59 continue 'yyl;
60 }
61 }
62 }
63 4 => {
64 yych = unsafe {
65 if cursor < len {
66 *s.as_bytes().get_unchecked(cursor)
67 } else {
68 255
69 }
70 };
71 match yych {
72 0x3A => {
73 cursor += 1;
74 yystate = 6;
75 continue 'yyl;
76 }
77 _ => {
78 yystate = 5;
79 continue 'yyl;
80 }
81 }
82 }
83 5 => {
84 cursor = marker;
85 yystate = 2;
86 continue 'yyl;
87 }
88 6 => {
89 yych = unsafe {
90 if cursor < len {
91 *s.as_bytes().get_unchecked(cursor)
92 } else {
93 255
94 }
95 };
96 match yych {
97 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x39 | 0x3B..=0xFE => {
98 ctxmarker = cursor;
99 cursor += 1;
100 yystate = 7;
101 continue 'yyl;
102 }
103 0x3A => {
104 cursor += 1;
105 yystate = 6;
106 continue 'yyl;
107 }
108 _ => {
109 ctxmarker = cursor;
110 cursor += 1;
111 yystate = 8;
112 continue 'yyl;
113 }
114 }
115 }
116 7 => {
117 yych = unsafe {
118 if cursor < len {
119 *s.as_bytes().get_unchecked(cursor)
120 } else {
121 255
122 }
123 };
124 match yych {
125 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x39 | 0x3B..=0xFE => {
126 cursor += 1;
127 yystate = 7;
128 continue 'yyl;
129 }
130 0x3A => {
131 yystate = 5;
132 continue 'yyl;
133 }
134 _ => {
135 cursor += 1;
136 yystate = 8;
137 continue 'yyl;
138 }
139 }
140 }
141 8 => {
142 cursor = ctxmarker;
143 {
144 return Some(cursor);
145 }
146 }
147 _ => panic!("internal lexer error"),
148 }
149 }
150 }
151 }
152
153 pub fn close_block_directive_fence(s: &str) -> Option<usize> {
154 let mut cursor = 0;
155 let mut marker = 0;
156 let mut ctxmarker = 0;
157 let len = s.len();
158
159 {
160 #[allow(unused_assignments)]
161 let mut yych: u8 = 0;
162 let mut yystate: usize = 0;
163 'yyl: loop {
164 match yystate {
165 0 => {
166 yych = unsafe {
167 if cursor < len {
168 *s.as_bytes().get_unchecked(cursor)
169 } else {
170 255
171 }
172 };
173 cursor += 1;
174 match yych {
175 0x3A => {
176 yystate = 3;
177 continue 'yyl;
178 }
179 _ => {
180 yystate = 1;
181 continue 'yyl;
182 }
183 }
184 }
185 1 => {
186 yystate = 2;
187 continue 'yyl;
188 }
189 2 => {
190 return None;
191 }
192 3 => {
193 marker = cursor;
194 yych = unsafe {
195 if cursor < len {
196 *s.as_bytes().get_unchecked(cursor)
197 } else {
198 255
199 }
200 };
201 match yych {
202 0x3A => {
203 cursor += 1;
204 yystate = 4;
205 continue 'yyl;
206 }
207 _ => {
208 yystate = 2;
209 continue 'yyl;
210 }
211 }
212 }
213 4 => {
214 yych = unsafe {
215 if cursor < len {
216 *s.as_bytes().get_unchecked(cursor)
217 } else {
218 255
219 }
220 };
221 match yych {
222 0x3A => {
223 cursor += 1;
224 yystate = 6;
225 continue 'yyl;
226 }
227 _ => {
228 yystate = 5;
229 continue 'yyl;
230 }
231 }
232 }
233 5 => {
234 cursor = marker;
235 yystate = 2;
236 continue 'yyl;
237 }
238 6 => {
239 yych = unsafe {
240 if cursor < len {
241 *s.as_bytes().get_unchecked(cursor)
242 } else {
243 255
244 }
245 };
246 match yych {
247 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x39 | 0x3B..=0xFE => {
248 yystate = 5;
249 continue 'yyl;
250 }
251 0x09 | 0x20 => {
252 ctxmarker = cursor;
253 cursor += 1;
254 yystate = 7;
255 continue 'yyl;
256 }
257 0x3A => {
258 cursor += 1;
259 yystate = 6;
260 continue 'yyl;
261 }
262 _ => {
263 ctxmarker = cursor;
264 cursor += 1;
265 yystate = 8;
266 continue 'yyl;
267 }
268 }
269 }
270 7 => {
271 yych = unsafe {
272 if cursor < len {
273 *s.as_bytes().get_unchecked(cursor)
274 } else {
275 255
276 }
277 };
278 match yych {
279 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
280 yystate = 5;
281 continue 'yyl;
282 }
283 0x09 | 0x20 => {
284 cursor += 1;
285 yystate = 7;
286 continue 'yyl;
287 }
288 _ => {
289 cursor += 1;
290 yystate = 8;
291 continue 'yyl;
292 }
293 }
294 }
295 8 => {
296 cursor = ctxmarker;
297 {
298 return Some(cursor);
299 }
300 }
301 _ => panic!("internal lexer error"),
302 }
303 }
304 }
305 }
306
307 pub fn atx_heading_start(s: &str) -> Option<usize> {
308 let mut cursor = 0;
309 let mut marker = 0;
310 let len = s.len();
311
312 {
313 #[allow(unused_assignments)]
314 let mut yych: u8 = 0;
315 let mut yystate: usize = 0;
316 'yyl: loop {
317 match yystate {
318 0 => {
319 yych = unsafe {
320 if cursor < len {
321 *s.as_bytes().get_unchecked(cursor)
322 } else {
323 255
324 }
325 };
326 cursor += 1;
327 match yych {
328 0x23 => {
329 yystate = 3;
330 continue 'yyl;
331 }
332 _ => {
333 yystate = 1;
334 continue 'yyl;
335 }
336 }
337 }
338 1 => {
339 yystate = 2;
340 continue 'yyl;
341 }
342 2 => {
343 return None;
344 }
345 3 => {
346 marker = cursor;
347 yych = unsafe {
348 if cursor < len {
349 *s.as_bytes().get_unchecked(cursor)
350 } else {
351 255
352 }
353 };
354 match yych {
355 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x22 | 0x24..=0xFE => {
356 yystate = 2;
357 continue 'yyl;
358 }
359 0x09 | 0x20 => {
360 cursor += 1;
361 yystate = 4;
362 continue 'yyl;
363 }
364 0x23 => {
365 cursor += 1;
366 yystate = 7;
367 continue 'yyl;
368 }
369 _ => {
370 cursor += 1;
371 yystate = 6;
372 continue 'yyl;
373 }
374 }
375 }
376 4 => {
377 yych = unsafe {
378 if cursor < len {
379 *s.as_bytes().get_unchecked(cursor)
380 } else {
381 255
382 }
383 };
384 match yych {
385 0x09 | 0x20 => {
386 cursor += 1;
387 yystate = 4;
388 continue 'yyl;
389 }
390 _ => {
391 yystate = 5;
392 continue 'yyl;
393 }
394 }
395 }
396 5 => {
397 if cursor == len + 1 {
398 cursor -= 1;
399 }
400 return Some(cursor);
401 }
402 6 => {
403 yystate = 5;
404 continue 'yyl;
405 }
406 7 => {
407 yych = unsafe {
408 if cursor < len {
409 *s.as_bytes().get_unchecked(cursor)
410 } else {
411 255
412 }
413 };
414 match yych {
415 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x22 | 0x24..=0xFE => {
416 yystate = 8;
417 continue 'yyl;
418 }
419 0x09 | 0x20 => {
420 cursor += 1;
421 yystate = 4;
422 continue 'yyl;
423 }
424 0x23 => {
425 cursor += 1;
426 yystate = 9;
427 continue 'yyl;
428 }
429 _ => {
430 cursor += 1;
431 yystate = 6;
432 continue 'yyl;
433 }
434 }
435 }
436 8 => {
437 cursor = marker;
438 yystate = 2;
439 continue 'yyl;
440 }
441 9 => {
442 yych = unsafe {
443 if cursor < len {
444 *s.as_bytes().get_unchecked(cursor)
445 } else {
446 255
447 }
448 };
449 match yych {
450 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x22 | 0x24..=0xFE => {
451 yystate = 8;
452 continue 'yyl;
453 }
454 0x09 | 0x20 => {
455 cursor += 1;
456 yystate = 4;
457 continue 'yyl;
458 }
459 0x23 => {
460 cursor += 1;
461 yystate = 10;
462 continue 'yyl;
463 }
464 _ => {
465 cursor += 1;
466 yystate = 6;
467 continue 'yyl;
468 }
469 }
470 }
471 10 => {
472 yych = unsafe {
473 if cursor < len {
474 *s.as_bytes().get_unchecked(cursor)
475 } else {
476 255
477 }
478 };
479 match yych {
480 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x22 | 0x24..=0xFE => {
481 yystate = 8;
482 continue 'yyl;
483 }
484 0x09 | 0x20 => {
485 cursor += 1;
486 yystate = 4;
487 continue 'yyl;
488 }
489 0x23 => {
490 cursor += 1;
491 yystate = 11;
492 continue 'yyl;
493 }
494 _ => {
495 cursor += 1;
496 yystate = 6;
497 continue 'yyl;
498 }
499 }
500 }
501 11 => {
502 yych = unsafe {
503 if cursor < len {
504 *s.as_bytes().get_unchecked(cursor)
505 } else {
506 255
507 }
508 };
509 match yych {
510 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x22 | 0x24..=0xFE => {
511 yystate = 8;
512 continue 'yyl;
513 }
514 0x09 | 0x20 => {
515 cursor += 1;
516 yystate = 4;
517 continue 'yyl;
518 }
519 0x23 => {
520 cursor += 1;
521 yystate = 12;
522 continue 'yyl;
523 }
524 _ => {
525 cursor += 1;
526 yystate = 6;
527 continue 'yyl;
528 }
529 }
530 }
531 12 => {
532 yych = unsafe {
533 if cursor < len {
534 *s.as_bytes().get_unchecked(cursor)
535 } else {
536 255
537 }
538 };
539 match yych {
540 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
541 yystate = 8;
542 continue 'yyl;
543 }
544 0x09 | 0x20 => {
545 cursor += 1;
546 yystate = 4;
547 continue 'yyl;
548 }
549 _ => {
550 cursor += 1;
551 yystate = 6;
552 continue 'yyl;
553 }
554 }
555 }
556 _ => panic!("internal lexer error"),
557 }
558 }
559 }
560 }
561
562 pub fn atx_subtext_start(s: &str) -> Option<usize> {
563 let mut cursor = 0;
564 let mut marker = 0;
565 let len = s.len();
566
567 {
568 #[allow(unused_assignments)]
569 let mut yych: u8 = 0;
570 let mut yystate: usize = 0;
571 'yyl: loop {
572 match yystate {
573 0 => {
574 yych = unsafe {
575 if cursor < len {
576 *s.as_bytes().get_unchecked(cursor)
577 } else {
578 255
579 }
580 };
581 cursor += 1;
582 match yych {
583 0x2D => {
584 yystate = 3;
585 continue 'yyl;
586 }
587 _ => {
588 yystate = 1;
589 continue 'yyl;
590 }
591 }
592 }
593 1 => {
594 yystate = 2;
595 continue 'yyl;
596 }
597 2 => {
598 return None;
599 }
600 3 => {
601 marker = cursor;
602 yych = unsafe {
603 if cursor < len {
604 *s.as_bytes().get_unchecked(cursor)
605 } else {
606 255
607 }
608 };
609 match yych {
610 0x23 => {
611 cursor += 1;
612 yystate = 4;
613 continue 'yyl;
614 }
615 _ => {
616 yystate = 2;
617 continue 'yyl;
618 }
619 }
620 }
621 4 => {
622 yych = unsafe {
623 if cursor < len {
624 *s.as_bytes().get_unchecked(cursor)
625 } else {
626 255
627 }
628 };
629 match yych {
630 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
631 yystate = 5;
632 continue 'yyl;
633 }
634 0x09 | 0x20 => {
635 cursor += 1;
636 yystate = 6;
637 continue 'yyl;
638 }
639 _ => {
640 cursor += 1;
641 yystate = 8;
642 continue 'yyl;
643 }
644 }
645 }
646 5 => {
647 cursor = marker;
648 yystate = 2;
649 continue 'yyl;
650 }
651 6 => {
652 yych = unsafe {
653 if cursor < len {
654 *s.as_bytes().get_unchecked(cursor)
655 } else {
656 255
657 }
658 };
659 match yych {
660 0x09 | 0x20 => {
661 cursor += 1;
662 yystate = 6;
663 continue 'yyl;
664 }
665 _ => {
666 yystate = 7;
667 continue 'yyl;
668 }
669 }
670 }
671 7 => {
672 if cursor == len + 1 {
673 cursor -= 1;
674 }
675 return Some(cursor);
676 }
677 8 => {
678 yystate = 7;
679 continue 'yyl;
680 }
681 _ => panic!("internal lexer error"),
682 }
683 }
684 }
685 }
686
687 pub fn html_block_end_1(s: &str) -> bool {
688 let mut cursor = 0;
689 let mut marker = 0;
690 let len = s.len();
691
692 {
693 #[allow(unused_assignments)]
694 let mut yych: u8 = 0;
695 let mut yyaccept: usize = 0;
696 let mut yystate: usize = 0;
697 'yyl: loop {
698 match yystate {
699 0 => {
700 yych = unsafe {
701 if cursor < len {
702 *s.as_bytes().get_unchecked(cursor)
703 } else {
704 255
705 }
706 };
707 cursor += 1;
708 match yych {
709 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0xFE => {
710 yystate = 1;
711 continue 'yyl;
712 }
713 0x3C => {
714 yystate = 4;
715 continue 'yyl;
716 }
717 _ => {
718 yystate = 3;
719 continue 'yyl;
720 }
721 }
722 }
723 1 => {
724 yyaccept = 0;
725 marker = cursor;
726 yych = unsafe {
727 if cursor < len {
728 *s.as_bytes().get_unchecked(cursor)
729 } else {
730 255
731 }
732 };
733 match yych {
734 0x00..=0x09 | 0x0B..=0xFE => {
735 yystate = 6;
736 continue 'yyl;
737 }
738 _ => {
739 yystate = 2;
740 continue 'yyl;
741 }
742 }
743 }
744 2 => {
745 return false;
746 }
747 3 => {
748 yystate = 2;
749 continue 'yyl;
750 }
751 4 => {
752 yyaccept = 0;
753 marker = cursor;
754 yych = unsafe {
755 if cursor < len {
756 *s.as_bytes().get_unchecked(cursor)
757 } else {
758 255
759 }
760 };
761 match yych {
762 0x00..=0x09 | 0x0B..=0x2E | 0x30..=0xFE => {
763 yystate = 6;
764 continue 'yyl;
765 }
766 0x2F => {
767 cursor += 1;
768 yystate = 9;
769 continue 'yyl;
770 }
771 _ => {
772 yystate = 2;
773 continue 'yyl;
774 }
775 }
776 }
777 5 => {
778 yych = unsafe {
779 if cursor < len {
780 *s.as_bytes().get_unchecked(cursor)
781 } else {
782 255
783 }
784 };
785 yystate = 6;
786 continue 'yyl;
787 }
788 6 => match yych {
789 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0xFE => {
790 cursor += 1;
791 yystate = 5;
792 continue 'yyl;
793 }
794 0x3C => {
795 cursor += 1;
796 yystate = 8;
797 continue 'yyl;
798 }
799 _ => {
800 yystate = 7;
801 continue 'yyl;
802 }
803 },
804 7 => {
805 cursor = marker;
806 if yyaccept == 0 {
807 yystate = 2;
808 continue 'yyl;
809 } else {
810 yystate = 22;
811 continue 'yyl;
812 }
813 }
814 8 => {
815 yych = unsafe {
816 if cursor < len {
817 *s.as_bytes().get_unchecked(cursor)
818 } else {
819 255
820 }
821 };
822 match yych {
823 0x00..=0x09 | 0x0B..=0x2E | 0x30..=0x3B | 0x3D..=0xFE => {
824 cursor += 1;
825 yystate = 5;
826 continue 'yyl;
827 }
828 0x2F => {
829 cursor += 1;
830 yystate = 9;
831 continue 'yyl;
832 }
833 0x3C => {
834 cursor += 1;
835 yystate = 8;
836 continue 'yyl;
837 }
838 _ => {
839 yystate = 7;
840 continue 'yyl;
841 }
842 }
843 }
844 9 => {
845 yych = unsafe {
846 if cursor < len {
847 *s.as_bytes().get_unchecked(cursor)
848 } else {
849 255
850 }
851 };
852 match yych {
853 0x00..=0x09
854 | 0x0B..=0x3B
855 | 0x3D..=0x4F
856 | 0x51..=0x52
857 | 0x55..=0x6F
858 | 0x71..=0x72
859 | 0x75..=0xFE => {
860 cursor += 1;
861 yystate = 5;
862 continue 'yyl;
863 }
864 0x3C => {
865 cursor += 1;
866 yystate = 8;
867 continue 'yyl;
868 }
869 0x50 | 0x70 => {
870 cursor += 1;
871 yystate = 10;
872 continue 'yyl;
873 }
874 0x53 | 0x73 => {
875 cursor += 1;
876 yystate = 11;
877 continue 'yyl;
878 }
879 0x54 | 0x74 => {
880 cursor += 1;
881 yystate = 12;
882 continue 'yyl;
883 }
884 _ => {
885 yystate = 7;
886 continue 'yyl;
887 }
888 }
889 }
890 10 => {
891 yych = unsafe {
892 if cursor < len {
893 *s.as_bytes().get_unchecked(cursor)
894 } else {
895 255
896 }
897 };
898 match yych {
899 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x51 | 0x53..=0x71 | 0x73..=0xFE => {
900 cursor += 1;
901 yystate = 5;
902 continue 'yyl;
903 }
904 0x3C => {
905 cursor += 1;
906 yystate = 8;
907 continue 'yyl;
908 }
909 0x52 | 0x72 => {
910 cursor += 1;
911 yystate = 13;
912 continue 'yyl;
913 }
914 _ => {
915 yystate = 7;
916 continue 'yyl;
917 }
918 }
919 }
920 11 => {
921 yych = unsafe {
922 if cursor < len {
923 *s.as_bytes().get_unchecked(cursor)
924 } else {
925 255
926 }
927 };
928 match yych {
929 0x00..=0x09
930 | 0x0B..=0x3B
931 | 0x3D..=0x42
932 | 0x44..=0x53
933 | 0x55..=0x62
934 | 0x64..=0x73
935 | 0x75..=0xFE => {
936 cursor += 1;
937 yystate = 5;
938 continue 'yyl;
939 }
940 0x3C => {
941 cursor += 1;
942 yystate = 8;
943 continue 'yyl;
944 }
945 0x43 | 0x63 => {
946 cursor += 1;
947 yystate = 14;
948 continue 'yyl;
949 }
950 0x54 | 0x74 => {
951 cursor += 1;
952 yystate = 15;
953 continue 'yyl;
954 }
955 _ => {
956 yystate = 7;
957 continue 'yyl;
958 }
959 }
960 }
961 12 => {
962 yych = unsafe {
963 if cursor < len {
964 *s.as_bytes().get_unchecked(cursor)
965 } else {
966 255
967 }
968 };
969 match yych {
970 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x44 | 0x46..=0x64 | 0x66..=0xFE => {
971 cursor += 1;
972 yystate = 5;
973 continue 'yyl;
974 }
975 0x3C => {
976 cursor += 1;
977 yystate = 8;
978 continue 'yyl;
979 }
980 0x45 | 0x65 => {
981 cursor += 1;
982 yystate = 16;
983 continue 'yyl;
984 }
985 _ => {
986 yystate = 7;
987 continue 'yyl;
988 }
989 }
990 }
991 13 => {
992 yych = unsafe {
993 if cursor < len {
994 *s.as_bytes().get_unchecked(cursor)
995 } else {
996 255
997 }
998 };
999 match yych {
1000 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x44 | 0x46..=0x64 | 0x66..=0xFE => {
1001 cursor += 1;
1002 yystate = 5;
1003 continue 'yyl;
1004 }
1005 0x3C => {
1006 cursor += 1;
1007 yystate = 8;
1008 continue 'yyl;
1009 }
1010 0x45 | 0x65 => {
1011 cursor += 1;
1012 yystate = 17;
1013 continue 'yyl;
1014 }
1015 _ => {
1016 yystate = 7;
1017 continue 'yyl;
1018 }
1019 }
1020 }
1021 14 => {
1022 yych = unsafe {
1023 if cursor < len {
1024 *s.as_bytes().get_unchecked(cursor)
1025 } else {
1026 255
1027 }
1028 };
1029 match yych {
1030 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x51 | 0x53..=0x71 | 0x73..=0xFE => {
1031 cursor += 1;
1032 yystate = 5;
1033 continue 'yyl;
1034 }
1035 0x3C => {
1036 cursor += 1;
1037 yystate = 8;
1038 continue 'yyl;
1039 }
1040 0x52 | 0x72 => {
1041 cursor += 1;
1042 yystate = 18;
1043 continue 'yyl;
1044 }
1045 _ => {
1046 yystate = 7;
1047 continue 'yyl;
1048 }
1049 }
1050 }
1051 15 => {
1052 yych = unsafe {
1053 if cursor < len {
1054 *s.as_bytes().get_unchecked(cursor)
1055 } else {
1056 255
1057 }
1058 };
1059 match yych {
1060 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x58 | 0x5A..=0x78 | 0x7A..=0xFE => {
1061 cursor += 1;
1062 yystate = 5;
1063 continue 'yyl;
1064 }
1065 0x3C => {
1066 cursor += 1;
1067 yystate = 8;
1068 continue 'yyl;
1069 }
1070 0x59 | 0x79 => {
1071 cursor += 1;
1072 yystate = 19;
1073 continue 'yyl;
1074 }
1075 _ => {
1076 yystate = 7;
1077 continue 'yyl;
1078 }
1079 }
1080 }
1081 16 => {
1082 yych = unsafe {
1083 if cursor < len {
1084 *s.as_bytes().get_unchecked(cursor)
1085 } else {
1086 255
1087 }
1088 };
1089 match yych {
1090 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x57 | 0x59..=0x77 | 0x79..=0xFE => {
1091 cursor += 1;
1092 yystate = 5;
1093 continue 'yyl;
1094 }
1095 0x3C => {
1096 cursor += 1;
1097 yystate = 8;
1098 continue 'yyl;
1099 }
1100 0x58 | 0x78 => {
1101 cursor += 1;
1102 yystate = 20;
1103 continue 'yyl;
1104 }
1105 _ => {
1106 yystate = 7;
1107 continue 'yyl;
1108 }
1109 }
1110 }
1111 17 => {
1112 yych = unsafe {
1113 if cursor < len {
1114 *s.as_bytes().get_unchecked(cursor)
1115 } else {
1116 255
1117 }
1118 };
1119 match yych {
1120 0x00..=0x09 | 0x0B..=0x3B | 0x3D | 0x3F..=0xFE => {
1121 cursor += 1;
1122 yystate = 5;
1123 continue 'yyl;
1124 }
1125 0x3C => {
1126 cursor += 1;
1127 yystate = 8;
1128 continue 'yyl;
1129 }
1130 0x3E => {
1131 cursor += 1;
1132 yystate = 21;
1133 continue 'yyl;
1134 }
1135 _ => {
1136 yystate = 7;
1137 continue 'yyl;
1138 }
1139 }
1140 }
1141 18 => {
1142 yych = unsafe {
1143 if cursor < len {
1144 *s.as_bytes().get_unchecked(cursor)
1145 } else {
1146 255
1147 }
1148 };
1149 match yych {
1150 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x48 | 0x4A..=0x68 | 0x6A..=0xFE => {
1151 cursor += 1;
1152 yystate = 5;
1153 continue 'yyl;
1154 }
1155 0x3C => {
1156 cursor += 1;
1157 yystate = 8;
1158 continue 'yyl;
1159 }
1160 0x49 | 0x69 => {
1161 cursor += 1;
1162 yystate = 23;
1163 continue 'yyl;
1164 }
1165 _ => {
1166 yystate = 7;
1167 continue 'yyl;
1168 }
1169 }
1170 }
1171 19 => {
1172 yych = unsafe {
1173 if cursor < len {
1174 *s.as_bytes().get_unchecked(cursor)
1175 } else {
1176 255
1177 }
1178 };
1179 match yych {
1180 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x4B | 0x4D..=0x6B | 0x6D..=0xFE => {
1181 cursor += 1;
1182 yystate = 5;
1183 continue 'yyl;
1184 }
1185 0x3C => {
1186 cursor += 1;
1187 yystate = 8;
1188 continue 'yyl;
1189 }
1190 0x4C | 0x6C => {
1191 cursor += 1;
1192 yystate = 13;
1193 continue 'yyl;
1194 }
1195 _ => {
1196 yystate = 7;
1197 continue 'yyl;
1198 }
1199 }
1200 }
1201 20 => {
1202 yych = unsafe {
1203 if cursor < len {
1204 *s.as_bytes().get_unchecked(cursor)
1205 } else {
1206 255
1207 }
1208 };
1209 match yych {
1210 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x53 | 0x55..=0x73 | 0x75..=0xFE => {
1211 cursor += 1;
1212 yystate = 5;
1213 continue 'yyl;
1214 }
1215 0x3C => {
1216 cursor += 1;
1217 yystate = 8;
1218 continue 'yyl;
1219 }
1220 0x54 | 0x74 => {
1221 cursor += 1;
1222 yystate = 24;
1223 continue 'yyl;
1224 }
1225 _ => {
1226 yystate = 7;
1227 continue 'yyl;
1228 }
1229 }
1230 }
1231 21 => {
1232 yyaccept = 1;
1233 marker = cursor;
1234 yych = unsafe {
1235 if cursor < len {
1236 *s.as_bytes().get_unchecked(cursor)
1237 } else {
1238 255
1239 }
1240 };
1241 match yych {
1242 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0xFE => {
1243 cursor += 1;
1244 yystate = 5;
1245 continue 'yyl;
1246 }
1247 0x3C => {
1248 cursor += 1;
1249 yystate = 8;
1250 continue 'yyl;
1251 }
1252 _ => {
1253 yystate = 22;
1254 continue 'yyl;
1255 }
1256 }
1257 }
1258 22 => {
1259 return true;
1260 }
1261 23 => {
1262 yych = unsafe {
1263 if cursor < len {
1264 *s.as_bytes().get_unchecked(cursor)
1265 } else {
1266 255
1267 }
1268 };
1269 match yych {
1270 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x4F | 0x51..=0x6F | 0x71..=0xFE => {
1271 cursor += 1;
1272 yystate = 5;
1273 continue 'yyl;
1274 }
1275 0x3C => {
1276 cursor += 1;
1277 yystate = 8;
1278 continue 'yyl;
1279 }
1280 0x50 | 0x70 => {
1281 cursor += 1;
1282 yystate = 25;
1283 continue 'yyl;
1284 }
1285 _ => {
1286 yystate = 7;
1287 continue 'yyl;
1288 }
1289 }
1290 }
1291 24 => {
1292 yych = unsafe {
1293 if cursor < len {
1294 *s.as_bytes().get_unchecked(cursor)
1295 } else {
1296 255
1297 }
1298 };
1299 match yych {
1300 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x40 | 0x42..=0x60 | 0x62..=0xFE => {
1301 cursor += 1;
1302 yystate = 5;
1303 continue 'yyl;
1304 }
1305 0x3C => {
1306 cursor += 1;
1307 yystate = 8;
1308 continue 'yyl;
1309 }
1310 0x41 | 0x61 => {
1311 cursor += 1;
1312 yystate = 26;
1313 continue 'yyl;
1314 }
1315 _ => {
1316 yystate = 7;
1317 continue 'yyl;
1318 }
1319 }
1320 }
1321 25 => {
1322 yych = unsafe {
1323 if cursor < len {
1324 *s.as_bytes().get_unchecked(cursor)
1325 } else {
1326 255
1327 }
1328 };
1329 match yych {
1330 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x53 | 0x55..=0x73 | 0x75..=0xFE => {
1331 cursor += 1;
1332 yystate = 5;
1333 continue 'yyl;
1334 }
1335 0x3C => {
1336 cursor += 1;
1337 yystate = 8;
1338 continue 'yyl;
1339 }
1340 0x54 | 0x74 => {
1341 cursor += 1;
1342 yystate = 17;
1343 continue 'yyl;
1344 }
1345 _ => {
1346 yystate = 7;
1347 continue 'yyl;
1348 }
1349 }
1350 }
1351 26 => {
1352 yych = unsafe {
1353 if cursor < len {
1354 *s.as_bytes().get_unchecked(cursor)
1355 } else {
1356 255
1357 }
1358 };
1359 match yych {
1360 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x51 | 0x53..=0x71 | 0x73..=0xFE => {
1361 cursor += 1;
1362 yystate = 5;
1363 continue 'yyl;
1364 }
1365 0x3C => {
1366 cursor += 1;
1367 yystate = 8;
1368 continue 'yyl;
1369 }
1370 0x52 | 0x72 => {
1371 cursor += 1;
1372 yystate = 27;
1373 continue 'yyl;
1374 }
1375 _ => {
1376 yystate = 7;
1377 continue 'yyl;
1378 }
1379 }
1380 }
1381 27 => {
1382 yych = unsafe {
1383 if cursor < len {
1384 *s.as_bytes().get_unchecked(cursor)
1385 } else {
1386 255
1387 }
1388 };
1389 match yych {
1390 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x44 | 0x46..=0x64 | 0x66..=0xFE => {
1391 cursor += 1;
1392 yystate = 5;
1393 continue 'yyl;
1394 }
1395 0x3C => {
1396 cursor += 1;
1397 yystate = 8;
1398 continue 'yyl;
1399 }
1400 0x45 | 0x65 => {
1401 cursor += 1;
1402 yystate = 28;
1403 continue 'yyl;
1404 }
1405 _ => {
1406 yystate = 7;
1407 continue 'yyl;
1408 }
1409 }
1410 }
1411 28 => {
1412 yych = unsafe {
1413 if cursor < len {
1414 *s.as_bytes().get_unchecked(cursor)
1415 } else {
1416 255
1417 }
1418 };
1419 match yych {
1420 0x00..=0x09 | 0x0B..=0x3B | 0x3D..=0x40 | 0x42..=0x60 | 0x62..=0xFE => {
1421 cursor += 1;
1422 yystate = 5;
1423 continue 'yyl;
1424 }
1425 0x3C => {
1426 cursor += 1;
1427 yystate = 8;
1428 continue 'yyl;
1429 }
1430 0x41 | 0x61 => {
1431 cursor += 1;
1432 yystate = 17;
1433 continue 'yyl;
1434 }
1435 _ => {
1436 yystate = 7;
1437 continue 'yyl;
1438 }
1439 }
1440 }
1441 _ => panic!("internal lexer error"),
1442 }
1443 }
1444 }
1445 }
1446
1447 pub fn html_block_end_2(s: &str) -> bool {
1448 let mut cursor = 0;
1449 let mut marker = 0;
1450 let len = s.len();
1451
1452 {
1453 #[allow(unused_assignments)]
1454 let mut yych: u8 = 0;
1455 let mut yyaccept: usize = 0;
1456 let mut yystate: usize = 0;
1457 'yyl: loop {
1458 match yystate {
1459 0 => {
1460 yych = unsafe {
1461 if cursor < len {
1462 *s.as_bytes().get_unchecked(cursor)
1463 } else {
1464 255
1465 }
1466 };
1467 cursor += 1;
1468 match yych {
1469 0x00..=0x09 | 0x0B..=0x2C | 0x2E..=0xFE => {
1470 yystate = 1;
1471 continue 'yyl;
1472 }
1473 0x2D => {
1474 yystate = 4;
1475 continue 'yyl;
1476 }
1477 _ => {
1478 yystate = 3;
1479 continue 'yyl;
1480 }
1481 }
1482 }
1483 1 => {
1484 yyaccept = 0;
1485 marker = cursor;
1486 yych = unsafe {
1487 if cursor < len {
1488 *s.as_bytes().get_unchecked(cursor)
1489 } else {
1490 255
1491 }
1492 };
1493 match yych {
1494 0x00..=0x09 | 0x0B..=0xFE => {
1495 yystate = 6;
1496 continue 'yyl;
1497 }
1498 _ => {
1499 yystate = 2;
1500 continue 'yyl;
1501 }
1502 }
1503 }
1504 2 => {
1505 return false;
1506 }
1507 3 => {
1508 yystate = 2;
1509 continue 'yyl;
1510 }
1511 4 => {
1512 yyaccept = 0;
1513 marker = cursor;
1514 yych = unsafe {
1515 if cursor < len {
1516 *s.as_bytes().get_unchecked(cursor)
1517 } else {
1518 255
1519 }
1520 };
1521 match yych {
1522 0x00..=0x09 | 0x0B..=0x2C | 0x2E..=0xFE => {
1523 cursor += 1;
1524 yystate = 5;
1525 continue 'yyl;
1526 }
1527 0x2D => {
1528 cursor += 1;
1529 yystate = 9;
1530 continue 'yyl;
1531 }
1532 _ => {
1533 yystate = 2;
1534 continue 'yyl;
1535 }
1536 }
1537 }
1538 5 => {
1539 yych = unsafe {
1540 if cursor < len {
1541 *s.as_bytes().get_unchecked(cursor)
1542 } else {
1543 255
1544 }
1545 };
1546 yystate = 6;
1547 continue 'yyl;
1548 }
1549 6 => match yych {
1550 0x00..=0x09 | 0x0B..=0x2C | 0x2E..=0xFE => {
1551 cursor += 1;
1552 yystate = 5;
1553 continue 'yyl;
1554 }
1555 0x2D => {
1556 cursor += 1;
1557 yystate = 8;
1558 continue 'yyl;
1559 }
1560 _ => {
1561 yystate = 7;
1562 continue 'yyl;
1563 }
1564 },
1565 7 => {
1566 cursor = marker;
1567 if yyaccept == 0 {
1568 yystate = 2;
1569 continue 'yyl;
1570 } else {
1571 yystate = 11;
1572 continue 'yyl;
1573 }
1574 }
1575 8 => {
1576 yych = unsafe {
1577 if cursor < len {
1578 *s.as_bytes().get_unchecked(cursor)
1579 } else {
1580 255
1581 }
1582 };
1583 match yych {
1584 0x00..=0x09 | 0x0B..=0x2C | 0x2E..=0xFE => {
1585 cursor += 1;
1586 yystate = 5;
1587 continue 'yyl;
1588 }
1589 0x2D => {
1590 cursor += 1;
1591 yystate = 9;
1592 continue 'yyl;
1593 }
1594 _ => {
1595 yystate = 7;
1596 continue 'yyl;
1597 }
1598 }
1599 }
1600 9 => {
1601 yych = unsafe {
1602 if cursor < len {
1603 *s.as_bytes().get_unchecked(cursor)
1604 } else {
1605 255
1606 }
1607 };
1608 match yych {
1609 0x00..=0x09 | 0x0B..=0x2C | 0x2E..=0x3D | 0x3F..=0xFE => {
1610 cursor += 1;
1611 yystate = 5;
1612 continue 'yyl;
1613 }
1614 0x2D => {
1615 cursor += 1;
1616 yystate = 9;
1617 continue 'yyl;
1618 }
1619 0x3E => {
1620 cursor += 1;
1621 yystate = 10;
1622 continue 'yyl;
1623 }
1624 _ => {
1625 yystate = 7;
1626 continue 'yyl;
1627 }
1628 }
1629 }
1630 10 => {
1631 yyaccept = 1;
1632 marker = cursor;
1633 yych = unsafe {
1634 if cursor < len {
1635 *s.as_bytes().get_unchecked(cursor)
1636 } else {
1637 255
1638 }
1639 };
1640 match yych {
1641 0x00..=0x09 | 0x0B..=0x2C | 0x2E..=0xFE => {
1642 cursor += 1;
1643 yystate = 5;
1644 continue 'yyl;
1645 }
1646 0x2D => {
1647 cursor += 1;
1648 yystate = 8;
1649 continue 'yyl;
1650 }
1651 _ => {
1652 yystate = 11;
1653 continue 'yyl;
1654 }
1655 }
1656 }
1657 11 => {
1658 return true;
1659 }
1660 _ => panic!("internal lexer error"),
1661 }
1662 }
1663 }
1664 }
1665
1666 pub fn html_block_end_3(s: &str) -> bool {
1667 let mut cursor = 0;
1668 let mut marker = 0;
1669 let len = s.len();
1670
1671 {
1672 #[allow(unused_assignments)]
1673 let mut yych: u8 = 0;
1674 let mut yyaccept: usize = 0;
1675 let mut yystate: usize = 0;
1676 'yyl: loop {
1677 match yystate {
1678 0 => {
1679 yych = unsafe {
1680 if cursor < len {
1681 *s.as_bytes().get_unchecked(cursor)
1682 } else {
1683 255
1684 }
1685 };
1686 cursor += 1;
1687 match yych {
1688 0x00..=0x09 | 0x0B..=0x3E | 0x40..=0xFE => {
1689 yystate = 1;
1690 continue 'yyl;
1691 }
1692 0x3F => {
1693 yystate = 4;
1694 continue 'yyl;
1695 }
1696 _ => {
1697 yystate = 3;
1698 continue 'yyl;
1699 }
1700 }
1701 }
1702 1 => {
1703 yyaccept = 0;
1704 marker = cursor;
1705 yych = unsafe {
1706 if cursor < len {
1707 *s.as_bytes().get_unchecked(cursor)
1708 } else {
1709 255
1710 }
1711 };
1712 match yych {
1713 0x00..=0x09 | 0x0B..=0xFE => {
1714 yystate = 6;
1715 continue 'yyl;
1716 }
1717 _ => {
1718 yystate = 2;
1719 continue 'yyl;
1720 }
1721 }
1722 }
1723 2 => {
1724 return false;
1725 }
1726 3 => {
1727 yystate = 2;
1728 continue 'yyl;
1729 }
1730 4 => {
1731 yyaccept = 0;
1732 marker = cursor;
1733 yych = unsafe {
1734 if cursor < len {
1735 *s.as_bytes().get_unchecked(cursor)
1736 } else {
1737 255
1738 }
1739 };
1740 match yych {
1741 0x00..=0x09 | 0x0B..=0x3D | 0x3F..=0xFE => {
1742 yystate = 6;
1743 continue 'yyl;
1744 }
1745 0x3E => {
1746 cursor += 1;
1747 yystate = 9;
1748 continue 'yyl;
1749 }
1750 _ => {
1751 yystate = 2;
1752 continue 'yyl;
1753 }
1754 }
1755 }
1756 5 => {
1757 yych = unsafe {
1758 if cursor < len {
1759 *s.as_bytes().get_unchecked(cursor)
1760 } else {
1761 255
1762 }
1763 };
1764 yystate = 6;
1765 continue 'yyl;
1766 }
1767 6 => match yych {
1768 0x00..=0x09 | 0x0B..=0x3E | 0x40..=0xFE => {
1769 cursor += 1;
1770 yystate = 5;
1771 continue 'yyl;
1772 }
1773 0x3F => {
1774 cursor += 1;
1775 yystate = 8;
1776 continue 'yyl;
1777 }
1778 _ => {
1779 yystate = 7;
1780 continue 'yyl;
1781 }
1782 },
1783 7 => {
1784 cursor = marker;
1785 if yyaccept == 0 {
1786 yystate = 2;
1787 continue 'yyl;
1788 } else {
1789 yystate = 10;
1790 continue 'yyl;
1791 }
1792 }
1793 8 => {
1794 yych = unsafe {
1795 if cursor < len {
1796 *s.as_bytes().get_unchecked(cursor)
1797 } else {
1798 255
1799 }
1800 };
1801 match yych {
1802 0x00..=0x09 | 0x0B..=0x3D | 0x40..=0xFE => {
1803 cursor += 1;
1804 yystate = 5;
1805 continue 'yyl;
1806 }
1807 0x3E => {
1808 cursor += 1;
1809 yystate = 9;
1810 continue 'yyl;
1811 }
1812 0x3F => {
1813 cursor += 1;
1814 yystate = 8;
1815 continue 'yyl;
1816 }
1817 _ => {
1818 yystate = 7;
1819 continue 'yyl;
1820 }
1821 }
1822 }
1823 9 => {
1824 yyaccept = 1;
1825 marker = cursor;
1826 yych = unsafe {
1827 if cursor < len {
1828 *s.as_bytes().get_unchecked(cursor)
1829 } else {
1830 255
1831 }
1832 };
1833 match yych {
1834 0x00..=0x09 | 0x0B..=0x3E | 0x40..=0xFE => {
1835 cursor += 1;
1836 yystate = 5;
1837 continue 'yyl;
1838 }
1839 0x3F => {
1840 cursor += 1;
1841 yystate = 8;
1842 continue 'yyl;
1843 }
1844 _ => {
1845 yystate = 10;
1846 continue 'yyl;
1847 }
1848 }
1849 }
1850 10 => {
1851 return true;
1852 }
1853 _ => panic!("internal lexer error"),
1854 }
1855 }
1856 }
1857 }
1858
1859 pub fn html_block_end_4(s: &str) -> bool {
1860 let mut cursor = 0;
1861 let mut marker = 0;
1862 let len = s.len();
1863
1864 {
1865 #[allow(unused_assignments)]
1866 let mut yych: u8 = 0;
1867 let mut yyaccept: usize = 0;
1868 let mut yystate: usize = 0;
1869 'yyl: loop {
1870 match yystate {
1871 0 => {
1872 yych = unsafe {
1873 if cursor < len {
1874 *s.as_bytes().get_unchecked(cursor)
1875 } else {
1876 255
1877 }
1878 };
1879 cursor += 1;
1880 match yych {
1881 0x00..=0x09 | 0x0B..=0x3D | 0x3F..=0xFE => {
1882 yystate = 1;
1883 continue 'yyl;
1884 }
1885 0x3E => {
1886 yystate = 4;
1887 continue 'yyl;
1888 }
1889 _ => {
1890 yystate = 3;
1891 continue 'yyl;
1892 }
1893 }
1894 }
1895 1 => {
1896 yyaccept = 0;
1897 marker = cursor;
1898 yych = unsafe {
1899 if cursor < len {
1900 *s.as_bytes().get_unchecked(cursor)
1901 } else {
1902 255
1903 }
1904 };
1905 match yych {
1906 0x00..=0x09 | 0x0B..=0xFE => {
1907 yystate = 7;
1908 continue 'yyl;
1909 }
1910 _ => {
1911 yystate = 2;
1912 continue 'yyl;
1913 }
1914 }
1915 }
1916 2 => {
1917 return false;
1918 }
1919 3 => {
1920 yystate = 2;
1921 continue 'yyl;
1922 }
1923 4 => {
1924 yyaccept = 1;
1925 marker = cursor;
1926 yych = unsafe {
1927 if cursor < len {
1928 *s.as_bytes().get_unchecked(cursor)
1929 } else {
1930 255
1931 }
1932 };
1933 match yych {
1934 0x00..=0x09 | 0x0B..=0x3D | 0x3F..=0xFE => {
1935 cursor += 1;
1936 yystate = 6;
1937 continue 'yyl;
1938 }
1939 0x3E => {
1940 cursor += 1;
1941 yystate = 4;
1942 continue 'yyl;
1943 }
1944 _ => {
1945 yystate = 5;
1946 continue 'yyl;
1947 }
1948 }
1949 }
1950 5 => {
1951 return true;
1952 }
1953 6 => {
1954 yych = unsafe {
1955 if cursor < len {
1956 *s.as_bytes().get_unchecked(cursor)
1957 } else {
1958 255
1959 }
1960 };
1961 yystate = 7;
1962 continue 'yyl;
1963 }
1964 7 => match yych {
1965 0x00..=0x09 | 0x0B..=0x3D | 0x3F..=0xFE => {
1966 cursor += 1;
1967 yystate = 6;
1968 continue 'yyl;
1969 }
1970 0x3E => {
1971 cursor += 1;
1972 yystate = 4;
1973 continue 'yyl;
1974 }
1975 _ => {
1976 yystate = 8;
1977 continue 'yyl;
1978 }
1979 },
1980 8 => {
1981 cursor = marker;
1982 if yyaccept == 0 {
1983 yystate = 2;
1984 continue 'yyl;
1985 } else {
1986 yystate = 5;
1987 continue 'yyl;
1988 }
1989 }
1990 _ => panic!("internal lexer error"),
1991 }
1992 }
1993 }
1994 }
1995
1996 pub fn html_block_end_5(s: &str) -> bool {
1997 let mut cursor = 0;
1998 let mut marker = 0;
1999 let len = s.len();
2000
2001 {
2002 #[allow(unused_assignments)]
2003 let mut yych: u8 = 0;
2004 let mut yyaccept: usize = 0;
2005 let mut yystate: usize = 0;
2006 'yyl: loop {
2007 match yystate {
2008 0 => {
2009 yych = unsafe {
2010 if cursor < len {
2011 *s.as_bytes().get_unchecked(cursor)
2012 } else {
2013 255
2014 }
2015 };
2016 cursor += 1;
2017 match yych {
2018 0x00..=0x09 | 0x0B..=0x5C | 0x5E..=0xFE => {
2019 yystate = 1;
2020 continue 'yyl;
2021 }
2022 0x5D => {
2023 yystate = 4;
2024 continue 'yyl;
2025 }
2026 _ => {
2027 yystate = 3;
2028 continue 'yyl;
2029 }
2030 }
2031 }
2032 1 => {
2033 yyaccept = 0;
2034 marker = cursor;
2035 yych = unsafe {
2036 if cursor < len {
2037 *s.as_bytes().get_unchecked(cursor)
2038 } else {
2039 255
2040 }
2041 };
2042 match yych {
2043 0x00..=0x09 | 0x0B..=0xFE => {
2044 yystate = 6;
2045 continue 'yyl;
2046 }
2047 _ => {
2048 yystate = 2;
2049 continue 'yyl;
2050 }
2051 }
2052 }
2053 2 => {
2054 return false;
2055 }
2056 3 => {
2057 yystate = 2;
2058 continue 'yyl;
2059 }
2060 4 => {
2061 yyaccept = 0;
2062 marker = cursor;
2063 yych = unsafe {
2064 if cursor < len {
2065 *s.as_bytes().get_unchecked(cursor)
2066 } else {
2067 255
2068 }
2069 };
2070 match yych {
2071 0x00..=0x09 | 0x0B..=0x5C | 0x5E..=0xFE => {
2072 cursor += 1;
2073 yystate = 5;
2074 continue 'yyl;
2075 }
2076 0x5D => {
2077 cursor += 1;
2078 yystate = 9;
2079 continue 'yyl;
2080 }
2081 _ => {
2082 yystate = 2;
2083 continue 'yyl;
2084 }
2085 }
2086 }
2087 5 => {
2088 yych = unsafe {
2089 if cursor < len {
2090 *s.as_bytes().get_unchecked(cursor)
2091 } else {
2092 255
2093 }
2094 };
2095 yystate = 6;
2096 continue 'yyl;
2097 }
2098 6 => match yych {
2099 0x00..=0x09 | 0x0B..=0x5C | 0x5E..=0xFE => {
2100 cursor += 1;
2101 yystate = 5;
2102 continue 'yyl;
2103 }
2104 0x5D => {
2105 cursor += 1;
2106 yystate = 8;
2107 continue 'yyl;
2108 }
2109 _ => {
2110 yystate = 7;
2111 continue 'yyl;
2112 }
2113 },
2114 7 => {
2115 cursor = marker;
2116 if yyaccept == 0 {
2117 yystate = 2;
2118 continue 'yyl;
2119 } else {
2120 yystate = 11;
2121 continue 'yyl;
2122 }
2123 }
2124 8 => {
2125 yych = unsafe {
2126 if cursor < len {
2127 *s.as_bytes().get_unchecked(cursor)
2128 } else {
2129 255
2130 }
2131 };
2132 match yych {
2133 0x00..=0x09 | 0x0B..=0x5C | 0x5E..=0xFE => {
2134 cursor += 1;
2135 yystate = 5;
2136 continue 'yyl;
2137 }
2138 0x5D => {
2139 cursor += 1;
2140 yystate = 9;
2141 continue 'yyl;
2142 }
2143 _ => {
2144 yystate = 7;
2145 continue 'yyl;
2146 }
2147 }
2148 }
2149 9 => {
2150 yych = unsafe {
2151 if cursor < len {
2152 *s.as_bytes().get_unchecked(cursor)
2153 } else {
2154 255
2155 }
2156 };
2157 match yych {
2158 0x00..=0x09 | 0x0B..=0x3D | 0x3F..=0x5C | 0x5E..=0xFE => {
2159 cursor += 1;
2160 yystate = 5;
2161 continue 'yyl;
2162 }
2163 0x3E => {
2164 cursor += 1;
2165 yystate = 10;
2166 continue 'yyl;
2167 }
2168 0x5D => {
2169 cursor += 1;
2170 yystate = 9;
2171 continue 'yyl;
2172 }
2173 _ => {
2174 yystate = 7;
2175 continue 'yyl;
2176 }
2177 }
2178 }
2179 10 => {
2180 yyaccept = 1;
2181 marker = cursor;
2182 yych = unsafe {
2183 if cursor < len {
2184 *s.as_bytes().get_unchecked(cursor)
2185 } else {
2186 255
2187 }
2188 };
2189 match yych {
2190 0x00..=0x09 | 0x0B..=0x5C | 0x5E..=0xFE => {
2191 cursor += 1;
2192 yystate = 5;
2193 continue 'yyl;
2194 }
2195 0x5D => {
2196 cursor += 1;
2197 yystate = 8;
2198 continue 'yyl;
2199 }
2200 _ => {
2201 yystate = 11;
2202 continue 'yyl;
2203 }
2204 }
2205 }
2206 11 => {
2207 return true;
2208 }
2209 _ => panic!("internal lexer error"),
2210 }
2211 }
2212 }
2213 }
2214
2215 pub fn alert_start(s: &str) -> Option<crate::nodes::AlertType> {
2216 let mut cursor = 0;
2217 let mut marker = 0;
2218 let len = s.len();
2219
2220 {
2221 #[allow(unused_assignments)]
2222 let mut yych: u8 = 0;
2223 let mut yystate: usize = 0;
2224 'yyl: loop {
2225 match yystate {
2226 0 => {
2227 yych = unsafe {
2228 if cursor < len {
2229 *s.as_bytes().get_unchecked(cursor)
2230 } else {
2231 255
2232 }
2233 };
2234 cursor += 1;
2235 match yych {
2236 0x3E => {
2237 yystate = 3;
2238 continue 'yyl;
2239 }
2240 _ => {
2241 yystate = 1;
2242 continue 'yyl;
2243 }
2244 }
2245 }
2246 1 => {
2247 yystate = 2;
2248 continue 'yyl;
2249 }
2250 2 => {
2251 return None;
2252 }
2253 3 => {
2254 marker = cursor;
2255 yych = unsafe {
2256 if cursor < len {
2257 *s.as_bytes().get_unchecked(cursor)
2258 } else {
2259 255
2260 }
2261 };
2262 match yych {
2263 0x20 => {
2264 cursor += 1;
2265 yystate = 4;
2266 continue 'yyl;
2267 }
2268 0x3E => {
2269 cursor += 1;
2270 yystate = 6;
2271 continue 'yyl;
2272 }
2273 _ => {
2274 yystate = 2;
2275 continue 'yyl;
2276 }
2277 }
2278 }
2279 4 => {
2280 yych = unsafe {
2281 if cursor < len {
2282 *s.as_bytes().get_unchecked(cursor)
2283 } else {
2284 255
2285 }
2286 };
2287 match yych {
2288 0x5B => {
2289 cursor += 1;
2290 yystate = 7;
2291 continue 'yyl;
2292 }
2293 _ => {
2294 yystate = 5;
2295 continue 'yyl;
2296 }
2297 }
2298 }
2299 5 => {
2300 cursor = marker;
2301 yystate = 2;
2302 continue 'yyl;
2303 }
2304 6 => {
2305 yych = unsafe {
2306 if cursor < len {
2307 *s.as_bytes().get_unchecked(cursor)
2308 } else {
2309 255
2310 }
2311 };
2312 match yych {
2313 0x20 => {
2314 cursor += 1;
2315 yystate = 4;
2316 continue 'yyl;
2317 }
2318 0x3E => {
2319 cursor += 1;
2320 yystate = 6;
2321 continue 'yyl;
2322 }
2323 _ => {
2324 yystate = 5;
2325 continue 'yyl;
2326 }
2327 }
2328 }
2329 7 => {
2330 yych = unsafe {
2331 if cursor < len {
2332 *s.as_bytes().get_unchecked(cursor)
2333 } else {
2334 255
2335 }
2336 };
2337 match yych {
2338 0x21 => {
2339 cursor += 1;
2340 yystate = 8;
2341 continue 'yyl;
2342 }
2343 _ => {
2344 yystate = 5;
2345 continue 'yyl;
2346 }
2347 }
2348 }
2349 8 => {
2350 yych = unsafe {
2351 if cursor < len {
2352 *s.as_bytes().get_unchecked(cursor)
2353 } else {
2354 255
2355 }
2356 };
2357 match yych {
2358 0x43 | 0x63 => {
2359 cursor += 1;
2360 yystate = 9;
2361 continue 'yyl;
2362 }
2363 0x49 | 0x69 => {
2364 cursor += 1;
2365 yystate = 10;
2366 continue 'yyl;
2367 }
2368 0x4E | 0x6E => {
2369 cursor += 1;
2370 yystate = 11;
2371 continue 'yyl;
2372 }
2373 0x54 | 0x74 => {
2374 cursor += 1;
2375 yystate = 12;
2376 continue 'yyl;
2377 }
2378 0x57 | 0x77 => {
2379 cursor += 1;
2380 yystate = 13;
2381 continue 'yyl;
2382 }
2383 _ => {
2384 yystate = 5;
2385 continue 'yyl;
2386 }
2387 }
2388 }
2389 9 => {
2390 yych = unsafe {
2391 if cursor < len {
2392 *s.as_bytes().get_unchecked(cursor)
2393 } else {
2394 255
2395 }
2396 };
2397 match yych {
2398 0x41 | 0x61 => {
2399 cursor += 1;
2400 yystate = 14;
2401 continue 'yyl;
2402 }
2403 _ => {
2404 yystate = 5;
2405 continue 'yyl;
2406 }
2407 }
2408 }
2409 10 => {
2410 yych = unsafe {
2411 if cursor < len {
2412 *s.as_bytes().get_unchecked(cursor)
2413 } else {
2414 255
2415 }
2416 };
2417 match yych {
2418 0x4D | 0x6D => {
2419 cursor += 1;
2420 yystate = 15;
2421 continue 'yyl;
2422 }
2423 _ => {
2424 yystate = 5;
2425 continue 'yyl;
2426 }
2427 }
2428 }
2429 11 => {
2430 yych = unsafe {
2431 if cursor < len {
2432 *s.as_bytes().get_unchecked(cursor)
2433 } else {
2434 255
2435 }
2436 };
2437 match yych {
2438 0x4F | 0x6F => {
2439 cursor += 1;
2440 yystate = 16;
2441 continue 'yyl;
2442 }
2443 _ => {
2444 yystate = 5;
2445 continue 'yyl;
2446 }
2447 }
2448 }
2449 12 => {
2450 yych = unsafe {
2451 if cursor < len {
2452 *s.as_bytes().get_unchecked(cursor)
2453 } else {
2454 255
2455 }
2456 };
2457 match yych {
2458 0x49 | 0x69 => {
2459 cursor += 1;
2460 yystate = 17;
2461 continue 'yyl;
2462 }
2463 _ => {
2464 yystate = 5;
2465 continue 'yyl;
2466 }
2467 }
2468 }
2469 13 => {
2470 yych = unsafe {
2471 if cursor < len {
2472 *s.as_bytes().get_unchecked(cursor)
2473 } else {
2474 255
2475 }
2476 };
2477 match yych {
2478 0x41 | 0x61 => {
2479 cursor += 1;
2480 yystate = 18;
2481 continue 'yyl;
2482 }
2483 _ => {
2484 yystate = 5;
2485 continue 'yyl;
2486 }
2487 }
2488 }
2489 14 => {
2490 yych = unsafe {
2491 if cursor < len {
2492 *s.as_bytes().get_unchecked(cursor)
2493 } else {
2494 255
2495 }
2496 };
2497 match yych {
2498 0x55 | 0x75 => {
2499 cursor += 1;
2500 yystate = 19;
2501 continue 'yyl;
2502 }
2503 _ => {
2504 yystate = 5;
2505 continue 'yyl;
2506 }
2507 }
2508 }
2509 15 => {
2510 yych = unsafe {
2511 if cursor < len {
2512 *s.as_bytes().get_unchecked(cursor)
2513 } else {
2514 255
2515 }
2516 };
2517 match yych {
2518 0x50 | 0x70 => {
2519 cursor += 1;
2520 yystate = 20;
2521 continue 'yyl;
2522 }
2523 _ => {
2524 yystate = 5;
2525 continue 'yyl;
2526 }
2527 }
2528 }
2529 16 => {
2530 yych = unsafe {
2531 if cursor < len {
2532 *s.as_bytes().get_unchecked(cursor)
2533 } else {
2534 255
2535 }
2536 };
2537 match yych {
2538 0x54 | 0x74 => {
2539 cursor += 1;
2540 yystate = 21;
2541 continue 'yyl;
2542 }
2543 _ => {
2544 yystate = 5;
2545 continue 'yyl;
2546 }
2547 }
2548 }
2549 17 => {
2550 yych = unsafe {
2551 if cursor < len {
2552 *s.as_bytes().get_unchecked(cursor)
2553 } else {
2554 255
2555 }
2556 };
2557 match yych {
2558 0x50 | 0x70 => {
2559 cursor += 1;
2560 yystate = 22;
2561 continue 'yyl;
2562 }
2563 _ => {
2564 yystate = 5;
2565 continue 'yyl;
2566 }
2567 }
2568 }
2569 18 => {
2570 yych = unsafe {
2571 if cursor < len {
2572 *s.as_bytes().get_unchecked(cursor)
2573 } else {
2574 255
2575 }
2576 };
2577 match yych {
2578 0x52 | 0x72 => {
2579 cursor += 1;
2580 yystate = 23;
2581 continue 'yyl;
2582 }
2583 _ => {
2584 yystate = 5;
2585 continue 'yyl;
2586 }
2587 }
2588 }
2589 19 => {
2590 yych = unsafe {
2591 if cursor < len {
2592 *s.as_bytes().get_unchecked(cursor)
2593 } else {
2594 255
2595 }
2596 };
2597 match yych {
2598 0x54 | 0x74 => {
2599 cursor += 1;
2600 yystate = 24;
2601 continue 'yyl;
2602 }
2603 _ => {
2604 yystate = 5;
2605 continue 'yyl;
2606 }
2607 }
2608 }
2609 20 => {
2610 yych = unsafe {
2611 if cursor < len {
2612 *s.as_bytes().get_unchecked(cursor)
2613 } else {
2614 255
2615 }
2616 };
2617 match yych {
2618 0x4F | 0x6F => {
2619 cursor += 1;
2620 yystate = 25;
2621 continue 'yyl;
2622 }
2623 _ => {
2624 yystate = 5;
2625 continue 'yyl;
2626 }
2627 }
2628 }
2629 21 => {
2630 yych = unsafe {
2631 if cursor < len {
2632 *s.as_bytes().get_unchecked(cursor)
2633 } else {
2634 255
2635 }
2636 };
2637 match yych {
2638 0x45 | 0x65 => {
2639 cursor += 1;
2640 yystate = 26;
2641 continue 'yyl;
2642 }
2643 _ => {
2644 yystate = 5;
2645 continue 'yyl;
2646 }
2647 }
2648 }
2649 22 => {
2650 yych = unsafe {
2651 if cursor < len {
2652 *s.as_bytes().get_unchecked(cursor)
2653 } else {
2654 255
2655 }
2656 };
2657 match yych {
2658 0x5D => {
2659 cursor += 1;
2660 yystate = 27;
2661 continue 'yyl;
2662 }
2663 _ => {
2664 yystate = 5;
2665 continue 'yyl;
2666 }
2667 }
2668 }
2669 23 => {
2670 yych = unsafe {
2671 if cursor < len {
2672 *s.as_bytes().get_unchecked(cursor)
2673 } else {
2674 255
2675 }
2676 };
2677 match yych {
2678 0x4E | 0x6E => {
2679 cursor += 1;
2680 yystate = 28;
2681 continue 'yyl;
2682 }
2683 _ => {
2684 yystate = 5;
2685 continue 'yyl;
2686 }
2687 }
2688 }
2689 24 => {
2690 yych = unsafe {
2691 if cursor < len {
2692 *s.as_bytes().get_unchecked(cursor)
2693 } else {
2694 255
2695 }
2696 };
2697 match yych {
2698 0x49 | 0x69 => {
2699 cursor += 1;
2700 yystate = 29;
2701 continue 'yyl;
2702 }
2703 _ => {
2704 yystate = 5;
2705 continue 'yyl;
2706 }
2707 }
2708 }
2709 25 => {
2710 yych = unsafe {
2711 if cursor < len {
2712 *s.as_bytes().get_unchecked(cursor)
2713 } else {
2714 255
2715 }
2716 };
2717 match yych {
2718 0x52 | 0x72 => {
2719 cursor += 1;
2720 yystate = 30;
2721 continue 'yyl;
2722 }
2723 _ => {
2724 yystate = 5;
2725 continue 'yyl;
2726 }
2727 }
2728 }
2729 26 => {
2730 yych = unsafe {
2731 if cursor < len {
2732 *s.as_bytes().get_unchecked(cursor)
2733 } else {
2734 255
2735 }
2736 };
2737 match yych {
2738 0x5D => {
2739 cursor += 1;
2740 yystate = 31;
2741 continue 'yyl;
2742 }
2743 _ => {
2744 yystate = 5;
2745 continue 'yyl;
2746 }
2747 }
2748 }
2749 27 => {
2750 return Some(crate::nodes::AlertType::Tip);
2751 }
2752 28 => {
2753 yych = unsafe {
2754 if cursor < len {
2755 *s.as_bytes().get_unchecked(cursor)
2756 } else {
2757 255
2758 }
2759 };
2760 match yych {
2761 0x49 | 0x69 => {
2762 cursor += 1;
2763 yystate = 32;
2764 continue 'yyl;
2765 }
2766 _ => {
2767 yystate = 5;
2768 continue 'yyl;
2769 }
2770 }
2771 }
2772 29 => {
2773 yych = unsafe {
2774 if cursor < len {
2775 *s.as_bytes().get_unchecked(cursor)
2776 } else {
2777 255
2778 }
2779 };
2780 match yych {
2781 0x4F | 0x6F => {
2782 cursor += 1;
2783 yystate = 33;
2784 continue 'yyl;
2785 }
2786 _ => {
2787 yystate = 5;
2788 continue 'yyl;
2789 }
2790 }
2791 }
2792 30 => {
2793 yych = unsafe {
2794 if cursor < len {
2795 *s.as_bytes().get_unchecked(cursor)
2796 } else {
2797 255
2798 }
2799 };
2800 match yych {
2801 0x54 | 0x74 => {
2802 cursor += 1;
2803 yystate = 34;
2804 continue 'yyl;
2805 }
2806 _ => {
2807 yystate = 5;
2808 continue 'yyl;
2809 }
2810 }
2811 }
2812 31 => {
2813 return Some(crate::nodes::AlertType::Note);
2814 }
2815 32 => {
2816 yych = unsafe {
2817 if cursor < len {
2818 *s.as_bytes().get_unchecked(cursor)
2819 } else {
2820 255
2821 }
2822 };
2823 match yych {
2824 0x4E | 0x6E => {
2825 cursor += 1;
2826 yystate = 35;
2827 continue 'yyl;
2828 }
2829 _ => {
2830 yystate = 5;
2831 continue 'yyl;
2832 }
2833 }
2834 }
2835 33 => {
2836 yych = unsafe {
2837 if cursor < len {
2838 *s.as_bytes().get_unchecked(cursor)
2839 } else {
2840 255
2841 }
2842 };
2843 match yych {
2844 0x4E | 0x6E => {
2845 cursor += 1;
2846 yystate = 36;
2847 continue 'yyl;
2848 }
2849 _ => {
2850 yystate = 5;
2851 continue 'yyl;
2852 }
2853 }
2854 }
2855 34 => {
2856 yych = unsafe {
2857 if cursor < len {
2858 *s.as_bytes().get_unchecked(cursor)
2859 } else {
2860 255
2861 }
2862 };
2863 match yych {
2864 0x41 | 0x61 => {
2865 cursor += 1;
2866 yystate = 37;
2867 continue 'yyl;
2868 }
2869 _ => {
2870 yystate = 5;
2871 continue 'yyl;
2872 }
2873 }
2874 }
2875 35 => {
2876 yych = unsafe {
2877 if cursor < len {
2878 *s.as_bytes().get_unchecked(cursor)
2879 } else {
2880 255
2881 }
2882 };
2883 match yych {
2884 0x47 | 0x67 => {
2885 cursor += 1;
2886 yystate = 38;
2887 continue 'yyl;
2888 }
2889 _ => {
2890 yystate = 5;
2891 continue 'yyl;
2892 }
2893 }
2894 }
2895 36 => {
2896 yych = unsafe {
2897 if cursor < len {
2898 *s.as_bytes().get_unchecked(cursor)
2899 } else {
2900 255
2901 }
2902 };
2903 match yych {
2904 0x5D => {
2905 cursor += 1;
2906 yystate = 39;
2907 continue 'yyl;
2908 }
2909 _ => {
2910 yystate = 5;
2911 continue 'yyl;
2912 }
2913 }
2914 }
2915 37 => {
2916 yych = unsafe {
2917 if cursor < len {
2918 *s.as_bytes().get_unchecked(cursor)
2919 } else {
2920 255
2921 }
2922 };
2923 match yych {
2924 0x4E | 0x6E => {
2925 cursor += 1;
2926 yystate = 40;
2927 continue 'yyl;
2928 }
2929 _ => {
2930 yystate = 5;
2931 continue 'yyl;
2932 }
2933 }
2934 }
2935 38 => {
2936 yych = unsafe {
2937 if cursor < len {
2938 *s.as_bytes().get_unchecked(cursor)
2939 } else {
2940 255
2941 }
2942 };
2943 match yych {
2944 0x5D => {
2945 cursor += 1;
2946 yystate = 41;
2947 continue 'yyl;
2948 }
2949 _ => {
2950 yystate = 5;
2951 continue 'yyl;
2952 }
2953 }
2954 }
2955 39 => {
2956 return Some(crate::nodes::AlertType::Caution);
2957 }
2958 40 => {
2959 yych = unsafe {
2960 if cursor < len {
2961 *s.as_bytes().get_unchecked(cursor)
2962 } else {
2963 255
2964 }
2965 };
2966 match yych {
2967 0x54 | 0x74 => {
2968 cursor += 1;
2969 yystate = 42;
2970 continue 'yyl;
2971 }
2972 _ => {
2973 yystate = 5;
2974 continue 'yyl;
2975 }
2976 }
2977 }
2978 41 => {
2979 return Some(crate::nodes::AlertType::Warning);
2980 }
2981 42 => {
2982 yych = unsafe {
2983 if cursor < len {
2984 *s.as_bytes().get_unchecked(cursor)
2985 } else {
2986 255
2987 }
2988 };
2989 match yych {
2990 0x5D => {
2991 cursor += 1;
2992 yystate = 43;
2993 continue 'yyl;
2994 }
2995 _ => {
2996 yystate = 5;
2997 continue 'yyl;
2998 }
2999 }
3000 }
3001 43 => {
3002 return Some(crate::nodes::AlertType::Important);
3003 }
3004 _ => panic!("internal lexer error"),
3005 }
3006 }
3007 }
3008 }
3009
3010 pub fn open_code_fence(s: &str) -> Option<usize> {
3011 let mut cursor = 0;
3012 let mut marker = 0;
3013 let mut ctxmarker = 0;
3014 let len = s.len();
3015
3016 {
3017 #[allow(unused_assignments)]
3018 let mut yych: u8 = 0;
3019 let mut yystate: usize = 0;
3020 'yyl: loop {
3021 match yystate {
3022 0 => {
3023 yych = unsafe {
3024 if cursor < len {
3025 *s.as_bytes().get_unchecked(cursor)
3026 } else {
3027 255
3028 }
3029 };
3030 cursor += 1;
3031 match yych {
3032 0x60 => {
3033 yystate = 3;
3034 continue 'yyl;
3035 }
3036 0x7E => {
3037 yystate = 4;
3038 continue 'yyl;
3039 }
3040 _ => {
3041 yystate = 1;
3042 continue 'yyl;
3043 }
3044 }
3045 }
3046 1 => {
3047 yystate = 2;
3048 continue 'yyl;
3049 }
3050 2 => {
3051 return None;
3052 }
3053 3 => {
3054 marker = cursor;
3055 yych = unsafe {
3056 if cursor < len {
3057 *s.as_bytes().get_unchecked(cursor)
3058 } else {
3059 255
3060 }
3061 };
3062 match yych {
3063 0x60 => {
3064 cursor += 1;
3065 yystate = 5;
3066 continue 'yyl;
3067 }
3068 _ => {
3069 yystate = 2;
3070 continue 'yyl;
3071 }
3072 }
3073 }
3074 4 => {
3075 marker = cursor;
3076 yych = unsafe {
3077 if cursor < len {
3078 *s.as_bytes().get_unchecked(cursor)
3079 } else {
3080 255
3081 }
3082 };
3083 match yych {
3084 0x7E => {
3085 cursor += 1;
3086 yystate = 7;
3087 continue 'yyl;
3088 }
3089 _ => {
3090 yystate = 2;
3091 continue 'yyl;
3092 }
3093 }
3094 }
3095 5 => {
3096 yych = unsafe {
3097 if cursor < len {
3098 *s.as_bytes().get_unchecked(cursor)
3099 } else {
3100 255
3101 }
3102 };
3103 match yych {
3104 0x60 => {
3105 cursor += 1;
3106 yystate = 8;
3107 continue 'yyl;
3108 }
3109 _ => {
3110 yystate = 6;
3111 continue 'yyl;
3112 }
3113 }
3114 }
3115 6 => {
3116 cursor = marker;
3117 yystate = 2;
3118 continue 'yyl;
3119 }
3120 7 => {
3121 yych = unsafe {
3122 if cursor < len {
3123 *s.as_bytes().get_unchecked(cursor)
3124 } else {
3125 255
3126 }
3127 };
3128 match yych {
3129 0x7E => {
3130 cursor += 1;
3131 yystate = 9;
3132 continue 'yyl;
3133 }
3134 _ => {
3135 yystate = 6;
3136 continue 'yyl;
3137 }
3138 }
3139 }
3140 8 => {
3141 yych = unsafe {
3142 if cursor < len {
3143 *s.as_bytes().get_unchecked(cursor)
3144 } else {
3145 255
3146 }
3147 };
3148 match yych {
3149 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5F | 0x61..=0xFE => {
3150 ctxmarker = cursor;
3151 cursor += 1;
3152 yystate = 10;
3153 continue 'yyl;
3154 }
3155 0x60 => {
3156 cursor += 1;
3157 yystate = 8;
3158 continue 'yyl;
3159 }
3160 _ => {
3161 ctxmarker = cursor;
3162 cursor += 1;
3163 yystate = 11;
3164 continue 'yyl;
3165 }
3166 }
3167 }
3168 9 => {
3169 yych = unsafe {
3170 if cursor < len {
3171 *s.as_bytes().get_unchecked(cursor)
3172 } else {
3173 255
3174 }
3175 };
3176 match yych {
3177 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x7D | 0x7F..=0xFE => {
3178 ctxmarker = cursor;
3179 cursor += 1;
3180 yystate = 12;
3181 continue 'yyl;
3182 }
3183 0x7E => {
3184 cursor += 1;
3185 yystate = 9;
3186 continue 'yyl;
3187 }
3188 _ => {
3189 ctxmarker = cursor;
3190 cursor += 1;
3191 yystate = 13;
3192 continue 'yyl;
3193 }
3194 }
3195 }
3196 10 => {
3197 yych = unsafe {
3198 if cursor < len {
3199 *s.as_bytes().get_unchecked(cursor)
3200 } else {
3201 255
3202 }
3203 };
3204 match yych {
3205 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5F | 0x61..=0xFE => {
3206 cursor += 1;
3207 yystate = 10;
3208 continue 'yyl;
3209 }
3210 0x60 => {
3211 yystate = 6;
3212 continue 'yyl;
3213 }
3214 _ => {
3215 cursor += 1;
3216 yystate = 11;
3217 continue 'yyl;
3218 }
3219 }
3220 }
3221 11 => {
3222 cursor = ctxmarker;
3223 {
3224 return Some(cursor);
3225 }
3226 }
3227 12 => {
3228 yych = unsafe {
3229 if cursor < len {
3230 *s.as_bytes().get_unchecked(cursor)
3231 } else {
3232 255
3233 }
3234 };
3235 cursor += 1;
3236 match yych {
3237 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0xFE => {
3238 yystate = 12;
3239 continue 'yyl;
3240 }
3241 _ => {
3242 yystate = 13;
3243 continue 'yyl;
3244 }
3245 }
3246 }
3247 13 => {
3248 cursor = ctxmarker;
3249 {
3250 return Some(cursor);
3251 }
3252 }
3253 _ => panic!("internal lexer error"),
3254 }
3255 }
3256 }
3257 }
3258
3259 pub fn close_code_fence(s: &str) -> Option<usize> {
3260 let mut cursor = 0;
3261 let mut marker = 0;
3262 let mut ctxmarker = 0;
3263 let len = s.len();
3264
3265 {
3266 #[allow(unused_assignments)]
3267 let mut yych: u8 = 0;
3268 let mut yystate: usize = 0;
3269 'yyl: loop {
3270 match yystate {
3271 0 => {
3272 yych = unsafe {
3273 if cursor < len {
3274 *s.as_bytes().get_unchecked(cursor)
3275 } else {
3276 255
3277 }
3278 };
3279 cursor += 1;
3280 match yych {
3281 0x60 => {
3282 yystate = 3;
3283 continue 'yyl;
3284 }
3285 0x7E => {
3286 yystate = 4;
3287 continue 'yyl;
3288 }
3289 _ => {
3290 yystate = 1;
3291 continue 'yyl;
3292 }
3293 }
3294 }
3295 1 => {
3296 yystate = 2;
3297 continue 'yyl;
3298 }
3299 2 => {
3300 return None;
3301 }
3302 3 => {
3303 marker = cursor;
3304 yych = unsafe {
3305 if cursor < len {
3306 *s.as_bytes().get_unchecked(cursor)
3307 } else {
3308 255
3309 }
3310 };
3311 match yych {
3312 0x60 => {
3313 cursor += 1;
3314 yystate = 5;
3315 continue 'yyl;
3316 }
3317 _ => {
3318 yystate = 2;
3319 continue 'yyl;
3320 }
3321 }
3322 }
3323 4 => {
3324 marker = cursor;
3325 yych = unsafe {
3326 if cursor < len {
3327 *s.as_bytes().get_unchecked(cursor)
3328 } else {
3329 255
3330 }
3331 };
3332 match yych {
3333 0x7E => {
3334 cursor += 1;
3335 yystate = 7;
3336 continue 'yyl;
3337 }
3338 _ => {
3339 yystate = 2;
3340 continue 'yyl;
3341 }
3342 }
3343 }
3344 5 => {
3345 yych = unsafe {
3346 if cursor < len {
3347 *s.as_bytes().get_unchecked(cursor)
3348 } else {
3349 255
3350 }
3351 };
3352 match yych {
3353 0x60 => {
3354 cursor += 1;
3355 yystate = 8;
3356 continue 'yyl;
3357 }
3358 _ => {
3359 yystate = 6;
3360 continue 'yyl;
3361 }
3362 }
3363 }
3364 6 => {
3365 cursor = marker;
3366 yystate = 2;
3367 continue 'yyl;
3368 }
3369 7 => {
3370 yych = unsafe {
3371 if cursor < len {
3372 *s.as_bytes().get_unchecked(cursor)
3373 } else {
3374 255
3375 }
3376 };
3377 match yych {
3378 0x7E => {
3379 cursor += 1;
3380 yystate = 9;
3381 continue 'yyl;
3382 }
3383 _ => {
3384 yystate = 6;
3385 continue 'yyl;
3386 }
3387 }
3388 }
3389 8 => {
3390 yych = unsafe {
3391 if cursor < len {
3392 *s.as_bytes().get_unchecked(cursor)
3393 } else {
3394 255
3395 }
3396 };
3397 match yych {
3398 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x5F | 0x61..=0xFE => {
3399 yystate = 6;
3400 continue 'yyl;
3401 }
3402 0x09 | 0x20 => {
3403 ctxmarker = cursor;
3404 cursor += 1;
3405 yystate = 10;
3406 continue 'yyl;
3407 }
3408 0x60 => {
3409 cursor += 1;
3410 yystate = 8;
3411 continue 'yyl;
3412 }
3413 _ => {
3414 ctxmarker = cursor;
3415 cursor += 1;
3416 yystate = 11;
3417 continue 'yyl;
3418 }
3419 }
3420 }
3421 9 => {
3422 yych = unsafe {
3423 if cursor < len {
3424 *s.as_bytes().get_unchecked(cursor)
3425 } else {
3426 255
3427 }
3428 };
3429 match yych {
3430 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x7D | 0x7F..=0xFE => {
3431 yystate = 6;
3432 continue 'yyl;
3433 }
3434 0x09 | 0x20 => {
3435 ctxmarker = cursor;
3436 cursor += 1;
3437 yystate = 12;
3438 continue 'yyl;
3439 }
3440 0x7E => {
3441 cursor += 1;
3442 yystate = 9;
3443 continue 'yyl;
3444 }
3445 _ => {
3446 ctxmarker = cursor;
3447 cursor += 1;
3448 yystate = 13;
3449 continue 'yyl;
3450 }
3451 }
3452 }
3453 10 => {
3454 yych = unsafe {
3455 if cursor < len {
3456 *s.as_bytes().get_unchecked(cursor)
3457 } else {
3458 255
3459 }
3460 };
3461 match yych {
3462 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
3463 yystate = 6;
3464 continue 'yyl;
3465 }
3466 0x09 | 0x20 => {
3467 cursor += 1;
3468 yystate = 10;
3469 continue 'yyl;
3470 }
3471 _ => {
3472 cursor += 1;
3473 yystate = 11;
3474 continue 'yyl;
3475 }
3476 }
3477 }
3478 11 => {
3479 cursor = ctxmarker;
3480 {
3481 return Some(cursor);
3482 }
3483 }
3484 12 => {
3485 yych = unsafe {
3486 if cursor < len {
3487 *s.as_bytes().get_unchecked(cursor)
3488 } else {
3489 255
3490 }
3491 };
3492 match yych {
3493 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
3494 yystate = 6;
3495 continue 'yyl;
3496 }
3497 0x09 | 0x20 => {
3498 cursor += 1;
3499 yystate = 12;
3500 continue 'yyl;
3501 }
3502 _ => {
3503 cursor += 1;
3504 yystate = 13;
3505 continue 'yyl;
3506 }
3507 }
3508 }
3509 13 => {
3510 cursor = ctxmarker;
3511 {
3512 return Some(cursor);
3513 }
3514 }
3515 _ => panic!("internal lexer error"),
3516 }
3517 }
3518 }
3519 }
3520
3521 pub fn html_block_start(s: &str) -> Option<usize> {
3522 let mut cursor = 0;
3523 let mut marker = 0;
3524 let len = s.len();
3525
3526 {
3527 #[allow(unused_assignments)]
3528 let mut yych: u8 = 0;
3529 let mut yystate: usize = 0;
3530 'yyl: loop {
3531 match yystate {
3532 0 => {
3533 yych = unsafe {
3534 if cursor < len {
3535 *s.as_bytes().get_unchecked(cursor)
3536 } else {
3537 255
3538 }
3539 };
3540 cursor += 1;
3541 match yych {
3542 0x3C => {
3543 yystate = 3;
3544 continue 'yyl;
3545 }
3546 _ => {
3547 yystate = 1;
3548 continue 'yyl;
3549 }
3550 }
3551 }
3552 1 => {
3553 yystate = 2;
3554 continue 'yyl;
3555 }
3556 2 => {
3557 return None;
3558 }
3559 3 => {
3560 marker = cursor;
3561 yych = unsafe {
3562 if cursor < len {
3563 *s.as_bytes().get_unchecked(cursor)
3564 } else {
3565 255
3566 }
3567 };
3568 match yych {
3569 0x21 => {
3570 cursor += 1;
3571 yystate = 4;
3572 continue 'yyl;
3573 }
3574 0x2F => {
3575 cursor += 1;
3576 yystate = 6;
3577 continue 'yyl;
3578 }
3579 0x3F => {
3580 cursor += 1;
3581 yystate = 7;
3582 continue 'yyl;
3583 }
3584 0x41 | 0x61 => {
3585 cursor += 1;
3586 yystate = 8;
3587 continue 'yyl;
3588 }
3589 0x42 | 0x62 => {
3590 cursor += 1;
3591 yystate = 9;
3592 continue 'yyl;
3593 }
3594 0x43 | 0x63 => {
3595 cursor += 1;
3596 yystate = 10;
3597 continue 'yyl;
3598 }
3599 0x44 | 0x64 => {
3600 cursor += 1;
3601 yystate = 11;
3602 continue 'yyl;
3603 }
3604 0x46 | 0x66 => {
3605 cursor += 1;
3606 yystate = 12;
3607 continue 'yyl;
3608 }
3609 0x48 | 0x68 => {
3610 cursor += 1;
3611 yystate = 13;
3612 continue 'yyl;
3613 }
3614 0x49 | 0x69 => {
3615 cursor += 1;
3616 yystate = 14;
3617 continue 'yyl;
3618 }
3619 0x4C | 0x6C => {
3620 cursor += 1;
3621 yystate = 15;
3622 continue 'yyl;
3623 }
3624 0x4D | 0x6D => {
3625 cursor += 1;
3626 yystate = 16;
3627 continue 'yyl;
3628 }
3629 0x4E | 0x6E => {
3630 cursor += 1;
3631 yystate = 17;
3632 continue 'yyl;
3633 }
3634 0x4F | 0x6F => {
3635 cursor += 1;
3636 yystate = 18;
3637 continue 'yyl;
3638 }
3639 0x50 | 0x70 => {
3640 cursor += 1;
3641 yystate = 19;
3642 continue 'yyl;
3643 }
3644 0x53 | 0x73 => {
3645 cursor += 1;
3646 yystate = 20;
3647 continue 'yyl;
3648 }
3649 0x54 | 0x74 => {
3650 cursor += 1;
3651 yystate = 21;
3652 continue 'yyl;
3653 }
3654 0x55 | 0x75 => {
3655 cursor += 1;
3656 yystate = 22;
3657 continue 'yyl;
3658 }
3659 _ => {
3660 yystate = 2;
3661 continue 'yyl;
3662 }
3663 }
3664 }
3665 4 => {
3666 yych = unsafe {
3667 if cursor < len {
3668 *s.as_bytes().get_unchecked(cursor)
3669 } else {
3670 255
3671 }
3672 };
3673 match yych {
3674 0x2D => {
3675 cursor += 1;
3676 yystate = 23;
3677 continue 'yyl;
3678 }
3679 0x41..=0x5A | 0x61..=0x7A => {
3680 cursor += 1;
3681 yystate = 24;
3682 continue 'yyl;
3683 }
3684 0x5B => {
3685 cursor += 1;
3686 yystate = 25;
3687 continue 'yyl;
3688 }
3689 _ => {
3690 yystate = 5;
3691 continue 'yyl;
3692 }
3693 }
3694 }
3695 5 => {
3696 cursor = marker;
3697 yystate = 2;
3698 continue 'yyl;
3699 }
3700 6 => {
3701 yych = unsafe {
3702 if cursor < len {
3703 *s.as_bytes().get_unchecked(cursor)
3704 } else {
3705 255
3706 }
3707 };
3708 match yych {
3709 0x41 | 0x61 => {
3710 cursor += 1;
3711 yystate = 8;
3712 continue 'yyl;
3713 }
3714 0x42 | 0x62 => {
3715 cursor += 1;
3716 yystate = 9;
3717 continue 'yyl;
3718 }
3719 0x43 | 0x63 => {
3720 cursor += 1;
3721 yystate = 10;
3722 continue 'yyl;
3723 }
3724 0x44 | 0x64 => {
3725 cursor += 1;
3726 yystate = 11;
3727 continue 'yyl;
3728 }
3729 0x46 | 0x66 => {
3730 cursor += 1;
3731 yystate = 12;
3732 continue 'yyl;
3733 }
3734 0x48 | 0x68 => {
3735 cursor += 1;
3736 yystate = 13;
3737 continue 'yyl;
3738 }
3739 0x49 | 0x69 => {
3740 cursor += 1;
3741 yystate = 14;
3742 continue 'yyl;
3743 }
3744 0x4C | 0x6C => {
3745 cursor += 1;
3746 yystate = 15;
3747 continue 'yyl;
3748 }
3749 0x4D | 0x6D => {
3750 cursor += 1;
3751 yystate = 16;
3752 continue 'yyl;
3753 }
3754 0x4E | 0x6E => {
3755 cursor += 1;
3756 yystate = 17;
3757 continue 'yyl;
3758 }
3759 0x4F | 0x6F => {
3760 cursor += 1;
3761 yystate = 18;
3762 continue 'yyl;
3763 }
3764 0x50 | 0x70 => {
3765 cursor += 1;
3766 yystate = 26;
3767 continue 'yyl;
3768 }
3769 0x53 | 0x73 => {
3770 cursor += 1;
3771 yystate = 27;
3772 continue 'yyl;
3773 }
3774 0x54 | 0x74 => {
3775 cursor += 1;
3776 yystate = 28;
3777 continue 'yyl;
3778 }
3779 0x55 | 0x75 => {
3780 cursor += 1;
3781 yystate = 22;
3782 continue 'yyl;
3783 }
3784 _ => {
3785 yystate = 5;
3786 continue 'yyl;
3787 }
3788 }
3789 }
3790 7 => {
3791 return Some(3);
3792 }
3793 8 => {
3794 yych = unsafe {
3795 if cursor < len {
3796 *s.as_bytes().get_unchecked(cursor)
3797 } else {
3798 255
3799 }
3800 };
3801 match yych {
3802 0x44 | 0x64 => {
3803 cursor += 1;
3804 yystate = 29;
3805 continue 'yyl;
3806 }
3807 0x52 | 0x72 => {
3808 cursor += 1;
3809 yystate = 30;
3810 continue 'yyl;
3811 }
3812 0x53 | 0x73 => {
3813 cursor += 1;
3814 yystate = 31;
3815 continue 'yyl;
3816 }
3817 _ => {
3818 yystate = 5;
3819 continue 'yyl;
3820 }
3821 }
3822 }
3823 9 => {
3824 yych = unsafe {
3825 if cursor < len {
3826 *s.as_bytes().get_unchecked(cursor)
3827 } else {
3828 255
3829 }
3830 };
3831 match yych {
3832 0x41 | 0x61 => {
3833 cursor += 1;
3834 yystate = 32;
3835 continue 'yyl;
3836 }
3837 0x4C | 0x6C => {
3838 cursor += 1;
3839 yystate = 33;
3840 continue 'yyl;
3841 }
3842 0x4F | 0x6F => {
3843 cursor += 1;
3844 yystate = 34;
3845 continue 'yyl;
3846 }
3847 _ => {
3848 yystate = 5;
3849 continue 'yyl;
3850 }
3851 }
3852 }
3853 10 => {
3854 yych = unsafe {
3855 if cursor < len {
3856 *s.as_bytes().get_unchecked(cursor)
3857 } else {
3858 255
3859 }
3860 };
3861 match yych {
3862 0x41 | 0x61 => {
3863 cursor += 1;
3864 yystate = 35;
3865 continue 'yyl;
3866 }
3867 0x45 | 0x65 => {
3868 cursor += 1;
3869 yystate = 36;
3870 continue 'yyl;
3871 }
3872 0x4F | 0x6F => {
3873 cursor += 1;
3874 yystate = 37;
3875 continue 'yyl;
3876 }
3877 _ => {
3878 yystate = 5;
3879 continue 'yyl;
3880 }
3881 }
3882 }
3883 11 => {
3884 yych = unsafe {
3885 if cursor < len {
3886 *s.as_bytes().get_unchecked(cursor)
3887 } else {
3888 255
3889 }
3890 };
3891 match yych {
3892 0x44 | 0x4C | 0x54 | 0x64 | 0x6C | 0x74 => {
3893 cursor += 1;
3894 yystate = 38;
3895 continue 'yyl;
3896 }
3897 0x45 | 0x65 => {
3898 cursor += 1;
3899 yystate = 39;
3900 continue 'yyl;
3901 }
3902 0x49 | 0x69 => {
3903 cursor += 1;
3904 yystate = 40;
3905 continue 'yyl;
3906 }
3907 _ => {
3908 yystate = 5;
3909 continue 'yyl;
3910 }
3911 }
3912 }
3913 12 => {
3914 yych = unsafe {
3915 if cursor < len {
3916 *s.as_bytes().get_unchecked(cursor)
3917 } else {
3918 255
3919 }
3920 };
3921 match yych {
3922 0x49 | 0x69 => {
3923 cursor += 1;
3924 yystate = 41;
3925 continue 'yyl;
3926 }
3927 0x4F | 0x6F => {
3928 cursor += 1;
3929 yystate = 42;
3930 continue 'yyl;
3931 }
3932 0x52 | 0x72 => {
3933 cursor += 1;
3934 yystate = 43;
3935 continue 'yyl;
3936 }
3937 _ => {
3938 yystate = 5;
3939 continue 'yyl;
3940 }
3941 }
3942 }
3943 13 => {
3944 yych = unsafe {
3945 if cursor < len {
3946 *s.as_bytes().get_unchecked(cursor)
3947 } else {
3948 255
3949 }
3950 };
3951 match yych {
3952 0x31..=0x36 | 0x52 | 0x72 => {
3953 cursor += 1;
3954 yystate = 38;
3955 continue 'yyl;
3956 }
3957 0x45 | 0x65 => {
3958 cursor += 1;
3959 yystate = 44;
3960 continue 'yyl;
3961 }
3962 0x54 | 0x74 => {
3963 cursor += 1;
3964 yystate = 45;
3965 continue 'yyl;
3966 }
3967 _ => {
3968 yystate = 5;
3969 continue 'yyl;
3970 }
3971 }
3972 }
3973 14 => {
3974 yych = unsafe {
3975 if cursor < len {
3976 *s.as_bytes().get_unchecked(cursor)
3977 } else {
3978 255
3979 }
3980 };
3981 match yych {
3982 0x46 | 0x66 => {
3983 cursor += 1;
3984 yystate = 46;
3985 continue 'yyl;
3986 }
3987 _ => {
3988 yystate = 5;
3989 continue 'yyl;
3990 }
3991 }
3992 }
3993 15 => {
3994 yych = unsafe {
3995 if cursor < len {
3996 *s.as_bytes().get_unchecked(cursor)
3997 } else {
3998 255
3999 }
4000 };
4001 match yych {
4002 0x45 | 0x65 => {
4003 cursor += 1;
4004 yystate = 47;
4005 continue 'yyl;
4006 }
4007 0x49 | 0x69 => {
4008 cursor += 1;
4009 yystate = 48;
4010 continue 'yyl;
4011 }
4012 _ => {
4013 yystate = 5;
4014 continue 'yyl;
4015 }
4016 }
4017 }
4018 16 => {
4019 yych = unsafe {
4020 if cursor < len {
4021 *s.as_bytes().get_unchecked(cursor)
4022 } else {
4023 255
4024 }
4025 };
4026 match yych {
4027 0x41 | 0x61 => {
4028 cursor += 1;
4029 yystate = 49;
4030 continue 'yyl;
4031 }
4032 0x45 | 0x65 => {
4033 cursor += 1;
4034 yystate = 50;
4035 continue 'yyl;
4036 }
4037 _ => {
4038 yystate = 5;
4039 continue 'yyl;
4040 }
4041 }
4042 }
4043 17 => {
4044 yych = unsafe {
4045 if cursor < len {
4046 *s.as_bytes().get_unchecked(cursor)
4047 } else {
4048 255
4049 }
4050 };
4051 match yych {
4052 0x41 | 0x61 => {
4053 cursor += 1;
4054 yystate = 51;
4055 continue 'yyl;
4056 }
4057 0x4F | 0x6F => {
4058 cursor += 1;
4059 yystate = 52;
4060 continue 'yyl;
4061 }
4062 _ => {
4063 yystate = 5;
4064 continue 'yyl;
4065 }
4066 }
4067 }
4068 18 => {
4069 yych = unsafe {
4070 if cursor < len {
4071 *s.as_bytes().get_unchecked(cursor)
4072 } else {
4073 255
4074 }
4075 };
4076 match yych {
4077 0x4C | 0x6C => {
4078 cursor += 1;
4079 yystate = 38;
4080 continue 'yyl;
4081 }
4082 0x50 | 0x70 => {
4083 cursor += 1;
4084 yystate = 53;
4085 continue 'yyl;
4086 }
4087 _ => {
4088 yystate = 5;
4089 continue 'yyl;
4090 }
4091 }
4092 }
4093 19 => {
4094 yych = unsafe {
4095 if cursor < len {
4096 *s.as_bytes().get_unchecked(cursor)
4097 } else {
4098 255
4099 }
4100 };
4101 match yych {
4102 0x09..=0x0D | 0x20 | 0x3E => {
4103 cursor += 1;
4104 yystate = 54;
4105 continue 'yyl;
4106 }
4107 0x2F => {
4108 cursor += 1;
4109 yystate = 55;
4110 continue 'yyl;
4111 }
4112 0x41 | 0x61 => {
4113 cursor += 1;
4114 yystate = 56;
4115 continue 'yyl;
4116 }
4117 0x52 | 0x72 => {
4118 cursor += 1;
4119 yystate = 57;
4120 continue 'yyl;
4121 }
4122 _ => {
4123 yystate = 5;
4124 continue 'yyl;
4125 }
4126 }
4127 }
4128 20 => {
4129 yych = unsafe {
4130 if cursor < len {
4131 *s.as_bytes().get_unchecked(cursor)
4132 } else {
4133 255
4134 }
4135 };
4136 match yych {
4137 0x43 | 0x63 => {
4138 cursor += 1;
4139 yystate = 58;
4140 continue 'yyl;
4141 }
4142 0x45 | 0x65 => {
4143 cursor += 1;
4144 yystate = 59;
4145 continue 'yyl;
4146 }
4147 0x54 | 0x74 => {
4148 cursor += 1;
4149 yystate = 60;
4150 continue 'yyl;
4151 }
4152 0x55 | 0x75 => {
4153 cursor += 1;
4154 yystate = 61;
4155 continue 'yyl;
4156 }
4157 _ => {
4158 yystate = 5;
4159 continue 'yyl;
4160 }
4161 }
4162 }
4163 21 => {
4164 yych = unsafe {
4165 if cursor < len {
4166 *s.as_bytes().get_unchecked(cursor)
4167 } else {
4168 255
4169 }
4170 };
4171 match yych {
4172 0x41 | 0x61 => {
4173 cursor += 1;
4174 yystate = 62;
4175 continue 'yyl;
4176 }
4177 0x42 | 0x62 => {
4178 cursor += 1;
4179 yystate = 63;
4180 continue 'yyl;
4181 }
4182 0x44 | 0x64 => {
4183 cursor += 1;
4184 yystate = 38;
4185 continue 'yyl;
4186 }
4187 0x45 | 0x65 => {
4188 cursor += 1;
4189 yystate = 64;
4190 continue 'yyl;
4191 }
4192 0x46 | 0x66 => {
4193 cursor += 1;
4194 yystate = 65;
4195 continue 'yyl;
4196 }
4197 0x48 | 0x68 => {
4198 cursor += 1;
4199 yystate = 66;
4200 continue 'yyl;
4201 }
4202 0x49 | 0x69 => {
4203 cursor += 1;
4204 yystate = 67;
4205 continue 'yyl;
4206 }
4207 0x52 | 0x72 => {
4208 cursor += 1;
4209 yystate = 68;
4210 continue 'yyl;
4211 }
4212 _ => {
4213 yystate = 5;
4214 continue 'yyl;
4215 }
4216 }
4217 }
4218 22 => {
4219 yych = unsafe {
4220 if cursor < len {
4221 *s.as_bytes().get_unchecked(cursor)
4222 } else {
4223 255
4224 }
4225 };
4226 match yych {
4227 0x4C | 0x6C => {
4228 cursor += 1;
4229 yystate = 38;
4230 continue 'yyl;
4231 }
4232 _ => {
4233 yystate = 5;
4234 continue 'yyl;
4235 }
4236 }
4237 }
4238 23 => {
4239 yych = unsafe {
4240 if cursor < len {
4241 *s.as_bytes().get_unchecked(cursor)
4242 } else {
4243 255
4244 }
4245 };
4246 match yych {
4247 0x2D => {
4248 cursor += 1;
4249 yystate = 69;
4250 continue 'yyl;
4251 }
4252 _ => {
4253 yystate = 5;
4254 continue 'yyl;
4255 }
4256 }
4257 }
4258 24 => {
4259 return Some(4);
4260 }
4261 25 => {
4262 yych = unsafe {
4263 if cursor < len {
4264 *s.as_bytes().get_unchecked(cursor)
4265 } else {
4266 255
4267 }
4268 };
4269 match yych {
4270 0x43 | 0x63 => {
4271 cursor += 1;
4272 yystate = 70;
4273 continue 'yyl;
4274 }
4275 _ => {
4276 yystate = 5;
4277 continue 'yyl;
4278 }
4279 }
4280 }
4281 26 => {
4282 yych = unsafe {
4283 if cursor < len {
4284 *s.as_bytes().get_unchecked(cursor)
4285 } else {
4286 255
4287 }
4288 };
4289 match yych {
4290 0x09..=0x0D | 0x20 | 0x3E => {
4291 cursor += 1;
4292 yystate = 54;
4293 continue 'yyl;
4294 }
4295 0x2F => {
4296 cursor += 1;
4297 yystate = 55;
4298 continue 'yyl;
4299 }
4300 0x41 | 0x61 => {
4301 cursor += 1;
4302 yystate = 56;
4303 continue 'yyl;
4304 }
4305 _ => {
4306 yystate = 5;
4307 continue 'yyl;
4308 }
4309 }
4310 }
4311 27 => {
4312 yych = unsafe {
4313 if cursor < len {
4314 *s.as_bytes().get_unchecked(cursor)
4315 } else {
4316 255
4317 }
4318 };
4319 match yych {
4320 0x45 | 0x65 => {
4321 cursor += 1;
4322 yystate = 59;
4323 continue 'yyl;
4324 }
4325 0x55 | 0x75 => {
4326 cursor += 1;
4327 yystate = 61;
4328 continue 'yyl;
4329 }
4330 _ => {
4331 yystate = 5;
4332 continue 'yyl;
4333 }
4334 }
4335 }
4336 28 => {
4337 yych = unsafe {
4338 if cursor < len {
4339 *s.as_bytes().get_unchecked(cursor)
4340 } else {
4341 255
4342 }
4343 };
4344 match yych {
4345 0x41 | 0x61 => {
4346 cursor += 1;
4347 yystate = 62;
4348 continue 'yyl;
4349 }
4350 0x42 | 0x62 => {
4351 cursor += 1;
4352 yystate = 63;
4353 continue 'yyl;
4354 }
4355 0x44 | 0x64 => {
4356 cursor += 1;
4357 yystate = 38;
4358 continue 'yyl;
4359 }
4360 0x46 | 0x66 => {
4361 cursor += 1;
4362 yystate = 65;
4363 continue 'yyl;
4364 }
4365 0x48 | 0x68 => {
4366 cursor += 1;
4367 yystate = 66;
4368 continue 'yyl;
4369 }
4370 0x49 | 0x69 => {
4371 cursor += 1;
4372 yystate = 67;
4373 continue 'yyl;
4374 }
4375 0x52 | 0x72 => {
4376 cursor += 1;
4377 yystate = 68;
4378 continue 'yyl;
4379 }
4380 _ => {
4381 yystate = 5;
4382 continue 'yyl;
4383 }
4384 }
4385 }
4386 29 => {
4387 yych = unsafe {
4388 if cursor < len {
4389 *s.as_bytes().get_unchecked(cursor)
4390 } else {
4391 255
4392 }
4393 };
4394 match yych {
4395 0x44 | 0x64 => {
4396 cursor += 1;
4397 yystate = 71;
4398 continue 'yyl;
4399 }
4400 _ => {
4401 yystate = 5;
4402 continue 'yyl;
4403 }
4404 }
4405 }
4406 30 => {
4407 yych = unsafe {
4408 if cursor < len {
4409 *s.as_bytes().get_unchecked(cursor)
4410 } else {
4411 255
4412 }
4413 };
4414 match yych {
4415 0x54 | 0x74 => {
4416 cursor += 1;
4417 yystate = 72;
4418 continue 'yyl;
4419 }
4420 _ => {
4421 yystate = 5;
4422 continue 'yyl;
4423 }
4424 }
4425 }
4426 31 => {
4427 yych = unsafe {
4428 if cursor < len {
4429 *s.as_bytes().get_unchecked(cursor)
4430 } else {
4431 255
4432 }
4433 };
4434 match yych {
4435 0x49 | 0x69 => {
4436 cursor += 1;
4437 yystate = 73;
4438 continue 'yyl;
4439 }
4440 _ => {
4441 yystate = 5;
4442 continue 'yyl;
4443 }
4444 }
4445 }
4446 32 => {
4447 yych = unsafe {
4448 if cursor < len {
4449 *s.as_bytes().get_unchecked(cursor)
4450 } else {
4451 255
4452 }
4453 };
4454 match yych {
4455 0x53 | 0x73 => {
4456 cursor += 1;
4457 yystate = 74;
4458 continue 'yyl;
4459 }
4460 _ => {
4461 yystate = 5;
4462 continue 'yyl;
4463 }
4464 }
4465 }
4466 33 => {
4467 yych = unsafe {
4468 if cursor < len {
4469 *s.as_bytes().get_unchecked(cursor)
4470 } else {
4471 255
4472 }
4473 };
4474 match yych {
4475 0x4F | 0x6F => {
4476 cursor += 1;
4477 yystate = 75;
4478 continue 'yyl;
4479 }
4480 _ => {
4481 yystate = 5;
4482 continue 'yyl;
4483 }
4484 }
4485 }
4486 34 => {
4487 yych = unsafe {
4488 if cursor < len {
4489 *s.as_bytes().get_unchecked(cursor)
4490 } else {
4491 255
4492 }
4493 };
4494 match yych {
4495 0x44 | 0x64 => {
4496 cursor += 1;
4497 yystate = 76;
4498 continue 'yyl;
4499 }
4500 _ => {
4501 yystate = 5;
4502 continue 'yyl;
4503 }
4504 }
4505 }
4506 35 => {
4507 yych = unsafe {
4508 if cursor < len {
4509 *s.as_bytes().get_unchecked(cursor)
4510 } else {
4511 255
4512 }
4513 };
4514 match yych {
4515 0x50 | 0x70 => {
4516 cursor += 1;
4517 yystate = 77;
4518 continue 'yyl;
4519 }
4520 _ => {
4521 yystate = 5;
4522 continue 'yyl;
4523 }
4524 }
4525 }
4526 36 => {
4527 yych = unsafe {
4528 if cursor < len {
4529 *s.as_bytes().get_unchecked(cursor)
4530 } else {
4531 255
4532 }
4533 };
4534 match yych {
4535 0x4E | 0x6E => {
4536 cursor += 1;
4537 yystate = 78;
4538 continue 'yyl;
4539 }
4540 _ => {
4541 yystate = 5;
4542 continue 'yyl;
4543 }
4544 }
4545 }
4546 37 => {
4547 yych = unsafe {
4548 if cursor < len {
4549 *s.as_bytes().get_unchecked(cursor)
4550 } else {
4551 255
4552 }
4553 };
4554 match yych {
4555 0x4C | 0x6C => {
4556 cursor += 1;
4557 yystate = 79;
4558 continue 'yyl;
4559 }
4560 _ => {
4561 yystate = 5;
4562 continue 'yyl;
4563 }
4564 }
4565 }
4566 38 => {
4567 yych = unsafe {
4568 if cursor < len {
4569 *s.as_bytes().get_unchecked(cursor)
4570 } else {
4571 255
4572 }
4573 };
4574 match yych {
4575 0x09..=0x0D | 0x20 | 0x3E => {
4576 cursor += 1;
4577 yystate = 54;
4578 continue 'yyl;
4579 }
4580 0x2F => {
4581 cursor += 1;
4582 yystate = 55;
4583 continue 'yyl;
4584 }
4585 _ => {
4586 yystate = 5;
4587 continue 'yyl;
4588 }
4589 }
4590 }
4591 39 => {
4592 yych = unsafe {
4593 if cursor < len {
4594 *s.as_bytes().get_unchecked(cursor)
4595 } else {
4596 255
4597 }
4598 };
4599 match yych {
4600 0x54 | 0x74 => {
4601 cursor += 1;
4602 yystate = 80;
4603 continue 'yyl;
4604 }
4605 _ => {
4606 yystate = 5;
4607 continue 'yyl;
4608 }
4609 }
4610 }
4611 40 => {
4612 yych = unsafe {
4613 if cursor < len {
4614 *s.as_bytes().get_unchecked(cursor)
4615 } else {
4616 255
4617 }
4618 };
4619 match yych {
4620 0x41 | 0x61 => {
4621 cursor += 1;
4622 yystate = 81;
4623 continue 'yyl;
4624 }
4625 0x52 | 0x56 | 0x72 | 0x76 => {
4626 cursor += 1;
4627 yystate = 38;
4628 continue 'yyl;
4629 }
4630 _ => {
4631 yystate = 5;
4632 continue 'yyl;
4633 }
4634 }
4635 }
4636 41 => {
4637 yych = unsafe {
4638 if cursor < len {
4639 *s.as_bytes().get_unchecked(cursor)
4640 } else {
4641 255
4642 }
4643 };
4644 match yych {
4645 0x45 | 0x65 => {
4646 cursor += 1;
4647 yystate = 82;
4648 continue 'yyl;
4649 }
4650 0x47 | 0x67 => {
4651 cursor += 1;
4652 yystate = 83;
4653 continue 'yyl;
4654 }
4655 _ => {
4656 yystate = 5;
4657 continue 'yyl;
4658 }
4659 }
4660 }
4661 42 => {
4662 yych = unsafe {
4663 if cursor < len {
4664 *s.as_bytes().get_unchecked(cursor)
4665 } else {
4666 255
4667 }
4668 };
4669 match yych {
4670 0x4F | 0x6F => {
4671 cursor += 1;
4672 yystate = 78;
4673 continue 'yyl;
4674 }
4675 0x52 | 0x72 => {
4676 cursor += 1;
4677 yystate = 84;
4678 continue 'yyl;
4679 }
4680 _ => {
4681 yystate = 5;
4682 continue 'yyl;
4683 }
4684 }
4685 }
4686 43 => {
4687 yych = unsafe {
4688 if cursor < len {
4689 *s.as_bytes().get_unchecked(cursor)
4690 } else {
4691 255
4692 }
4693 };
4694 match yych {
4695 0x41 | 0x61 => {
4696 cursor += 1;
4697 yystate = 85;
4698 continue 'yyl;
4699 }
4700 _ => {
4701 yystate = 5;
4702 continue 'yyl;
4703 }
4704 }
4705 }
4706 44 => {
4707 yych = unsafe {
4708 if cursor < len {
4709 *s.as_bytes().get_unchecked(cursor)
4710 } else {
4711 255
4712 }
4713 };
4714 match yych {
4715 0x41 | 0x61 => {
4716 cursor += 1;
4717 yystate = 86;
4718 continue 'yyl;
4719 }
4720 _ => {
4721 yystate = 5;
4722 continue 'yyl;
4723 }
4724 }
4725 }
4726 45 => {
4727 yych = unsafe {
4728 if cursor < len {
4729 *s.as_bytes().get_unchecked(cursor)
4730 } else {
4731 255
4732 }
4733 };
4734 match yych {
4735 0x4D | 0x6D => {
4736 cursor += 1;
4737 yystate = 22;
4738 continue 'yyl;
4739 }
4740 _ => {
4741 yystate = 5;
4742 continue 'yyl;
4743 }
4744 }
4745 }
4746 46 => {
4747 yych = unsafe {
4748 if cursor < len {
4749 *s.as_bytes().get_unchecked(cursor)
4750 } else {
4751 255
4752 }
4753 };
4754 match yych {
4755 0x52 | 0x72 => {
4756 cursor += 1;
4757 yystate = 87;
4758 continue 'yyl;
4759 }
4760 _ => {
4761 yystate = 5;
4762 continue 'yyl;
4763 }
4764 }
4765 }
4766 47 => {
4767 yych = unsafe {
4768 if cursor < len {
4769 *s.as_bytes().get_unchecked(cursor)
4770 } else {
4771 255
4772 }
4773 };
4774 match yych {
4775 0x47 | 0x67 => {
4776 cursor += 1;
4777 yystate = 88;
4778 continue 'yyl;
4779 }
4780 _ => {
4781 yystate = 5;
4782 continue 'yyl;
4783 }
4784 }
4785 }
4786 48 => {
4787 yych = unsafe {
4788 if cursor < len {
4789 *s.as_bytes().get_unchecked(cursor)
4790 } else {
4791 255
4792 }
4793 };
4794 match yych {
4795 0x09..=0x0D | 0x20 | 0x3E => {
4796 cursor += 1;
4797 yystate = 54;
4798 continue 'yyl;
4799 }
4800 0x2F => {
4801 cursor += 1;
4802 yystate = 55;
4803 continue 'yyl;
4804 }
4805 0x4E | 0x6E => {
4806 cursor += 1;
4807 yystate = 89;
4808 continue 'yyl;
4809 }
4810 _ => {
4811 yystate = 5;
4812 continue 'yyl;
4813 }
4814 }
4815 }
4816 49 => {
4817 yych = unsafe {
4818 if cursor < len {
4819 *s.as_bytes().get_unchecked(cursor)
4820 } else {
4821 255
4822 }
4823 };
4824 match yych {
4825 0x49 | 0x69 => {
4826 cursor += 1;
4827 yystate = 90;
4828 continue 'yyl;
4829 }
4830 _ => {
4831 yystate = 5;
4832 continue 'yyl;
4833 }
4834 }
4835 }
4836 50 => {
4837 yych = unsafe {
4838 if cursor < len {
4839 *s.as_bytes().get_unchecked(cursor)
4840 } else {
4841 255
4842 }
4843 };
4844 match yych {
4845 0x4E | 0x6E => {
4846 cursor += 1;
4847 yystate = 91;
4848 continue 'yyl;
4849 }
4850 _ => {
4851 yystate = 5;
4852 continue 'yyl;
4853 }
4854 }
4855 }
4856 51 => {
4857 yych = unsafe {
4858 if cursor < len {
4859 *s.as_bytes().get_unchecked(cursor)
4860 } else {
4861 255
4862 }
4863 };
4864 match yych {
4865 0x56 | 0x76 => {
4866 cursor += 1;
4867 yystate = 38;
4868 continue 'yyl;
4869 }
4870 _ => {
4871 yystate = 5;
4872 continue 'yyl;
4873 }
4874 }
4875 }
4876 52 => {
4877 yych = unsafe {
4878 if cursor < len {
4879 *s.as_bytes().get_unchecked(cursor)
4880 } else {
4881 255
4882 }
4883 };
4884 match yych {
4885 0x46 | 0x66 => {
4886 cursor += 1;
4887 yystate = 92;
4888 continue 'yyl;
4889 }
4890 _ => {
4891 yystate = 5;
4892 continue 'yyl;
4893 }
4894 }
4895 }
4896 53 => {
4897 yych = unsafe {
4898 if cursor < len {
4899 *s.as_bytes().get_unchecked(cursor)
4900 } else {
4901 255
4902 }
4903 };
4904 match yych {
4905 0x54 | 0x74 => {
4906 cursor += 1;
4907 yystate = 93;
4908 continue 'yyl;
4909 }
4910 _ => {
4911 yystate = 5;
4912 continue 'yyl;
4913 }
4914 }
4915 }
4916 54 => {
4917 return Some(6);
4918 }
4919 55 => {
4920 yych = unsafe {
4921 if cursor < len {
4922 *s.as_bytes().get_unchecked(cursor)
4923 } else {
4924 255
4925 }
4926 };
4927 match yych {
4928 0x3E => {
4929 cursor += 1;
4930 yystate = 54;
4931 continue 'yyl;
4932 }
4933 _ => {
4934 yystate = 5;
4935 continue 'yyl;
4936 }
4937 }
4938 }
4939 56 => {
4940 yych = unsafe {
4941 if cursor < len {
4942 *s.as_bytes().get_unchecked(cursor)
4943 } else {
4944 255
4945 }
4946 };
4947 match yych {
4948 0x52 | 0x72 => {
4949 cursor += 1;
4950 yystate = 94;
4951 continue 'yyl;
4952 }
4953 _ => {
4954 yystate = 5;
4955 continue 'yyl;
4956 }
4957 }
4958 }
4959 57 => {
4960 yych = unsafe {
4961 if cursor < len {
4962 *s.as_bytes().get_unchecked(cursor)
4963 } else {
4964 255
4965 }
4966 };
4967 match yych {
4968 0x45 | 0x65 => {
4969 cursor += 1;
4970 yystate = 95;
4971 continue 'yyl;
4972 }
4973 _ => {
4974 yystate = 5;
4975 continue 'yyl;
4976 }
4977 }
4978 }
4979 58 => {
4980 yych = unsafe {
4981 if cursor < len {
4982 *s.as_bytes().get_unchecked(cursor)
4983 } else {
4984 255
4985 }
4986 };
4987 match yych {
4988 0x52 | 0x72 => {
4989 cursor += 1;
4990 yystate = 96;
4991 continue 'yyl;
4992 }
4993 _ => {
4994 yystate = 5;
4995 continue 'yyl;
4996 }
4997 }
4998 }
4999 59 => {
5000 yych = unsafe {
5001 if cursor < len {
5002 *s.as_bytes().get_unchecked(cursor)
5003 } else {
5004 255
5005 }
5006 };
5007 match yych {
5008 0x41 | 0x61 => {
5009 cursor += 1;
5010 yystate = 97;
5011 continue 'yyl;
5012 }
5013 0x43 | 0x63 => {
5014 cursor += 1;
5015 yystate = 77;
5016 continue 'yyl;
5017 }
5018 _ => {
5019 yystate = 5;
5020 continue 'yyl;
5021 }
5022 }
5023 }
5024 60 => {
5025 yych = unsafe {
5026 if cursor < len {
5027 *s.as_bytes().get_unchecked(cursor)
5028 } else {
5029 255
5030 }
5031 };
5032 match yych {
5033 0x59 | 0x79 => {
5034 cursor += 1;
5035 yystate = 98;
5036 continue 'yyl;
5037 }
5038 _ => {
5039 yystate = 5;
5040 continue 'yyl;
5041 }
5042 }
5043 }
5044 61 => {
5045 yych = unsafe {
5046 if cursor < len {
5047 *s.as_bytes().get_unchecked(cursor)
5048 } else {
5049 255
5050 }
5051 };
5052 match yych {
5053 0x4D | 0x6D => {
5054 cursor += 1;
5055 yystate = 99;
5056 continue 'yyl;
5057 }
5058 _ => {
5059 yystate = 5;
5060 continue 'yyl;
5061 }
5062 }
5063 }
5064 62 => {
5065 yych = unsafe {
5066 if cursor < len {
5067 *s.as_bytes().get_unchecked(cursor)
5068 } else {
5069 255
5070 }
5071 };
5072 match yych {
5073 0x42 | 0x62 => {
5074 cursor += 1;
5075 yystate = 100;
5076 continue 'yyl;
5077 }
5078 _ => {
5079 yystate = 5;
5080 continue 'yyl;
5081 }
5082 }
5083 }
5084 63 => {
5085 yych = unsafe {
5086 if cursor < len {
5087 *s.as_bytes().get_unchecked(cursor)
5088 } else {
5089 255
5090 }
5091 };
5092 match yych {
5093 0x4F | 0x6F => {
5094 cursor += 1;
5095 yystate = 34;
5096 continue 'yyl;
5097 }
5098 _ => {
5099 yystate = 5;
5100 continue 'yyl;
5101 }
5102 }
5103 }
5104 64 => {
5105 yych = unsafe {
5106 if cursor < len {
5107 *s.as_bytes().get_unchecked(cursor)
5108 } else {
5109 255
5110 }
5111 };
5112 match yych {
5113 0x58 | 0x78 => {
5114 cursor += 1;
5115 yystate = 101;
5116 continue 'yyl;
5117 }
5118 _ => {
5119 yystate = 5;
5120 continue 'yyl;
5121 }
5122 }
5123 }
5124 65 => {
5125 yych = unsafe {
5126 if cursor < len {
5127 *s.as_bytes().get_unchecked(cursor)
5128 } else {
5129 255
5130 }
5131 };
5132 match yych {
5133 0x4F | 0x6F => {
5134 cursor += 1;
5135 yystate = 102;
5136 continue 'yyl;
5137 }
5138 _ => {
5139 yystate = 5;
5140 continue 'yyl;
5141 }
5142 }
5143 }
5144 66 => {
5145 yych = unsafe {
5146 if cursor < len {
5147 *s.as_bytes().get_unchecked(cursor)
5148 } else {
5149 255
5150 }
5151 };
5152 match yych {
5153 0x09..=0x0D | 0x20 | 0x3E => {
5154 cursor += 1;
5155 yystate = 54;
5156 continue 'yyl;
5157 }
5158 0x2F => {
5159 cursor += 1;
5160 yystate = 55;
5161 continue 'yyl;
5162 }
5163 0x45 | 0x65 => {
5164 cursor += 1;
5165 yystate = 103;
5166 continue 'yyl;
5167 }
5168 _ => {
5169 yystate = 5;
5170 continue 'yyl;
5171 }
5172 }
5173 }
5174 67 => {
5175 yych = unsafe {
5176 if cursor < len {
5177 *s.as_bytes().get_unchecked(cursor)
5178 } else {
5179 255
5180 }
5181 };
5182 match yych {
5183 0x54 | 0x74 => {
5184 cursor += 1;
5185 yystate = 100;
5186 continue 'yyl;
5187 }
5188 _ => {
5189 yystate = 5;
5190 continue 'yyl;
5191 }
5192 }
5193 }
5194 68 => {
5195 yych = unsafe {
5196 if cursor < len {
5197 *s.as_bytes().get_unchecked(cursor)
5198 } else {
5199 255
5200 }
5201 };
5202 match yych {
5203 0x09..=0x0D | 0x20 | 0x3E => {
5204 cursor += 1;
5205 yystate = 54;
5206 continue 'yyl;
5207 }
5208 0x2F => {
5209 cursor += 1;
5210 yystate = 55;
5211 continue 'yyl;
5212 }
5213 0x41 | 0x61 => {
5214 cursor += 1;
5215 yystate = 104;
5216 continue 'yyl;
5217 }
5218 _ => {
5219 yystate = 5;
5220 continue 'yyl;
5221 }
5222 }
5223 }
5224 69 => {
5225 return Some(2);
5226 }
5227 70 => {
5228 yych = unsafe {
5229 if cursor < len {
5230 *s.as_bytes().get_unchecked(cursor)
5231 } else {
5232 255
5233 }
5234 };
5235 match yych {
5236 0x44 | 0x64 => {
5237 cursor += 1;
5238 yystate = 105;
5239 continue 'yyl;
5240 }
5241 _ => {
5242 yystate = 5;
5243 continue 'yyl;
5244 }
5245 }
5246 }
5247 71 => {
5248 yych = unsafe {
5249 if cursor < len {
5250 *s.as_bytes().get_unchecked(cursor)
5251 } else {
5252 255
5253 }
5254 };
5255 match yych {
5256 0x52 | 0x72 => {
5257 cursor += 1;
5258 yystate = 106;
5259 continue 'yyl;
5260 }
5261 _ => {
5262 yystate = 5;
5263 continue 'yyl;
5264 }
5265 }
5266 }
5267 72 => {
5268 yych = unsafe {
5269 if cursor < len {
5270 *s.as_bytes().get_unchecked(cursor)
5271 } else {
5272 255
5273 }
5274 };
5275 match yych {
5276 0x49 | 0x69 => {
5277 cursor += 1;
5278 yystate = 107;
5279 continue 'yyl;
5280 }
5281 _ => {
5282 yystate = 5;
5283 continue 'yyl;
5284 }
5285 }
5286 }
5287 73 => {
5288 yych = unsafe {
5289 if cursor < len {
5290 *s.as_bytes().get_unchecked(cursor)
5291 } else {
5292 255
5293 }
5294 };
5295 match yych {
5296 0x44 | 0x64 => {
5297 cursor += 1;
5298 yystate = 108;
5299 continue 'yyl;
5300 }
5301 _ => {
5302 yystate = 5;
5303 continue 'yyl;
5304 }
5305 }
5306 }
5307 74 => {
5308 yych = unsafe {
5309 if cursor < len {
5310 *s.as_bytes().get_unchecked(cursor)
5311 } else {
5312 255
5313 }
5314 };
5315 match yych {
5316 0x45 | 0x65 => {
5317 cursor += 1;
5318 yystate = 109;
5319 continue 'yyl;
5320 }
5321 _ => {
5322 yystate = 5;
5323 continue 'yyl;
5324 }
5325 }
5326 }
5327 75 => {
5328 yych = unsafe {
5329 if cursor < len {
5330 *s.as_bytes().get_unchecked(cursor)
5331 } else {
5332 255
5333 }
5334 };
5335 match yych {
5336 0x43 | 0x63 => {
5337 cursor += 1;
5338 yystate = 110;
5339 continue 'yyl;
5340 }
5341 _ => {
5342 yystate = 5;
5343 continue 'yyl;
5344 }
5345 }
5346 }
5347 76 => {
5348 yych = unsafe {
5349 if cursor < len {
5350 *s.as_bytes().get_unchecked(cursor)
5351 } else {
5352 255
5353 }
5354 };
5355 match yych {
5356 0x59 | 0x79 => {
5357 cursor += 1;
5358 yystate = 38;
5359 continue 'yyl;
5360 }
5361 _ => {
5362 yystate = 5;
5363 continue 'yyl;
5364 }
5365 }
5366 }
5367 77 => {
5368 yych = unsafe {
5369 if cursor < len {
5370 *s.as_bytes().get_unchecked(cursor)
5371 } else {
5372 255
5373 }
5374 };
5375 match yych {
5376 0x54 | 0x74 => {
5377 cursor += 1;
5378 yystate = 111;
5379 continue 'yyl;
5380 }
5381 _ => {
5382 yystate = 5;
5383 continue 'yyl;
5384 }
5385 }
5386 }
5387 78 => {
5388 yych = unsafe {
5389 if cursor < len {
5390 *s.as_bytes().get_unchecked(cursor)
5391 } else {
5392 255
5393 }
5394 };
5395 match yych {
5396 0x54 | 0x74 => {
5397 cursor += 1;
5398 yystate = 112;
5399 continue 'yyl;
5400 }
5401 _ => {
5402 yystate = 5;
5403 continue 'yyl;
5404 }
5405 }
5406 }
5407 79 => {
5408 yych = unsafe {
5409 if cursor < len {
5410 *s.as_bytes().get_unchecked(cursor)
5411 } else {
5412 255
5413 }
5414 };
5415 match yych {
5416 0x09..=0x0D | 0x20 | 0x3E => {
5417 cursor += 1;
5418 yystate = 54;
5419 continue 'yyl;
5420 }
5421 0x2F => {
5422 cursor += 1;
5423 yystate = 55;
5424 continue 'yyl;
5425 }
5426 0x47 | 0x67 => {
5427 cursor += 1;
5428 yystate = 113;
5429 continue 'yyl;
5430 }
5431 _ => {
5432 yystate = 5;
5433 continue 'yyl;
5434 }
5435 }
5436 }
5437 80 => {
5438 yych = unsafe {
5439 if cursor < len {
5440 *s.as_bytes().get_unchecked(cursor)
5441 } else {
5442 255
5443 }
5444 };
5445 match yych {
5446 0x41 | 0x61 => {
5447 cursor += 1;
5448 yystate = 114;
5449 continue 'yyl;
5450 }
5451 _ => {
5452 yystate = 5;
5453 continue 'yyl;
5454 }
5455 }
5456 }
5457 81 => {
5458 yych = unsafe {
5459 if cursor < len {
5460 *s.as_bytes().get_unchecked(cursor)
5461 } else {
5462 255
5463 }
5464 };
5465 match yych {
5466 0x4C | 0x6C => {
5467 cursor += 1;
5468 yystate = 115;
5469 continue 'yyl;
5470 }
5471 _ => {
5472 yystate = 5;
5473 continue 'yyl;
5474 }
5475 }
5476 }
5477 82 => {
5478 yych = unsafe {
5479 if cursor < len {
5480 *s.as_bytes().get_unchecked(cursor)
5481 } else {
5482 255
5483 }
5484 };
5485 match yych {
5486 0x4C | 0x6C => {
5487 cursor += 1;
5488 yystate = 116;
5489 continue 'yyl;
5490 }
5491 _ => {
5492 yystate = 5;
5493 continue 'yyl;
5494 }
5495 }
5496 }
5497 83 => {
5498 yych = unsafe {
5499 if cursor < len {
5500 *s.as_bytes().get_unchecked(cursor)
5501 } else {
5502 255
5503 }
5504 };
5505 match yych {
5506 0x43 | 0x63 => {
5507 cursor += 1;
5508 yystate = 117;
5509 continue 'yyl;
5510 }
5511 0x55 | 0x75 => {
5512 cursor += 1;
5513 yystate = 118;
5514 continue 'yyl;
5515 }
5516 _ => {
5517 yystate = 5;
5518 continue 'yyl;
5519 }
5520 }
5521 }
5522 84 => {
5523 yych = unsafe {
5524 if cursor < len {
5525 *s.as_bytes().get_unchecked(cursor)
5526 } else {
5527 255
5528 }
5529 };
5530 match yych {
5531 0x4D | 0x6D => {
5532 cursor += 1;
5533 yystate = 38;
5534 continue 'yyl;
5535 }
5536 _ => {
5537 yystate = 5;
5538 continue 'yyl;
5539 }
5540 }
5541 }
5542 85 => {
5543 yych = unsafe {
5544 if cursor < len {
5545 *s.as_bytes().get_unchecked(cursor)
5546 } else {
5547 255
5548 }
5549 };
5550 match yych {
5551 0x4D | 0x6D => {
5552 cursor += 1;
5553 yystate = 119;
5554 continue 'yyl;
5555 }
5556 _ => {
5557 yystate = 5;
5558 continue 'yyl;
5559 }
5560 }
5561 }
5562 86 => {
5563 yych = unsafe {
5564 if cursor < len {
5565 *s.as_bytes().get_unchecked(cursor)
5566 } else {
5567 255
5568 }
5569 };
5570 match yych {
5571 0x44 | 0x64 => {
5572 cursor += 1;
5573 yystate = 120;
5574 continue 'yyl;
5575 }
5576 _ => {
5577 yystate = 5;
5578 continue 'yyl;
5579 }
5580 }
5581 }
5582 87 => {
5583 yych = unsafe {
5584 if cursor < len {
5585 *s.as_bytes().get_unchecked(cursor)
5586 } else {
5587 255
5588 }
5589 };
5590 match yych {
5591 0x41 | 0x61 => {
5592 cursor += 1;
5593 yystate = 121;
5594 continue 'yyl;
5595 }
5596 _ => {
5597 yystate = 5;
5598 continue 'yyl;
5599 }
5600 }
5601 }
5602 88 => {
5603 yych = unsafe {
5604 if cursor < len {
5605 *s.as_bytes().get_unchecked(cursor)
5606 } else {
5607 255
5608 }
5609 };
5610 match yych {
5611 0x45 | 0x65 => {
5612 cursor += 1;
5613 yystate = 122;
5614 continue 'yyl;
5615 }
5616 _ => {
5617 yystate = 5;
5618 continue 'yyl;
5619 }
5620 }
5621 }
5622 89 => {
5623 yych = unsafe {
5624 if cursor < len {
5625 *s.as_bytes().get_unchecked(cursor)
5626 } else {
5627 255
5628 }
5629 };
5630 match yych {
5631 0x4B | 0x6B => {
5632 cursor += 1;
5633 yystate = 38;
5634 continue 'yyl;
5635 }
5636 _ => {
5637 yystate = 5;
5638 continue 'yyl;
5639 }
5640 }
5641 }
5642 90 => {
5643 yych = unsafe {
5644 if cursor < len {
5645 *s.as_bytes().get_unchecked(cursor)
5646 } else {
5647 255
5648 }
5649 };
5650 match yych {
5651 0x4E | 0x6E => {
5652 cursor += 1;
5653 yystate = 38;
5654 continue 'yyl;
5655 }
5656 _ => {
5657 yystate = 5;
5658 continue 'yyl;
5659 }
5660 }
5661 }
5662 91 => {
5663 yych = unsafe {
5664 if cursor < len {
5665 *s.as_bytes().get_unchecked(cursor)
5666 } else {
5667 255
5668 }
5669 };
5670 match yych {
5671 0x55 | 0x75 => {
5672 cursor += 1;
5673 yystate = 123;
5674 continue 'yyl;
5675 }
5676 _ => {
5677 yystate = 5;
5678 continue 'yyl;
5679 }
5680 }
5681 }
5682 92 => {
5683 yych = unsafe {
5684 if cursor < len {
5685 *s.as_bytes().get_unchecked(cursor)
5686 } else {
5687 255
5688 }
5689 };
5690 match yych {
5691 0x52 | 0x72 => {
5692 cursor += 1;
5693 yystate = 124;
5694 continue 'yyl;
5695 }
5696 _ => {
5697 yystate = 5;
5698 continue 'yyl;
5699 }
5700 }
5701 }
5702 93 => {
5703 yych = unsafe {
5704 if cursor < len {
5705 *s.as_bytes().get_unchecked(cursor)
5706 } else {
5707 255
5708 }
5709 };
5710 match yych {
5711 0x47 | 0x67 => {
5712 cursor += 1;
5713 yystate = 113;
5714 continue 'yyl;
5715 }
5716 0x49 | 0x69 => {
5717 cursor += 1;
5718 yystate = 125;
5719 continue 'yyl;
5720 }
5721 _ => {
5722 yystate = 5;
5723 continue 'yyl;
5724 }
5725 }
5726 }
5727 94 => {
5728 yych = unsafe {
5729 if cursor < len {
5730 *s.as_bytes().get_unchecked(cursor)
5731 } else {
5732 255
5733 }
5734 };
5735 match yych {
5736 0x41 | 0x61 => {
5737 cursor += 1;
5738 yystate = 84;
5739 continue 'yyl;
5740 }
5741 _ => {
5742 yystate = 5;
5743 continue 'yyl;
5744 }
5745 }
5746 }
5747 95 => {
5748 yych = unsafe {
5749 if cursor < len {
5750 *s.as_bytes().get_unchecked(cursor)
5751 } else {
5752 255
5753 }
5754 };
5755 match yych {
5756 0x09..=0x0D | 0x20 | 0x3E => {
5757 cursor += 1;
5758 yystate = 126;
5759 continue 'yyl;
5760 }
5761 _ => {
5762 yystate = 5;
5763 continue 'yyl;
5764 }
5765 }
5766 }
5767 96 => {
5768 yych = unsafe {
5769 if cursor < len {
5770 *s.as_bytes().get_unchecked(cursor)
5771 } else {
5772 255
5773 }
5774 };
5775 match yych {
5776 0x49 | 0x69 => {
5777 cursor += 1;
5778 yystate = 127;
5779 continue 'yyl;
5780 }
5781 _ => {
5782 yystate = 5;
5783 continue 'yyl;
5784 }
5785 }
5786 }
5787 97 => {
5788 yych = unsafe {
5789 if cursor < len {
5790 *s.as_bytes().get_unchecked(cursor)
5791 } else {
5792 255
5793 }
5794 };
5795 match yych {
5796 0x52 | 0x72 => {
5797 cursor += 1;
5798 yystate = 128;
5799 continue 'yyl;
5800 }
5801 _ => {
5802 yystate = 5;
5803 continue 'yyl;
5804 }
5805 }
5806 }
5807 98 => {
5808 yych = unsafe {
5809 if cursor < len {
5810 *s.as_bytes().get_unchecked(cursor)
5811 } else {
5812 255
5813 }
5814 };
5815 match yych {
5816 0x4C | 0x6C => {
5817 cursor += 1;
5818 yystate = 57;
5819 continue 'yyl;
5820 }
5821 _ => {
5822 yystate = 5;
5823 continue 'yyl;
5824 }
5825 }
5826 }
5827 99 => {
5828 yych = unsafe {
5829 if cursor < len {
5830 *s.as_bytes().get_unchecked(cursor)
5831 } else {
5832 255
5833 }
5834 };
5835 match yych {
5836 0x4D | 0x6D => {
5837 cursor += 1;
5838 yystate = 129;
5839 continue 'yyl;
5840 }
5841 _ => {
5842 yystate = 5;
5843 continue 'yyl;
5844 }
5845 }
5846 }
5847 100 => {
5848 yych = unsafe {
5849 if cursor < len {
5850 *s.as_bytes().get_unchecked(cursor)
5851 } else {
5852 255
5853 }
5854 };
5855 match yych {
5856 0x4C | 0x6C => {
5857 cursor += 1;
5858 yystate = 108;
5859 continue 'yyl;
5860 }
5861 _ => {
5862 yystate = 5;
5863 continue 'yyl;
5864 }
5865 }
5866 }
5867 101 => {
5868 yych = unsafe {
5869 if cursor < len {
5870 *s.as_bytes().get_unchecked(cursor)
5871 } else {
5872 255
5873 }
5874 };
5875 match yych {
5876 0x54 | 0x74 => {
5877 cursor += 1;
5878 yystate = 130;
5879 continue 'yyl;
5880 }
5881 _ => {
5882 yystate = 5;
5883 continue 'yyl;
5884 }
5885 }
5886 }
5887 102 => {
5888 yych = unsafe {
5889 if cursor < len {
5890 *s.as_bytes().get_unchecked(cursor)
5891 } else {
5892 255
5893 }
5894 };
5895 match yych {
5896 0x4F | 0x6F => {
5897 cursor += 1;
5898 yystate = 131;
5899 continue 'yyl;
5900 }
5901 _ => {
5902 yystate = 5;
5903 continue 'yyl;
5904 }
5905 }
5906 }
5907 103 => {
5908 yych = unsafe {
5909 if cursor < len {
5910 *s.as_bytes().get_unchecked(cursor)
5911 } else {
5912 255
5913 }
5914 };
5915 match yych {
5916 0x41 | 0x61 => {
5917 cursor += 1;
5918 yystate = 132;
5919 continue 'yyl;
5920 }
5921 _ => {
5922 yystate = 5;
5923 continue 'yyl;
5924 }
5925 }
5926 }
5927 104 => {
5928 yych = unsafe {
5929 if cursor < len {
5930 *s.as_bytes().get_unchecked(cursor)
5931 } else {
5932 255
5933 }
5934 };
5935 match yych {
5936 0x43 | 0x63 => {
5937 cursor += 1;
5938 yystate = 89;
5939 continue 'yyl;
5940 }
5941 _ => {
5942 yystate = 5;
5943 continue 'yyl;
5944 }
5945 }
5946 }
5947 105 => {
5948 yych = unsafe {
5949 if cursor < len {
5950 *s.as_bytes().get_unchecked(cursor)
5951 } else {
5952 255
5953 }
5954 };
5955 match yych {
5956 0x41 | 0x61 => {
5957 cursor += 1;
5958 yystate = 133;
5959 continue 'yyl;
5960 }
5961 _ => {
5962 yystate = 5;
5963 continue 'yyl;
5964 }
5965 }
5966 }
5967 106 => {
5968 yych = unsafe {
5969 if cursor < len {
5970 *s.as_bytes().get_unchecked(cursor)
5971 } else {
5972 255
5973 }
5974 };
5975 match yych {
5976 0x45 | 0x65 => {
5977 cursor += 1;
5978 yystate = 134;
5979 continue 'yyl;
5980 }
5981 _ => {
5982 yystate = 5;
5983 continue 'yyl;
5984 }
5985 }
5986 }
5987 107 => {
5988 yych = unsafe {
5989 if cursor < len {
5990 *s.as_bytes().get_unchecked(cursor)
5991 } else {
5992 255
5993 }
5994 };
5995 match yych {
5996 0x43 | 0x63 => {
5997 cursor += 1;
5998 yystate = 100;
5999 continue 'yyl;
6000 }
6001 _ => {
6002 yystate = 5;
6003 continue 'yyl;
6004 }
6005 }
6006 }
6007 108 => {
6008 yych = unsafe {
6009 if cursor < len {
6010 *s.as_bytes().get_unchecked(cursor)
6011 } else {
6012 255
6013 }
6014 };
6015 match yych {
6016 0x45 | 0x65 => {
6017 cursor += 1;
6018 yystate = 38;
6019 continue 'yyl;
6020 }
6021 _ => {
6022 yystate = 5;
6023 continue 'yyl;
6024 }
6025 }
6026 }
6027 109 => {
6028 yych = unsafe {
6029 if cursor < len {
6030 *s.as_bytes().get_unchecked(cursor)
6031 } else {
6032 255
6033 }
6034 };
6035 match yych {
6036 0x09..=0x0D | 0x20 | 0x3E => {
6037 cursor += 1;
6038 yystate = 54;
6039 continue 'yyl;
6040 }
6041 0x2F => {
6042 cursor += 1;
6043 yystate = 55;
6044 continue 'yyl;
6045 }
6046 0x46 | 0x66 => {
6047 cursor += 1;
6048 yystate = 135;
6049 continue 'yyl;
6050 }
6051 _ => {
6052 yystate = 5;
6053 continue 'yyl;
6054 }
6055 }
6056 }
6057 110 => {
6058 yych = unsafe {
6059 if cursor < len {
6060 *s.as_bytes().get_unchecked(cursor)
6061 } else {
6062 255
6063 }
6064 };
6065 match yych {
6066 0x4B | 0x6B => {
6067 cursor += 1;
6068 yystate = 136;
6069 continue 'yyl;
6070 }
6071 _ => {
6072 yystate = 5;
6073 continue 'yyl;
6074 }
6075 }
6076 }
6077 111 => {
6078 yych = unsafe {
6079 if cursor < len {
6080 *s.as_bytes().get_unchecked(cursor)
6081 } else {
6082 255
6083 }
6084 };
6085 match yych {
6086 0x49 | 0x69 => {
6087 cursor += 1;
6088 yystate = 125;
6089 continue 'yyl;
6090 }
6091 _ => {
6092 yystate = 5;
6093 continue 'yyl;
6094 }
6095 }
6096 }
6097 112 => {
6098 yych = unsafe {
6099 if cursor < len {
6100 *s.as_bytes().get_unchecked(cursor)
6101 } else {
6102 255
6103 }
6104 };
6105 match yych {
6106 0x45 | 0x65 => {
6107 cursor += 1;
6108 yystate = 137;
6109 continue 'yyl;
6110 }
6111 _ => {
6112 yystate = 5;
6113 continue 'yyl;
6114 }
6115 }
6116 }
6117 113 => {
6118 yych = unsafe {
6119 if cursor < len {
6120 *s.as_bytes().get_unchecked(cursor)
6121 } else {
6122 255
6123 }
6124 };
6125 match yych {
6126 0x52 | 0x72 => {
6127 cursor += 1;
6128 yystate = 138;
6129 continue 'yyl;
6130 }
6131 _ => {
6132 yystate = 5;
6133 continue 'yyl;
6134 }
6135 }
6136 }
6137 114 => {
6138 yych = unsafe {
6139 if cursor < len {
6140 *s.as_bytes().get_unchecked(cursor)
6141 } else {
6142 255
6143 }
6144 };
6145 match yych {
6146 0x49 | 0x69 => {
6147 cursor += 1;
6148 yystate = 139;
6149 continue 'yyl;
6150 }
6151 _ => {
6152 yystate = 5;
6153 continue 'yyl;
6154 }
6155 }
6156 }
6157 115 => {
6158 yych = unsafe {
6159 if cursor < len {
6160 *s.as_bytes().get_unchecked(cursor)
6161 } else {
6162 255
6163 }
6164 };
6165 match yych {
6166 0x4F | 0x6F => {
6167 cursor += 1;
6168 yystate = 140;
6169 continue 'yyl;
6170 }
6171 _ => {
6172 yystate = 5;
6173 continue 'yyl;
6174 }
6175 }
6176 }
6177 116 => {
6178 yych = unsafe {
6179 if cursor < len {
6180 *s.as_bytes().get_unchecked(cursor)
6181 } else {
6182 255
6183 }
6184 };
6185 match yych {
6186 0x44 | 0x64 => {
6187 cursor += 1;
6188 yystate = 141;
6189 continue 'yyl;
6190 }
6191 _ => {
6192 yystate = 5;
6193 continue 'yyl;
6194 }
6195 }
6196 }
6197 117 => {
6198 yych = unsafe {
6199 if cursor < len {
6200 *s.as_bytes().get_unchecked(cursor)
6201 } else {
6202 255
6203 }
6204 };
6205 match yych {
6206 0x41 | 0x61 => {
6207 cursor += 1;
6208 yystate = 35;
6209 continue 'yyl;
6210 }
6211 _ => {
6212 yystate = 5;
6213 continue 'yyl;
6214 }
6215 }
6216 }
6217 118 => {
6218 yych = unsafe {
6219 if cursor < len {
6220 *s.as_bytes().get_unchecked(cursor)
6221 } else {
6222 255
6223 }
6224 };
6225 match yych {
6226 0x52 | 0x72 => {
6227 cursor += 1;
6228 yystate = 108;
6229 continue 'yyl;
6230 }
6231 _ => {
6232 yystate = 5;
6233 continue 'yyl;
6234 }
6235 }
6236 }
6237 119 => {
6238 yych = unsafe {
6239 if cursor < len {
6240 *s.as_bytes().get_unchecked(cursor)
6241 } else {
6242 255
6243 }
6244 };
6245 match yych {
6246 0x45 | 0x65 => {
6247 cursor += 1;
6248 yystate = 142;
6249 continue 'yyl;
6250 }
6251 _ => {
6252 yystate = 5;
6253 continue 'yyl;
6254 }
6255 }
6256 }
6257 120 => {
6258 yych = unsafe {
6259 if cursor < len {
6260 *s.as_bytes().get_unchecked(cursor)
6261 } else {
6262 255
6263 }
6264 };
6265 match yych {
6266 0x09..=0x0D | 0x20 | 0x3E => {
6267 cursor += 1;
6268 yystate = 54;
6269 continue 'yyl;
6270 }
6271 0x2F => {
6272 cursor += 1;
6273 yystate = 55;
6274 continue 'yyl;
6275 }
6276 0x45 | 0x65 => {
6277 cursor += 1;
6278 yystate = 137;
6279 continue 'yyl;
6280 }
6281 _ => {
6282 yystate = 5;
6283 continue 'yyl;
6284 }
6285 }
6286 }
6287 121 => {
6288 yych = unsafe {
6289 if cursor < len {
6290 *s.as_bytes().get_unchecked(cursor)
6291 } else {
6292 255
6293 }
6294 };
6295 match yych {
6296 0x4D | 0x6D => {
6297 cursor += 1;
6298 yystate = 108;
6299 continue 'yyl;
6300 }
6301 _ => {
6302 yystate = 5;
6303 continue 'yyl;
6304 }
6305 }
6306 }
6307 122 => {
6308 yych = unsafe {
6309 if cursor < len {
6310 *s.as_bytes().get_unchecked(cursor)
6311 } else {
6312 255
6313 }
6314 };
6315 match yych {
6316 0x4E | 0x6E => {
6317 cursor += 1;
6318 yystate = 132;
6319 continue 'yyl;
6320 }
6321 _ => {
6322 yystate = 5;
6323 continue 'yyl;
6324 }
6325 }
6326 }
6327 123 => {
6328 yych = unsafe {
6329 if cursor < len {
6330 *s.as_bytes().get_unchecked(cursor)
6331 } else {
6332 255
6333 }
6334 };
6335 match yych {
6336 0x09..=0x0D | 0x20 | 0x3E => {
6337 cursor += 1;
6338 yystate = 54;
6339 continue 'yyl;
6340 }
6341 0x2F => {
6342 cursor += 1;
6343 yystate = 55;
6344 continue 'yyl;
6345 }
6346 0x49 | 0x69 => {
6347 cursor += 1;
6348 yystate = 143;
6349 continue 'yyl;
6350 }
6351 _ => {
6352 yystate = 5;
6353 continue 'yyl;
6354 }
6355 }
6356 }
6357 124 => {
6358 yych = unsafe {
6359 if cursor < len {
6360 *s.as_bytes().get_unchecked(cursor)
6361 } else {
6362 255
6363 }
6364 };
6365 match yych {
6366 0x41 | 0x61 => {
6367 cursor += 1;
6368 yystate = 144;
6369 continue 'yyl;
6370 }
6371 _ => {
6372 yystate = 5;
6373 continue 'yyl;
6374 }
6375 }
6376 }
6377 125 => {
6378 yych = unsafe {
6379 if cursor < len {
6380 *s.as_bytes().get_unchecked(cursor)
6381 } else {
6382 255
6383 }
6384 };
6385 match yych {
6386 0x4F | 0x6F => {
6387 cursor += 1;
6388 yystate = 90;
6389 continue 'yyl;
6390 }
6391 _ => {
6392 yystate = 5;
6393 continue 'yyl;
6394 }
6395 }
6396 }
6397 126 => {
6398 return Some(1);
6399 }
6400 127 => {
6401 yych = unsafe {
6402 if cursor < len {
6403 *s.as_bytes().get_unchecked(cursor)
6404 } else {
6405 255
6406 }
6407 };
6408 match yych {
6409 0x50 | 0x70 => {
6410 cursor += 1;
6411 yystate = 145;
6412 continue 'yyl;
6413 }
6414 _ => {
6415 yystate = 5;
6416 continue 'yyl;
6417 }
6418 }
6419 }
6420 128 => {
6421 yych = unsafe {
6422 if cursor < len {
6423 *s.as_bytes().get_unchecked(cursor)
6424 } else {
6425 255
6426 }
6427 };
6428 match yych {
6429 0x43 | 0x63 => {
6430 cursor += 1;
6431 yystate = 146;
6432 continue 'yyl;
6433 }
6434 _ => {
6435 yystate = 5;
6436 continue 'yyl;
6437 }
6438 }
6439 }
6440 129 => {
6441 yych = unsafe {
6442 if cursor < len {
6443 *s.as_bytes().get_unchecked(cursor)
6444 } else {
6445 255
6446 }
6447 };
6448 match yych {
6449 0x41 | 0x61 => {
6450 cursor += 1;
6451 yystate = 147;
6452 continue 'yyl;
6453 }
6454 _ => {
6455 yystate = 5;
6456 continue 'yyl;
6457 }
6458 }
6459 }
6460 130 => {
6461 yych = unsafe {
6462 if cursor < len {
6463 *s.as_bytes().get_unchecked(cursor)
6464 } else {
6465 255
6466 }
6467 };
6468 match yych {
6469 0x41 | 0x61 => {
6470 cursor += 1;
6471 yystate = 148;
6472 continue 'yyl;
6473 }
6474 _ => {
6475 yystate = 5;
6476 continue 'yyl;
6477 }
6478 }
6479 }
6480 131 => {
6481 yych = unsafe {
6482 if cursor < len {
6483 *s.as_bytes().get_unchecked(cursor)
6484 } else {
6485 255
6486 }
6487 };
6488 match yych {
6489 0x54 | 0x74 => {
6490 cursor += 1;
6491 yystate = 38;
6492 continue 'yyl;
6493 }
6494 _ => {
6495 yystate = 5;
6496 continue 'yyl;
6497 }
6498 }
6499 }
6500 132 => {
6501 yych = unsafe {
6502 if cursor < len {
6503 *s.as_bytes().get_unchecked(cursor)
6504 } else {
6505 255
6506 }
6507 };
6508 match yych {
6509 0x44 | 0x64 => {
6510 cursor += 1;
6511 yystate = 38;
6512 continue 'yyl;
6513 }
6514 _ => {
6515 yystate = 5;
6516 continue 'yyl;
6517 }
6518 }
6519 }
6520 133 => {
6521 yych = unsafe {
6522 if cursor < len {
6523 *s.as_bytes().get_unchecked(cursor)
6524 } else {
6525 255
6526 }
6527 };
6528 match yych {
6529 0x54 | 0x74 => {
6530 cursor += 1;
6531 yystate = 149;
6532 continue 'yyl;
6533 }
6534 _ => {
6535 yystate = 5;
6536 continue 'yyl;
6537 }
6538 }
6539 }
6540 134 => {
6541 yych = unsafe {
6542 if cursor < len {
6543 *s.as_bytes().get_unchecked(cursor)
6544 } else {
6545 255
6546 }
6547 };
6548 match yych {
6549 0x53 | 0x73 => {
6550 cursor += 1;
6551 yystate = 150;
6552 continue 'yyl;
6553 }
6554 _ => {
6555 yystate = 5;
6556 continue 'yyl;
6557 }
6558 }
6559 }
6560 135 => {
6561 yych = unsafe {
6562 if cursor < len {
6563 *s.as_bytes().get_unchecked(cursor)
6564 } else {
6565 255
6566 }
6567 };
6568 match yych {
6569 0x4F | 0x6F => {
6570 cursor += 1;
6571 yystate = 151;
6572 continue 'yyl;
6573 }
6574 _ => {
6575 yystate = 5;
6576 continue 'yyl;
6577 }
6578 }
6579 }
6580 136 => {
6581 yych = unsafe {
6582 if cursor < len {
6583 *s.as_bytes().get_unchecked(cursor)
6584 } else {
6585 255
6586 }
6587 };
6588 match yych {
6589 0x51 | 0x71 => {
6590 cursor += 1;
6591 yystate = 152;
6592 continue 'yyl;
6593 }
6594 _ => {
6595 yystate = 5;
6596 continue 'yyl;
6597 }
6598 }
6599 }
6600 137 => {
6601 yych = unsafe {
6602 if cursor < len {
6603 *s.as_bytes().get_unchecked(cursor)
6604 } else {
6605 255
6606 }
6607 };
6608 match yych {
6609 0x52 | 0x72 => {
6610 cursor += 1;
6611 yystate = 38;
6612 continue 'yyl;
6613 }
6614 _ => {
6615 yystate = 5;
6616 continue 'yyl;
6617 }
6618 }
6619 }
6620 138 => {
6621 yych = unsafe {
6622 if cursor < len {
6623 *s.as_bytes().get_unchecked(cursor)
6624 } else {
6625 255
6626 }
6627 };
6628 match yych {
6629 0x4F | 0x6F => {
6630 cursor += 1;
6631 yystate = 153;
6632 continue 'yyl;
6633 }
6634 _ => {
6635 yystate = 5;
6636 continue 'yyl;
6637 }
6638 }
6639 }
6640 139 => {
6641 yych = unsafe {
6642 if cursor < len {
6643 *s.as_bytes().get_unchecked(cursor)
6644 } else {
6645 255
6646 }
6647 };
6648 match yych {
6649 0x4C | 0x6C => {
6650 cursor += 1;
6651 yystate = 150;
6652 continue 'yyl;
6653 }
6654 _ => {
6655 yystate = 5;
6656 continue 'yyl;
6657 }
6658 }
6659 }
6660 140 => {
6661 yych = unsafe {
6662 if cursor < len {
6663 *s.as_bytes().get_unchecked(cursor)
6664 } else {
6665 255
6666 }
6667 };
6668 match yych {
6669 0x47 | 0x67 => {
6670 cursor += 1;
6671 yystate = 38;
6672 continue 'yyl;
6673 }
6674 _ => {
6675 yystate = 5;
6676 continue 'yyl;
6677 }
6678 }
6679 }
6680 141 => {
6681 yych = unsafe {
6682 if cursor < len {
6683 *s.as_bytes().get_unchecked(cursor)
6684 } else {
6685 255
6686 }
6687 };
6688 match yych {
6689 0x53 | 0x73 => {
6690 cursor += 1;
6691 yystate = 154;
6692 continue 'yyl;
6693 }
6694 _ => {
6695 yystate = 5;
6696 continue 'yyl;
6697 }
6698 }
6699 }
6700 142 => {
6701 yych = unsafe {
6702 if cursor < len {
6703 *s.as_bytes().get_unchecked(cursor)
6704 } else {
6705 255
6706 }
6707 };
6708 match yych {
6709 0x09..=0x0D | 0x20 | 0x3E => {
6710 cursor += 1;
6711 yystate = 54;
6712 continue 'yyl;
6713 }
6714 0x2F => {
6715 cursor += 1;
6716 yystate = 55;
6717 continue 'yyl;
6718 }
6719 0x53 | 0x73 => {
6720 cursor += 1;
6721 yystate = 154;
6722 continue 'yyl;
6723 }
6724 _ => {
6725 yystate = 5;
6726 continue 'yyl;
6727 }
6728 }
6729 }
6730 143 => {
6731 yych = unsafe {
6732 if cursor < len {
6733 *s.as_bytes().get_unchecked(cursor)
6734 } else {
6735 255
6736 }
6737 };
6738 match yych {
6739 0x54 | 0x74 => {
6740 cursor += 1;
6741 yystate = 155;
6742 continue 'yyl;
6743 }
6744 _ => {
6745 yystate = 5;
6746 continue 'yyl;
6747 }
6748 }
6749 }
6750 144 => {
6751 yych = unsafe {
6752 if cursor < len {
6753 *s.as_bytes().get_unchecked(cursor)
6754 } else {
6755 255
6756 }
6757 };
6758 match yych {
6759 0x4D | 0x6D => {
6760 cursor += 1;
6761 yystate = 156;
6762 continue 'yyl;
6763 }
6764 _ => {
6765 yystate = 5;
6766 continue 'yyl;
6767 }
6768 }
6769 }
6770 145 => {
6771 yych = unsafe {
6772 if cursor < len {
6773 *s.as_bytes().get_unchecked(cursor)
6774 } else {
6775 255
6776 }
6777 };
6778 match yych {
6779 0x54 | 0x74 => {
6780 cursor += 1;
6781 yystate = 95;
6782 continue 'yyl;
6783 }
6784 _ => {
6785 yystate = 5;
6786 continue 'yyl;
6787 }
6788 }
6789 }
6790 146 => {
6791 yych = unsafe {
6792 if cursor < len {
6793 *s.as_bytes().get_unchecked(cursor)
6794 } else {
6795 255
6796 }
6797 };
6798 match yych {
6799 0x48 | 0x68 => {
6800 cursor += 1;
6801 yystate = 38;
6802 continue 'yyl;
6803 }
6804 _ => {
6805 yystate = 5;
6806 continue 'yyl;
6807 }
6808 }
6809 }
6810 147 => {
6811 yych = unsafe {
6812 if cursor < len {
6813 *s.as_bytes().get_unchecked(cursor)
6814 } else {
6815 255
6816 }
6817 };
6818 match yych {
6819 0x52 | 0x72 => {
6820 cursor += 1;
6821 yystate = 76;
6822 continue 'yyl;
6823 }
6824 _ => {
6825 yystate = 5;
6826 continue 'yyl;
6827 }
6828 }
6829 }
6830 148 => {
6831 yych = unsafe {
6832 if cursor < len {
6833 *s.as_bytes().get_unchecked(cursor)
6834 } else {
6835 255
6836 }
6837 };
6838 match yych {
6839 0x52 | 0x72 => {
6840 cursor += 1;
6841 yystate = 157;
6842 continue 'yyl;
6843 }
6844 _ => {
6845 yystate = 5;
6846 continue 'yyl;
6847 }
6848 }
6849 }
6850 149 => {
6851 yych = unsafe {
6852 if cursor < len {
6853 *s.as_bytes().get_unchecked(cursor)
6854 } else {
6855 255
6856 }
6857 };
6858 match yych {
6859 0x41 | 0x61 => {
6860 cursor += 1;
6861 yystate = 158;
6862 continue 'yyl;
6863 }
6864 _ => {
6865 yystate = 5;
6866 continue 'yyl;
6867 }
6868 }
6869 }
6870 150 => {
6871 yych = unsafe {
6872 if cursor < len {
6873 *s.as_bytes().get_unchecked(cursor)
6874 } else {
6875 255
6876 }
6877 };
6878 match yych {
6879 0x53 | 0x73 => {
6880 cursor += 1;
6881 yystate = 38;
6882 continue 'yyl;
6883 }
6884 _ => {
6885 yystate = 5;
6886 continue 'yyl;
6887 }
6888 }
6889 }
6890 151 => {
6891 yych = unsafe {
6892 if cursor < len {
6893 *s.as_bytes().get_unchecked(cursor)
6894 } else {
6895 255
6896 }
6897 };
6898 match yych {
6899 0x4E | 0x6E => {
6900 cursor += 1;
6901 yystate = 131;
6902 continue 'yyl;
6903 }
6904 _ => {
6905 yystate = 5;
6906 continue 'yyl;
6907 }
6908 }
6909 }
6910 152 => {
6911 yych = unsafe {
6912 if cursor < len {
6913 *s.as_bytes().get_unchecked(cursor)
6914 } else {
6915 255
6916 }
6917 };
6918 match yych {
6919 0x55 | 0x75 => {
6920 cursor += 1;
6921 yystate = 159;
6922 continue 'yyl;
6923 }
6924 _ => {
6925 yystate = 5;
6926 continue 'yyl;
6927 }
6928 }
6929 }
6930 153 => {
6931 yych = unsafe {
6932 if cursor < len {
6933 *s.as_bytes().get_unchecked(cursor)
6934 } else {
6935 255
6936 }
6937 };
6938 match yych {
6939 0x55 | 0x75 => {
6940 cursor += 1;
6941 yystate = 160;
6942 continue 'yyl;
6943 }
6944 _ => {
6945 yystate = 5;
6946 continue 'yyl;
6947 }
6948 }
6949 }
6950 154 => {
6951 yych = unsafe {
6952 if cursor < len {
6953 *s.as_bytes().get_unchecked(cursor)
6954 } else {
6955 255
6956 }
6957 };
6958 match yych {
6959 0x45 | 0x65 => {
6960 cursor += 1;
6961 yystate = 131;
6962 continue 'yyl;
6963 }
6964 _ => {
6965 yystate = 5;
6966 continue 'yyl;
6967 }
6968 }
6969 }
6970 155 => {
6971 yych = unsafe {
6972 if cursor < len {
6973 *s.as_bytes().get_unchecked(cursor)
6974 } else {
6975 255
6976 }
6977 };
6978 match yych {
6979 0x45 | 0x65 => {
6980 cursor += 1;
6981 yystate = 84;
6982 continue 'yyl;
6983 }
6984 _ => {
6985 yystate = 5;
6986 continue 'yyl;
6987 }
6988 }
6989 }
6990 156 => {
6991 yych = unsafe {
6992 if cursor < len {
6993 *s.as_bytes().get_unchecked(cursor)
6994 } else {
6995 255
6996 }
6997 };
6998 match yych {
6999 0x45 | 0x65 => {
7000 cursor += 1;
7001 yystate = 150;
7002 continue 'yyl;
7003 }
7004 _ => {
7005 yystate = 5;
7006 continue 'yyl;
7007 }
7008 }
7009 }
7010 157 => {
7011 yych = unsafe {
7012 if cursor < len {
7013 *s.as_bytes().get_unchecked(cursor)
7014 } else {
7015 255
7016 }
7017 };
7018 match yych {
7019 0x45 | 0x65 => {
7020 cursor += 1;
7021 yystate = 161;
7022 continue 'yyl;
7023 }
7024 _ => {
7025 yystate = 5;
7026 continue 'yyl;
7027 }
7028 }
7029 }
7030 158 => {
7031 yych = unsafe {
7032 if cursor < len {
7033 *s.as_bytes().get_unchecked(cursor)
7034 } else {
7035 255
7036 }
7037 };
7038 match yych {
7039 0x5B => {
7040 cursor += 1;
7041 yystate = 162;
7042 continue 'yyl;
7043 }
7044 _ => {
7045 yystate = 5;
7046 continue 'yyl;
7047 }
7048 }
7049 }
7050 159 => {
7051 yych = unsafe {
7052 if cursor < len {
7053 *s.as_bytes().get_unchecked(cursor)
7054 } else {
7055 255
7056 }
7057 };
7058 match yych {
7059 0x4F | 0x6F => {
7060 cursor += 1;
7061 yystate = 163;
7062 continue 'yyl;
7063 }
7064 _ => {
7065 yystate = 5;
7066 continue 'yyl;
7067 }
7068 }
7069 }
7070 160 => {
7071 yych = unsafe {
7072 if cursor < len {
7073 *s.as_bytes().get_unchecked(cursor)
7074 } else {
7075 255
7076 }
7077 };
7078 match yych {
7079 0x50 | 0x70 => {
7080 cursor += 1;
7081 yystate = 38;
7082 continue 'yyl;
7083 }
7084 _ => {
7085 yystate = 5;
7086 continue 'yyl;
7087 }
7088 }
7089 }
7090 161 => {
7091 yych = unsafe {
7092 if cursor < len {
7093 *s.as_bytes().get_unchecked(cursor)
7094 } else {
7095 255
7096 }
7097 };
7098 match yych {
7099 0x41 | 0x61 => {
7100 cursor += 1;
7101 yystate = 95;
7102 continue 'yyl;
7103 }
7104 _ => {
7105 yystate = 5;
7106 continue 'yyl;
7107 }
7108 }
7109 }
7110 162 => {
7111 return Some(5);
7112 }
7113 163 => {
7114 yych = unsafe {
7115 if cursor < len {
7116 *s.as_bytes().get_unchecked(cursor)
7117 } else {
7118 255
7119 }
7120 };
7121 match yych {
7122 0x54 | 0x74 => {
7123 cursor += 1;
7124 yystate = 108;
7125 continue 'yyl;
7126 }
7127 _ => {
7128 yystate = 5;
7129 continue 'yyl;
7130 }
7131 }
7132 }
7133 _ => panic!("internal lexer error"),
7134 }
7135 }
7136 }
7137 }
7138
7139 pub fn html_block_start_7(s: &str) -> Option<usize> {
7140 let mut cursor = 0;
7141 let mut marker = 0;
7142 let len = s.len();
7143
7144 {
7145 #[allow(unused_assignments)]
7146 let mut yych: u8 = 0;
7147 let mut yyaccept: usize = 0;
7148 let mut yystate: usize = 0;
7149 'yyl: loop {
7150 match yystate {
7151 0 => {
7152 yych = unsafe {
7153 if cursor < len {
7154 *s.as_bytes().get_unchecked(cursor)
7155 } else {
7156 255
7157 }
7158 };
7159 cursor += 1;
7160 match yych {
7161 0x3C => {
7162 yystate = 3;
7163 continue 'yyl;
7164 }
7165 _ => {
7166 yystate = 1;
7167 continue 'yyl;
7168 }
7169 }
7170 }
7171 1 => {
7172 yystate = 2;
7173 continue 'yyl;
7174 }
7175 2 => {
7176 return None;
7177 }
7178 3 => {
7179 yyaccept = 0;
7180 marker = cursor;
7181 yych = unsafe {
7182 if cursor < len {
7183 *s.as_bytes().get_unchecked(cursor)
7184 } else {
7185 255
7186 }
7187 };
7188 match yych {
7189 0x2F => {
7190 cursor += 1;
7191 yystate = 4;
7192 continue 'yyl;
7193 }
7194 0x41..=0x5A | 0x61..=0x7A => {
7195 cursor += 1;
7196 yystate = 6;
7197 continue 'yyl;
7198 }
7199 _ => {
7200 yystate = 2;
7201 continue 'yyl;
7202 }
7203 }
7204 }
7205 4 => {
7206 yych = unsafe {
7207 if cursor < len {
7208 *s.as_bytes().get_unchecked(cursor)
7209 } else {
7210 255
7211 }
7212 };
7213 match yych {
7214 0x41..=0x5A | 0x61..=0x7A => {
7215 cursor += 1;
7216 yystate = 7;
7217 continue 'yyl;
7218 }
7219 _ => {
7220 yystate = 5;
7221 continue 'yyl;
7222 }
7223 }
7224 }
7225 5 => {
7226 cursor = marker;
7227 if yyaccept == 0 {
7228 yystate = 2;
7229 continue 'yyl;
7230 } else {
7231 yystate = 14;
7232 continue 'yyl;
7233 }
7234 }
7235 6 => {
7236 yych = unsafe {
7237 if cursor < len {
7238 *s.as_bytes().get_unchecked(cursor)
7239 } else {
7240 255
7241 }
7242 };
7243 match yych {
7244 0x09..=0x0D | 0x20 => {
7245 cursor += 1;
7246 yystate = 8;
7247 continue 'yyl;
7248 }
7249 0x2D | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
7250 cursor += 1;
7251 yystate = 6;
7252 continue 'yyl;
7253 }
7254 0x2F => {
7255 cursor += 1;
7256 yystate = 9;
7257 continue 'yyl;
7258 }
7259 0x3E => {
7260 cursor += 1;
7261 yystate = 10;
7262 continue 'yyl;
7263 }
7264 _ => {
7265 yystate = 5;
7266 continue 'yyl;
7267 }
7268 }
7269 }
7270 7 => {
7271 yych = unsafe {
7272 if cursor < len {
7273 *s.as_bytes().get_unchecked(cursor)
7274 } else {
7275 255
7276 }
7277 };
7278 match yych {
7279 0x09..=0x0D | 0x20 => {
7280 cursor += 1;
7281 yystate = 11;
7282 continue 'yyl;
7283 }
7284 0x2D | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
7285 cursor += 1;
7286 yystate = 7;
7287 continue 'yyl;
7288 }
7289 0x3E => {
7290 cursor += 1;
7291 yystate = 10;
7292 continue 'yyl;
7293 }
7294 _ => {
7295 yystate = 5;
7296 continue 'yyl;
7297 }
7298 }
7299 }
7300 8 => {
7301 yych = unsafe {
7302 if cursor < len {
7303 *s.as_bytes().get_unchecked(cursor)
7304 } else {
7305 255
7306 }
7307 };
7308 match yych {
7309 0x09..=0x0D | 0x20 => {
7310 cursor += 1;
7311 yystate = 8;
7312 continue 'yyl;
7313 }
7314 0x2F => {
7315 cursor += 1;
7316 yystate = 9;
7317 continue 'yyl;
7318 }
7319 0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
7320 cursor += 1;
7321 yystate = 12;
7322 continue 'yyl;
7323 }
7324 0x3E => {
7325 cursor += 1;
7326 yystate = 10;
7327 continue 'yyl;
7328 }
7329 _ => {
7330 yystate = 5;
7331 continue 'yyl;
7332 }
7333 }
7334 }
7335 9 => {
7336 yych = unsafe {
7337 if cursor < len {
7338 *s.as_bytes().get_unchecked(cursor)
7339 } else {
7340 255
7341 }
7342 };
7343 match yych {
7344 0x3E => {
7345 cursor += 1;
7346 yystate = 10;
7347 continue 'yyl;
7348 }
7349 _ => {
7350 yystate = 5;
7351 continue 'yyl;
7352 }
7353 }
7354 }
7355 10 => {
7356 yych = unsafe {
7357 if cursor < len {
7358 *s.as_bytes().get_unchecked(cursor)
7359 } else {
7360 255
7361 }
7362 };
7363 match yych {
7364 0x00..=0x08 | 0x0B | 0x0E..=0x1F | 0x21..=0xFE => {
7365 yystate = 5;
7366 continue 'yyl;
7367 }
7368 0x09 | 0x0C | 0x20 => {
7369 cursor += 1;
7370 yystate = 10;
7371 continue 'yyl;
7372 }
7373 0x0A => {
7374 cursor += 1;
7375 yystate = 13;
7376 continue 'yyl;
7377 }
7378 _ => {
7379 cursor += 1;
7380 yystate = 15;
7381 continue 'yyl;
7382 }
7383 }
7384 }
7385 11 => {
7386 yych = unsafe {
7387 if cursor < len {
7388 *s.as_bytes().get_unchecked(cursor)
7389 } else {
7390 255
7391 }
7392 };
7393 match yych {
7394 0x09..=0x0D | 0x20 => {
7395 cursor += 1;
7396 yystate = 11;
7397 continue 'yyl;
7398 }
7399 0x3E => {
7400 cursor += 1;
7401 yystate = 10;
7402 continue 'yyl;
7403 }
7404 _ => {
7405 yystate = 5;
7406 continue 'yyl;
7407 }
7408 }
7409 }
7410 12 => {
7411 yych = unsafe {
7412 if cursor < len {
7413 *s.as_bytes().get_unchecked(cursor)
7414 } else {
7415 255
7416 }
7417 };
7418 match yych {
7419 0x09..=0x0D | 0x20 => {
7420 cursor += 1;
7421 yystate = 16;
7422 continue 'yyl;
7423 }
7424 0x2D..=0x2E | 0x30..=0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
7425 cursor += 1;
7426 yystate = 12;
7427 continue 'yyl;
7428 }
7429 0x2F => {
7430 cursor += 1;
7431 yystate = 9;
7432 continue 'yyl;
7433 }
7434 0x3D => {
7435 cursor += 1;
7436 yystate = 17;
7437 continue 'yyl;
7438 }
7439 0x3E => {
7440 cursor += 1;
7441 yystate = 10;
7442 continue 'yyl;
7443 }
7444 _ => {
7445 yystate = 5;
7446 continue 'yyl;
7447 }
7448 }
7449 }
7450 13 => {
7451 yyaccept = 1;
7452 marker = cursor;
7453 yych = unsafe {
7454 if cursor < len {
7455 *s.as_bytes().get_unchecked(cursor)
7456 } else {
7457 255
7458 }
7459 };
7460 match yych {
7461 0x00..=0x08 | 0x0B | 0x0E..=0x1F | 0x21..=0xFE => {
7462 yystate = 14;
7463 continue 'yyl;
7464 }
7465 0x09 | 0x0C | 0x20 => {
7466 cursor += 1;
7467 yystate = 10;
7468 continue 'yyl;
7469 }
7470 0x0A => {
7471 cursor += 1;
7472 yystate = 13;
7473 continue 'yyl;
7474 }
7475 _ => {
7476 cursor += 1;
7477 yystate = 15;
7478 continue 'yyl;
7479 }
7480 }
7481 }
7482 14 => {
7483 return Some(7);
7484 }
7485 15 => {
7486 yystate = 14;
7487 continue 'yyl;
7488 }
7489 16 => {
7490 yych = unsafe {
7491 if cursor < len {
7492 *s.as_bytes().get_unchecked(cursor)
7493 } else {
7494 255
7495 }
7496 };
7497 match yych {
7498 0x09..=0x0D | 0x20 => {
7499 cursor += 1;
7500 yystate = 16;
7501 continue 'yyl;
7502 }
7503 0x2F => {
7504 cursor += 1;
7505 yystate = 9;
7506 continue 'yyl;
7507 }
7508 0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
7509 cursor += 1;
7510 yystate = 12;
7511 continue 'yyl;
7512 }
7513 0x3D => {
7514 cursor += 1;
7515 yystate = 17;
7516 continue 'yyl;
7517 }
7518 0x3E => {
7519 cursor += 1;
7520 yystate = 10;
7521 continue 'yyl;
7522 }
7523 _ => {
7524 yystate = 5;
7525 continue 'yyl;
7526 }
7527 }
7528 }
7529 17 => {
7530 yych = unsafe {
7531 if cursor < len {
7532 *s.as_bytes().get_unchecked(cursor)
7533 } else {
7534 255
7535 }
7536 };
7537 match yych {
7538 0x00..=0x08
7539 | 0x0E..=0x1F
7540 | 0x21
7541 | 0x23..=0x26
7542 | 0x28..=0x3B
7543 | 0x3F..=0x5F
7544 | 0x61..=0xFE => {
7545 cursor += 1;
7546 yystate = 18;
7547 continue 'yyl;
7548 }
7549 0x09..=0x0D | 0x20 => {
7550 cursor += 1;
7551 yystate = 17;
7552 continue 'yyl;
7553 }
7554 0x22 => {
7555 cursor += 1;
7556 yystate = 19;
7557 continue 'yyl;
7558 }
7559 0x27 => {
7560 cursor += 1;
7561 yystate = 20;
7562 continue 'yyl;
7563 }
7564 _ => {
7565 yystate = 5;
7566 continue 'yyl;
7567 }
7568 }
7569 }
7570 18 => {
7571 yych = unsafe {
7572 if cursor < len {
7573 *s.as_bytes().get_unchecked(cursor)
7574 } else {
7575 255
7576 }
7577 };
7578 match yych {
7579 0x00..=0x08
7580 | 0x0E..=0x1F
7581 | 0x21
7582 | 0x23..=0x26
7583 | 0x28..=0x3B
7584 | 0x3F..=0x5F
7585 | 0x61..=0xFE => {
7586 cursor += 1;
7587 yystate = 18;
7588 continue 'yyl;
7589 }
7590 0x09..=0x0D | 0x20 => {
7591 cursor += 1;
7592 yystate = 8;
7593 continue 'yyl;
7594 }
7595 0x3E => {
7596 cursor += 1;
7597 yystate = 10;
7598 continue 'yyl;
7599 }
7600 _ => {
7601 yystate = 5;
7602 continue 'yyl;
7603 }
7604 }
7605 }
7606 19 => {
7607 yych = unsafe {
7608 if cursor < len {
7609 *s.as_bytes().get_unchecked(cursor)
7610 } else {
7611 255
7612 }
7613 };
7614 match yych {
7615 0x00..=0x21 | 0x23..=0xFE => {
7616 cursor += 1;
7617 yystate = 19;
7618 continue 'yyl;
7619 }
7620 0x22 => {
7621 cursor += 1;
7622 yystate = 21;
7623 continue 'yyl;
7624 }
7625 _ => {
7626 yystate = 5;
7627 continue 'yyl;
7628 }
7629 }
7630 }
7631 20 => {
7632 yych = unsafe {
7633 if cursor < len {
7634 *s.as_bytes().get_unchecked(cursor)
7635 } else {
7636 255
7637 }
7638 };
7639 match yych {
7640 0x00..=0x26 | 0x28..=0xFE => {
7641 cursor += 1;
7642 yystate = 20;
7643 continue 'yyl;
7644 }
7645 0x27 => {
7646 cursor += 1;
7647 yystate = 21;
7648 continue 'yyl;
7649 }
7650 _ => {
7651 yystate = 5;
7652 continue 'yyl;
7653 }
7654 }
7655 }
7656 21 => {
7657 yych = unsafe {
7658 if cursor < len {
7659 *s.as_bytes().get_unchecked(cursor)
7660 } else {
7661 255
7662 }
7663 };
7664 match yych {
7665 0x09..=0x0D | 0x20 => {
7666 cursor += 1;
7667 yystate = 8;
7668 continue 'yyl;
7669 }
7670 0x2F => {
7671 cursor += 1;
7672 yystate = 9;
7673 continue 'yyl;
7674 }
7675 0x3E => {
7676 cursor += 1;
7677 yystate = 10;
7678 continue 'yyl;
7679 }
7680 _ => {
7681 yystate = 5;
7682 continue 'yyl;
7683 }
7684 }
7685 }
7686 _ => panic!("internal lexer error"),
7687 }
7688 }
7689 }
7690 }
7691
7692 pub enum SetextChar {
7693 Equals,
7694 Hyphen,
7695 }
7696
7697 pub fn setext_heading_line(s: &str) -> Option<SetextChar> {
7698 let mut cursor = 0;
7699 let mut marker = 0;
7700 let len = s.len();
7701
7702 {
7703 #[allow(unused_assignments)]
7704 let mut yych: u8 = 0;
7705 let mut yystate: usize = 0;
7706 'yyl: loop {
7707 match yystate {
7708 0 => {
7709 yych = unsafe {
7710 if cursor < len {
7711 *s.as_bytes().get_unchecked(cursor)
7712 } else {
7713 255
7714 }
7715 };
7716 cursor += 1;
7717 match yych {
7718 0x2D => {
7719 yystate = 3;
7720 continue 'yyl;
7721 }
7722 0x3D => {
7723 yystate = 4;
7724 continue 'yyl;
7725 }
7726 _ => {
7727 yystate = 1;
7728 continue 'yyl;
7729 }
7730 }
7731 }
7732 1 => {
7733 yystate = 2;
7734 continue 'yyl;
7735 }
7736 2 => {
7737 return None;
7738 }
7739 3 => {
7740 marker = cursor;
7741 yych = unsafe {
7742 if cursor < len {
7743 *s.as_bytes().get_unchecked(cursor)
7744 } else {
7745 255
7746 }
7747 };
7748 match yych {
7749 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x2C | 0x2E..=0xFE => {
7750 yystate = 2;
7751 continue 'yyl;
7752 }
7753 0x2D => {
7754 cursor += 1;
7755 yystate = 9;
7756 continue 'yyl;
7757 }
7758 _ => {
7759 yystate = 6;
7760 continue 'yyl;
7761 }
7762 }
7763 }
7764 4 => {
7765 marker = cursor;
7766 yych = unsafe {
7767 if cursor < len {
7768 *s.as_bytes().get_unchecked(cursor)
7769 } else {
7770 255
7771 }
7772 };
7773 match yych {
7774 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x3C | 0x3E..=0xFE => {
7775 yystate = 2;
7776 continue 'yyl;
7777 }
7778 0x3D => {
7779 cursor += 1;
7780 yystate = 13;
7781 continue 'yyl;
7782 }
7783 _ => {
7784 yystate = 11;
7785 continue 'yyl;
7786 }
7787 }
7788 }
7789 5 => {
7790 yych = unsafe {
7791 if cursor < len {
7792 *s.as_bytes().get_unchecked(cursor)
7793 } else {
7794 255
7795 }
7796 };
7797 yystate = 6;
7798 continue 'yyl;
7799 }
7800 6 => match yych {
7801 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
7802 yystate = 7;
7803 continue 'yyl;
7804 }
7805 0x09 | 0x20 => {
7806 cursor += 1;
7807 yystate = 5;
7808 continue 'yyl;
7809 }
7810 _ => {
7811 cursor += 1;
7812 yystate = 8;
7813 continue 'yyl;
7814 }
7815 },
7816 7 => {
7817 cursor = marker;
7818 yystate = 2;
7819 continue 'yyl;
7820 }
7821 8 => {
7822 return Some(SetextChar::Hyphen);
7823 }
7824 9 => {
7825 yych = unsafe {
7826 if cursor < len {
7827 *s.as_bytes().get_unchecked(cursor)
7828 } else {
7829 255
7830 }
7831 };
7832 match yych {
7833 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x2C | 0x2E..=0xFE => {
7834 yystate = 7;
7835 continue 'yyl;
7836 }
7837 0x09 | 0x20 => {
7838 cursor += 1;
7839 yystate = 5;
7840 continue 'yyl;
7841 }
7842 0x2D => {
7843 cursor += 1;
7844 yystate = 9;
7845 continue 'yyl;
7846 }
7847 _ => {
7848 cursor += 1;
7849 yystate = 8;
7850 continue 'yyl;
7851 }
7852 }
7853 }
7854 10 => {
7855 yych = unsafe {
7856 if cursor < len {
7857 *s.as_bytes().get_unchecked(cursor)
7858 } else {
7859 255
7860 }
7861 };
7862 yystate = 11;
7863 continue 'yyl;
7864 }
7865 11 => match yych {
7866 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
7867 yystate = 7;
7868 continue 'yyl;
7869 }
7870 0x09 | 0x20 => {
7871 cursor += 1;
7872 yystate = 10;
7873 continue 'yyl;
7874 }
7875 _ => {
7876 cursor += 1;
7877 yystate = 12;
7878 continue 'yyl;
7879 }
7880 },
7881 12 => {
7882 return Some(SetextChar::Equals);
7883 }
7884 13 => {
7885 yych = unsafe {
7886 if cursor < len {
7887 *s.as_bytes().get_unchecked(cursor)
7888 } else {
7889 255
7890 }
7891 };
7892 match yych {
7893 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x3C | 0x3E..=0xFE => {
7894 yystate = 7;
7895 continue 'yyl;
7896 }
7897 0x09 | 0x20 => {
7898 cursor += 1;
7899 yystate = 10;
7900 continue 'yyl;
7901 }
7902 0x3D => {
7903 cursor += 1;
7904 yystate = 13;
7905 continue 'yyl;
7906 }
7907 _ => {
7908 cursor += 1;
7909 yystate = 12;
7910 continue 'yyl;
7911 }
7912 }
7913 }
7914 _ => panic!("internal lexer error"),
7915 }
7916 }
7917 }
7918 }
7919
7920 pub fn footnote_definition(s: &str) -> Option<usize> {
7921 let mut cursor = 0;
7922 let mut marker = 0;
7923 let len = s.len();
7924
7925 {
7926 #[allow(unused_assignments)]
7927 let mut yych: u8 = 0;
7928 let mut yystate: usize = 0;
7929 'yyl: loop {
7930 match yystate {
7931 0 => {
7932 yych = unsafe {
7933 if cursor < len {
7934 *s.as_bytes().get_unchecked(cursor)
7935 } else {
7936 255
7937 }
7938 };
7939 cursor += 1;
7940 match yych {
7941 0x5B => {
7942 yystate = 3;
7943 continue 'yyl;
7944 }
7945 _ => {
7946 yystate = 1;
7947 continue 'yyl;
7948 }
7949 }
7950 }
7951 1 => {
7952 yystate = 2;
7953 continue 'yyl;
7954 }
7955 2 => {
7956 return None;
7957 }
7958 3 => {
7959 marker = cursor;
7960 yych = unsafe {
7961 if cursor < len {
7962 *s.as_bytes().get_unchecked(cursor)
7963 } else {
7964 255
7965 }
7966 };
7967 match yych {
7968 0x5E => {
7969 cursor += 1;
7970 yystate = 4;
7971 continue 'yyl;
7972 }
7973 _ => {
7974 yystate = 2;
7975 continue 'yyl;
7976 }
7977 }
7978 }
7979 4 => {
7980 yych = unsafe {
7981 if cursor < len {
7982 *s.as_bytes().get_unchecked(cursor)
7983 } else {
7984 255
7985 }
7986 };
7987 match yych {
7988 0x5D => {
7989 yystate = 5;
7990 continue 'yyl;
7991 }
7992 _ => {
7993 yystate = 7;
7994 continue 'yyl;
7995 }
7996 }
7997 }
7998 5 => {
7999 cursor = marker;
8000 yystate = 2;
8001 continue 'yyl;
8002 }
8003 6 => {
8004 yych = unsafe {
8005 if cursor < len {
8006 *s.as_bytes().get_unchecked(cursor)
8007 } else {
8008 255
8009 }
8010 };
8011 yystate = 7;
8012 continue 'yyl;
8013 }
8014 7 => match yych {
8015 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x5C | 0x5E..=0xFE => {
8016 cursor += 1;
8017 yystate = 6;
8018 continue 'yyl;
8019 }
8020 0x5D => {
8021 cursor += 1;
8022 yystate = 8;
8023 continue 'yyl;
8024 }
8025 _ => {
8026 yystate = 5;
8027 continue 'yyl;
8028 }
8029 },
8030 8 => {
8031 yych = unsafe {
8032 if cursor < len {
8033 *s.as_bytes().get_unchecked(cursor)
8034 } else {
8035 255
8036 }
8037 };
8038 match yych {
8039 0x3A => {
8040 cursor += 1;
8041 yystate = 9;
8042 continue 'yyl;
8043 }
8044 _ => {
8045 yystate = 5;
8046 continue 'yyl;
8047 }
8048 }
8049 }
8050 9 => {
8051 yych = unsafe {
8052 if cursor < len {
8053 *s.as_bytes().get_unchecked(cursor)
8054 } else {
8055 255
8056 }
8057 };
8058 match yych {
8059 0x09 | 0x20 => {
8060 cursor += 1;
8061 yystate = 9;
8062 continue 'yyl;
8063 }
8064 _ => {
8065 yystate = 10;
8066 continue 'yyl;
8067 }
8068 }
8069 }
8070 10 => {
8071 return Some(cursor);
8072 }
8073 _ => panic!("internal lexer error"),
8074 }
8075 }
8076 }
8077 }
8078
8079 pub fn scheme(s: &str) -> Option<usize> {
8080 let mut cursor = 0;
8081 let mut marker = 0;
8082 let len = s.len();
8083
8084 {
8085 #[allow(unused_assignments)]
8086 let mut yych: u8 = 0;
8087 let mut yystate: usize = 0;
8088 'yyl: loop {
8089 match yystate {
8090 0 => {
8091 yych = unsafe {
8092 if cursor < len {
8093 *s.as_bytes().get_unchecked(cursor)
8094 } else {
8095 255
8096 }
8097 };
8098 cursor += 1;
8099 match yych {
8100 0x41..=0x5A | 0x61..=0x7A => {
8101 yystate = 3;
8102 continue 'yyl;
8103 }
8104 _ => {
8105 yystate = 1;
8106 continue 'yyl;
8107 }
8108 }
8109 }
8110 1 => {
8111 yystate = 2;
8112 continue 'yyl;
8113 }
8114 2 => {
8115 return None;
8116 }
8117 3 => {
8118 marker = cursor;
8119 yych = unsafe {
8120 if cursor < len {
8121 *s.as_bytes().get_unchecked(cursor)
8122 } else {
8123 255
8124 }
8125 };
8126 match yych {
8127 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8128 cursor += 1;
8129 yystate = 4;
8130 continue 'yyl;
8131 }
8132 _ => {
8133 yystate = 2;
8134 continue 'yyl;
8135 }
8136 }
8137 }
8138 4 => {
8139 yych = unsafe {
8140 if cursor < len {
8141 *s.as_bytes().get_unchecked(cursor)
8142 } else {
8143 255
8144 }
8145 };
8146 match yych {
8147 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8148 cursor += 1;
8149 yystate = 6;
8150 continue 'yyl;
8151 }
8152 0x3A => {
8153 cursor += 1;
8154 yystate = 7;
8155 continue 'yyl;
8156 }
8157 _ => {
8158 yystate = 5;
8159 continue 'yyl;
8160 }
8161 }
8162 }
8163 5 => {
8164 cursor = marker;
8165 yystate = 2;
8166 continue 'yyl;
8167 }
8168 6 => {
8169 yych = unsafe {
8170 if cursor < len {
8171 *s.as_bytes().get_unchecked(cursor)
8172 } else {
8173 255
8174 }
8175 };
8176 match yych {
8177 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8178 cursor += 1;
8179 yystate = 8;
8180 continue 'yyl;
8181 }
8182 0x3A => {
8183 cursor += 1;
8184 yystate = 7;
8185 continue 'yyl;
8186 }
8187 _ => {
8188 yystate = 5;
8189 continue 'yyl;
8190 }
8191 }
8192 }
8193 7 => {
8194 return Some(cursor);
8195 }
8196 8 => {
8197 yych = unsafe {
8198 if cursor < len {
8199 *s.as_bytes().get_unchecked(cursor)
8200 } else {
8201 255
8202 }
8203 };
8204 match yych {
8205 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8206 cursor += 1;
8207 yystate = 9;
8208 continue 'yyl;
8209 }
8210 0x3A => {
8211 cursor += 1;
8212 yystate = 7;
8213 continue 'yyl;
8214 }
8215 _ => {
8216 yystate = 5;
8217 continue 'yyl;
8218 }
8219 }
8220 }
8221 9 => {
8222 yych = unsafe {
8223 if cursor < len {
8224 *s.as_bytes().get_unchecked(cursor)
8225 } else {
8226 255
8227 }
8228 };
8229 match yych {
8230 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8231 cursor += 1;
8232 yystate = 10;
8233 continue 'yyl;
8234 }
8235 0x3A => {
8236 cursor += 1;
8237 yystate = 7;
8238 continue 'yyl;
8239 }
8240 _ => {
8241 yystate = 5;
8242 continue 'yyl;
8243 }
8244 }
8245 }
8246 10 => {
8247 yych = unsafe {
8248 if cursor < len {
8249 *s.as_bytes().get_unchecked(cursor)
8250 } else {
8251 255
8252 }
8253 };
8254 match yych {
8255 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8256 cursor += 1;
8257 yystate = 11;
8258 continue 'yyl;
8259 }
8260 0x3A => {
8261 cursor += 1;
8262 yystate = 7;
8263 continue 'yyl;
8264 }
8265 _ => {
8266 yystate = 5;
8267 continue 'yyl;
8268 }
8269 }
8270 }
8271 11 => {
8272 yych = unsafe {
8273 if cursor < len {
8274 *s.as_bytes().get_unchecked(cursor)
8275 } else {
8276 255
8277 }
8278 };
8279 match yych {
8280 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8281 cursor += 1;
8282 yystate = 12;
8283 continue 'yyl;
8284 }
8285 0x3A => {
8286 cursor += 1;
8287 yystate = 7;
8288 continue 'yyl;
8289 }
8290 _ => {
8291 yystate = 5;
8292 continue 'yyl;
8293 }
8294 }
8295 }
8296 12 => {
8297 yych = unsafe {
8298 if cursor < len {
8299 *s.as_bytes().get_unchecked(cursor)
8300 } else {
8301 255
8302 }
8303 };
8304 match yych {
8305 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8306 cursor += 1;
8307 yystate = 13;
8308 continue 'yyl;
8309 }
8310 0x3A => {
8311 cursor += 1;
8312 yystate = 7;
8313 continue 'yyl;
8314 }
8315 _ => {
8316 yystate = 5;
8317 continue 'yyl;
8318 }
8319 }
8320 }
8321 13 => {
8322 yych = unsafe {
8323 if cursor < len {
8324 *s.as_bytes().get_unchecked(cursor)
8325 } else {
8326 255
8327 }
8328 };
8329 match yych {
8330 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8331 cursor += 1;
8332 yystate = 14;
8333 continue 'yyl;
8334 }
8335 0x3A => {
8336 cursor += 1;
8337 yystate = 7;
8338 continue 'yyl;
8339 }
8340 _ => {
8341 yystate = 5;
8342 continue 'yyl;
8343 }
8344 }
8345 }
8346 14 => {
8347 yych = unsafe {
8348 if cursor < len {
8349 *s.as_bytes().get_unchecked(cursor)
8350 } else {
8351 255
8352 }
8353 };
8354 match yych {
8355 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8356 cursor += 1;
8357 yystate = 15;
8358 continue 'yyl;
8359 }
8360 0x3A => {
8361 cursor += 1;
8362 yystate = 7;
8363 continue 'yyl;
8364 }
8365 _ => {
8366 yystate = 5;
8367 continue 'yyl;
8368 }
8369 }
8370 }
8371 15 => {
8372 yych = unsafe {
8373 if cursor < len {
8374 *s.as_bytes().get_unchecked(cursor)
8375 } else {
8376 255
8377 }
8378 };
8379 match yych {
8380 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8381 cursor += 1;
8382 yystate = 16;
8383 continue 'yyl;
8384 }
8385 0x3A => {
8386 cursor += 1;
8387 yystate = 7;
8388 continue 'yyl;
8389 }
8390 _ => {
8391 yystate = 5;
8392 continue 'yyl;
8393 }
8394 }
8395 }
8396 16 => {
8397 yych = unsafe {
8398 if cursor < len {
8399 *s.as_bytes().get_unchecked(cursor)
8400 } else {
8401 255
8402 }
8403 };
8404 match yych {
8405 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8406 cursor += 1;
8407 yystate = 17;
8408 continue 'yyl;
8409 }
8410 0x3A => {
8411 cursor += 1;
8412 yystate = 7;
8413 continue 'yyl;
8414 }
8415 _ => {
8416 yystate = 5;
8417 continue 'yyl;
8418 }
8419 }
8420 }
8421 17 => {
8422 yych = unsafe {
8423 if cursor < len {
8424 *s.as_bytes().get_unchecked(cursor)
8425 } else {
8426 255
8427 }
8428 };
8429 match yych {
8430 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8431 cursor += 1;
8432 yystate = 18;
8433 continue 'yyl;
8434 }
8435 0x3A => {
8436 cursor += 1;
8437 yystate = 7;
8438 continue 'yyl;
8439 }
8440 _ => {
8441 yystate = 5;
8442 continue 'yyl;
8443 }
8444 }
8445 }
8446 18 => {
8447 yych = unsafe {
8448 if cursor < len {
8449 *s.as_bytes().get_unchecked(cursor)
8450 } else {
8451 255
8452 }
8453 };
8454 match yych {
8455 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8456 cursor += 1;
8457 yystate = 19;
8458 continue 'yyl;
8459 }
8460 0x3A => {
8461 cursor += 1;
8462 yystate = 7;
8463 continue 'yyl;
8464 }
8465 _ => {
8466 yystate = 5;
8467 continue 'yyl;
8468 }
8469 }
8470 }
8471 19 => {
8472 yych = unsafe {
8473 if cursor < len {
8474 *s.as_bytes().get_unchecked(cursor)
8475 } else {
8476 255
8477 }
8478 };
8479 match yych {
8480 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8481 cursor += 1;
8482 yystate = 20;
8483 continue 'yyl;
8484 }
8485 0x3A => {
8486 cursor += 1;
8487 yystate = 7;
8488 continue 'yyl;
8489 }
8490 _ => {
8491 yystate = 5;
8492 continue 'yyl;
8493 }
8494 }
8495 }
8496 20 => {
8497 yych = unsafe {
8498 if cursor < len {
8499 *s.as_bytes().get_unchecked(cursor)
8500 } else {
8501 255
8502 }
8503 };
8504 match yych {
8505 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8506 cursor += 1;
8507 yystate = 21;
8508 continue 'yyl;
8509 }
8510 0x3A => {
8511 cursor += 1;
8512 yystate = 7;
8513 continue 'yyl;
8514 }
8515 _ => {
8516 yystate = 5;
8517 continue 'yyl;
8518 }
8519 }
8520 }
8521 21 => {
8522 yych = unsafe {
8523 if cursor < len {
8524 *s.as_bytes().get_unchecked(cursor)
8525 } else {
8526 255
8527 }
8528 };
8529 match yych {
8530 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8531 cursor += 1;
8532 yystate = 22;
8533 continue 'yyl;
8534 }
8535 0x3A => {
8536 cursor += 1;
8537 yystate = 7;
8538 continue 'yyl;
8539 }
8540 _ => {
8541 yystate = 5;
8542 continue 'yyl;
8543 }
8544 }
8545 }
8546 22 => {
8547 yych = unsafe {
8548 if cursor < len {
8549 *s.as_bytes().get_unchecked(cursor)
8550 } else {
8551 255
8552 }
8553 };
8554 match yych {
8555 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8556 cursor += 1;
8557 yystate = 23;
8558 continue 'yyl;
8559 }
8560 0x3A => {
8561 cursor += 1;
8562 yystate = 7;
8563 continue 'yyl;
8564 }
8565 _ => {
8566 yystate = 5;
8567 continue 'yyl;
8568 }
8569 }
8570 }
8571 23 => {
8572 yych = unsafe {
8573 if cursor < len {
8574 *s.as_bytes().get_unchecked(cursor)
8575 } else {
8576 255
8577 }
8578 };
8579 match yych {
8580 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8581 cursor += 1;
8582 yystate = 24;
8583 continue 'yyl;
8584 }
8585 0x3A => {
8586 cursor += 1;
8587 yystate = 7;
8588 continue 'yyl;
8589 }
8590 _ => {
8591 yystate = 5;
8592 continue 'yyl;
8593 }
8594 }
8595 }
8596 24 => {
8597 yych = unsafe {
8598 if cursor < len {
8599 *s.as_bytes().get_unchecked(cursor)
8600 } else {
8601 255
8602 }
8603 };
8604 match yych {
8605 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8606 cursor += 1;
8607 yystate = 25;
8608 continue 'yyl;
8609 }
8610 0x3A => {
8611 cursor += 1;
8612 yystate = 7;
8613 continue 'yyl;
8614 }
8615 _ => {
8616 yystate = 5;
8617 continue 'yyl;
8618 }
8619 }
8620 }
8621 25 => {
8622 yych = unsafe {
8623 if cursor < len {
8624 *s.as_bytes().get_unchecked(cursor)
8625 } else {
8626 255
8627 }
8628 };
8629 match yych {
8630 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8631 cursor += 1;
8632 yystate = 26;
8633 continue 'yyl;
8634 }
8635 0x3A => {
8636 cursor += 1;
8637 yystate = 7;
8638 continue 'yyl;
8639 }
8640 _ => {
8641 yystate = 5;
8642 continue 'yyl;
8643 }
8644 }
8645 }
8646 26 => {
8647 yych = unsafe {
8648 if cursor < len {
8649 *s.as_bytes().get_unchecked(cursor)
8650 } else {
8651 255
8652 }
8653 };
8654 match yych {
8655 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8656 cursor += 1;
8657 yystate = 27;
8658 continue 'yyl;
8659 }
8660 0x3A => {
8661 cursor += 1;
8662 yystate = 7;
8663 continue 'yyl;
8664 }
8665 _ => {
8666 yystate = 5;
8667 continue 'yyl;
8668 }
8669 }
8670 }
8671 27 => {
8672 yych = unsafe {
8673 if cursor < len {
8674 *s.as_bytes().get_unchecked(cursor)
8675 } else {
8676 255
8677 }
8678 };
8679 match yych {
8680 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8681 cursor += 1;
8682 yystate = 28;
8683 continue 'yyl;
8684 }
8685 0x3A => {
8686 cursor += 1;
8687 yystate = 7;
8688 continue 'yyl;
8689 }
8690 _ => {
8691 yystate = 5;
8692 continue 'yyl;
8693 }
8694 }
8695 }
8696 28 => {
8697 yych = unsafe {
8698 if cursor < len {
8699 *s.as_bytes().get_unchecked(cursor)
8700 } else {
8701 255
8702 }
8703 };
8704 match yych {
8705 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8706 cursor += 1;
8707 yystate = 29;
8708 continue 'yyl;
8709 }
8710 0x3A => {
8711 cursor += 1;
8712 yystate = 7;
8713 continue 'yyl;
8714 }
8715 _ => {
8716 yystate = 5;
8717 continue 'yyl;
8718 }
8719 }
8720 }
8721 29 => {
8722 yych = unsafe {
8723 if cursor < len {
8724 *s.as_bytes().get_unchecked(cursor)
8725 } else {
8726 255
8727 }
8728 };
8729 match yych {
8730 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8731 cursor += 1;
8732 yystate = 30;
8733 continue 'yyl;
8734 }
8735 0x3A => {
8736 cursor += 1;
8737 yystate = 7;
8738 continue 'yyl;
8739 }
8740 _ => {
8741 yystate = 5;
8742 continue 'yyl;
8743 }
8744 }
8745 }
8746 30 => {
8747 yych = unsafe {
8748 if cursor < len {
8749 *s.as_bytes().get_unchecked(cursor)
8750 } else {
8751 255
8752 }
8753 };
8754 match yych {
8755 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8756 cursor += 1;
8757 yystate = 31;
8758 continue 'yyl;
8759 }
8760 0x3A => {
8761 cursor += 1;
8762 yystate = 7;
8763 continue 'yyl;
8764 }
8765 _ => {
8766 yystate = 5;
8767 continue 'yyl;
8768 }
8769 }
8770 }
8771 31 => {
8772 yych = unsafe {
8773 if cursor < len {
8774 *s.as_bytes().get_unchecked(cursor)
8775 } else {
8776 255
8777 }
8778 };
8779 match yych {
8780 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8781 cursor += 1;
8782 yystate = 32;
8783 continue 'yyl;
8784 }
8785 0x3A => {
8786 cursor += 1;
8787 yystate = 7;
8788 continue 'yyl;
8789 }
8790 _ => {
8791 yystate = 5;
8792 continue 'yyl;
8793 }
8794 }
8795 }
8796 32 => {
8797 yych = unsafe {
8798 if cursor < len {
8799 *s.as_bytes().get_unchecked(cursor)
8800 } else {
8801 255
8802 }
8803 };
8804 match yych {
8805 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8806 cursor += 1;
8807 yystate = 33;
8808 continue 'yyl;
8809 }
8810 0x3A => {
8811 cursor += 1;
8812 yystate = 7;
8813 continue 'yyl;
8814 }
8815 _ => {
8816 yystate = 5;
8817 continue 'yyl;
8818 }
8819 }
8820 }
8821 33 => {
8822 yych = unsafe {
8823 if cursor < len {
8824 *s.as_bytes().get_unchecked(cursor)
8825 } else {
8826 255
8827 }
8828 };
8829 match yych {
8830 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8831 cursor += 1;
8832 yystate = 34;
8833 continue 'yyl;
8834 }
8835 0x3A => {
8836 cursor += 1;
8837 yystate = 7;
8838 continue 'yyl;
8839 }
8840 _ => {
8841 yystate = 5;
8842 continue 'yyl;
8843 }
8844 }
8845 }
8846 34 => {
8847 yych = unsafe {
8848 if cursor < len {
8849 *s.as_bytes().get_unchecked(cursor)
8850 } else {
8851 255
8852 }
8853 };
8854 match yych {
8855 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8856 cursor += 1;
8857 yystate = 35;
8858 continue 'yyl;
8859 }
8860 0x3A => {
8861 cursor += 1;
8862 yystate = 7;
8863 continue 'yyl;
8864 }
8865 _ => {
8866 yystate = 5;
8867 continue 'yyl;
8868 }
8869 }
8870 }
8871 35 => {
8872 yych = unsafe {
8873 if cursor < len {
8874 *s.as_bytes().get_unchecked(cursor)
8875 } else {
8876 255
8877 }
8878 };
8879 match yych {
8880 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8881 cursor += 1;
8882 yystate = 36;
8883 continue 'yyl;
8884 }
8885 0x3A => {
8886 cursor += 1;
8887 yystate = 7;
8888 continue 'yyl;
8889 }
8890 _ => {
8891 yystate = 5;
8892 continue 'yyl;
8893 }
8894 }
8895 }
8896 36 => {
8897 yych = unsafe {
8898 if cursor < len {
8899 *s.as_bytes().get_unchecked(cursor)
8900 } else {
8901 255
8902 }
8903 };
8904 match yych {
8905 0x3A => {
8906 cursor += 1;
8907 yystate = 7;
8908 continue 'yyl;
8909 }
8910 _ => {
8911 yystate = 5;
8912 continue 'yyl;
8913 }
8914 }
8915 }
8916 _ => panic!("internal lexer error"),
8917 }
8918 }
8919 }
8920 }
8921
8922 pub fn autolink_uri(s: &str) -> Option<usize> {
8923 let mut cursor = 0;
8924 let mut marker = 0;
8925 let len = s.len();
8926
8927 {
8928 #[allow(unused_assignments)]
8929 let mut yych: u8 = 0;
8930 let mut yystate: usize = 0;
8931 'yyl: loop {
8932 match yystate {
8933 0 => {
8934 yych = unsafe {
8935 if cursor < len {
8936 *s.as_bytes().get_unchecked(cursor)
8937 } else {
8938 255
8939 }
8940 };
8941 cursor += 1;
8942 match yych {
8943 0x41..=0x5A | 0x61..=0x7A => {
8944 yystate = 3;
8945 continue 'yyl;
8946 }
8947 _ => {
8948 yystate = 1;
8949 continue 'yyl;
8950 }
8951 }
8952 }
8953 1 => {
8954 yystate = 2;
8955 continue 'yyl;
8956 }
8957 2 => {
8958 return None;
8959 }
8960 3 => {
8961 marker = cursor;
8962 yych = unsafe {
8963 if cursor < len {
8964 *s.as_bytes().get_unchecked(cursor)
8965 } else {
8966 255
8967 }
8968 };
8969 match yych {
8970 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8971 cursor += 1;
8972 yystate = 4;
8973 continue 'yyl;
8974 }
8975 _ => {
8976 yystate = 2;
8977 continue 'yyl;
8978 }
8979 }
8980 }
8981 4 => {
8982 yych = unsafe {
8983 if cursor < len {
8984 *s.as_bytes().get_unchecked(cursor)
8985 } else {
8986 255
8987 }
8988 };
8989 match yych {
8990 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
8991 cursor += 1;
8992 yystate = 6;
8993 continue 'yyl;
8994 }
8995 0x3A => {
8996 cursor += 1;
8997 yystate = 7;
8998 continue 'yyl;
8999 }
9000 _ => {
9001 yystate = 5;
9002 continue 'yyl;
9003 }
9004 }
9005 }
9006 5 => {
9007 cursor = marker;
9008 yystate = 2;
9009 continue 'yyl;
9010 }
9011 6 => {
9012 yych = unsafe {
9013 if cursor < len {
9014 *s.as_bytes().get_unchecked(cursor)
9015 } else {
9016 255
9017 }
9018 };
9019 match yych {
9020 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9021 cursor += 1;
9022 yystate = 8;
9023 continue 'yyl;
9024 }
9025 0x3A => {
9026 cursor += 1;
9027 yystate = 7;
9028 continue 'yyl;
9029 }
9030 _ => {
9031 yystate = 5;
9032 continue 'yyl;
9033 }
9034 }
9035 }
9036 7 => {
9037 yych = unsafe {
9038 if cursor < len {
9039 *s.as_bytes().get_unchecked(cursor)
9040 } else {
9041 255
9042 }
9043 };
9044 match yych {
9045 0x00 | 0x21..=0x3B | 0x3D | 0x3F..=0xFE => {
9046 cursor += 1;
9047 yystate = 7;
9048 continue 'yyl;
9049 }
9050 0x3E => {
9051 cursor += 1;
9052 yystate = 9;
9053 continue 'yyl;
9054 }
9055 _ => {
9056 yystate = 5;
9057 continue 'yyl;
9058 }
9059 }
9060 }
9061 8 => {
9062 yych = unsafe {
9063 if cursor < len {
9064 *s.as_bytes().get_unchecked(cursor)
9065 } else {
9066 255
9067 }
9068 };
9069 match yych {
9070 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9071 cursor += 1;
9072 yystate = 10;
9073 continue 'yyl;
9074 }
9075 0x3A => {
9076 cursor += 1;
9077 yystate = 7;
9078 continue 'yyl;
9079 }
9080 _ => {
9081 yystate = 5;
9082 continue 'yyl;
9083 }
9084 }
9085 }
9086 9 => {
9087 return Some(cursor);
9088 }
9089 10 => {
9090 yych = unsafe {
9091 if cursor < len {
9092 *s.as_bytes().get_unchecked(cursor)
9093 } else {
9094 255
9095 }
9096 };
9097 match yych {
9098 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9099 cursor += 1;
9100 yystate = 11;
9101 continue 'yyl;
9102 }
9103 0x3A => {
9104 cursor += 1;
9105 yystate = 7;
9106 continue 'yyl;
9107 }
9108 _ => {
9109 yystate = 5;
9110 continue 'yyl;
9111 }
9112 }
9113 }
9114 11 => {
9115 yych = unsafe {
9116 if cursor < len {
9117 *s.as_bytes().get_unchecked(cursor)
9118 } else {
9119 255
9120 }
9121 };
9122 match yych {
9123 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9124 cursor += 1;
9125 yystate = 12;
9126 continue 'yyl;
9127 }
9128 0x3A => {
9129 cursor += 1;
9130 yystate = 7;
9131 continue 'yyl;
9132 }
9133 _ => {
9134 yystate = 5;
9135 continue 'yyl;
9136 }
9137 }
9138 }
9139 12 => {
9140 yych = unsafe {
9141 if cursor < len {
9142 *s.as_bytes().get_unchecked(cursor)
9143 } else {
9144 255
9145 }
9146 };
9147 match yych {
9148 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9149 cursor += 1;
9150 yystate = 13;
9151 continue 'yyl;
9152 }
9153 0x3A => {
9154 cursor += 1;
9155 yystate = 7;
9156 continue 'yyl;
9157 }
9158 _ => {
9159 yystate = 5;
9160 continue 'yyl;
9161 }
9162 }
9163 }
9164 13 => {
9165 yych = unsafe {
9166 if cursor < len {
9167 *s.as_bytes().get_unchecked(cursor)
9168 } else {
9169 255
9170 }
9171 };
9172 match yych {
9173 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9174 cursor += 1;
9175 yystate = 14;
9176 continue 'yyl;
9177 }
9178 0x3A => {
9179 cursor += 1;
9180 yystate = 7;
9181 continue 'yyl;
9182 }
9183 _ => {
9184 yystate = 5;
9185 continue 'yyl;
9186 }
9187 }
9188 }
9189 14 => {
9190 yych = unsafe {
9191 if cursor < len {
9192 *s.as_bytes().get_unchecked(cursor)
9193 } else {
9194 255
9195 }
9196 };
9197 match yych {
9198 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9199 cursor += 1;
9200 yystate = 15;
9201 continue 'yyl;
9202 }
9203 0x3A => {
9204 cursor += 1;
9205 yystate = 7;
9206 continue 'yyl;
9207 }
9208 _ => {
9209 yystate = 5;
9210 continue 'yyl;
9211 }
9212 }
9213 }
9214 15 => {
9215 yych = unsafe {
9216 if cursor < len {
9217 *s.as_bytes().get_unchecked(cursor)
9218 } else {
9219 255
9220 }
9221 };
9222 match yych {
9223 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9224 cursor += 1;
9225 yystate = 16;
9226 continue 'yyl;
9227 }
9228 0x3A => {
9229 cursor += 1;
9230 yystate = 7;
9231 continue 'yyl;
9232 }
9233 _ => {
9234 yystate = 5;
9235 continue 'yyl;
9236 }
9237 }
9238 }
9239 16 => {
9240 yych = unsafe {
9241 if cursor < len {
9242 *s.as_bytes().get_unchecked(cursor)
9243 } else {
9244 255
9245 }
9246 };
9247 match yych {
9248 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9249 cursor += 1;
9250 yystate = 17;
9251 continue 'yyl;
9252 }
9253 0x3A => {
9254 cursor += 1;
9255 yystate = 7;
9256 continue 'yyl;
9257 }
9258 _ => {
9259 yystate = 5;
9260 continue 'yyl;
9261 }
9262 }
9263 }
9264 17 => {
9265 yych = unsafe {
9266 if cursor < len {
9267 *s.as_bytes().get_unchecked(cursor)
9268 } else {
9269 255
9270 }
9271 };
9272 match yych {
9273 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9274 cursor += 1;
9275 yystate = 18;
9276 continue 'yyl;
9277 }
9278 0x3A => {
9279 cursor += 1;
9280 yystate = 7;
9281 continue 'yyl;
9282 }
9283 _ => {
9284 yystate = 5;
9285 continue 'yyl;
9286 }
9287 }
9288 }
9289 18 => {
9290 yych = unsafe {
9291 if cursor < len {
9292 *s.as_bytes().get_unchecked(cursor)
9293 } else {
9294 255
9295 }
9296 };
9297 match yych {
9298 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9299 cursor += 1;
9300 yystate = 19;
9301 continue 'yyl;
9302 }
9303 0x3A => {
9304 cursor += 1;
9305 yystate = 7;
9306 continue 'yyl;
9307 }
9308 _ => {
9309 yystate = 5;
9310 continue 'yyl;
9311 }
9312 }
9313 }
9314 19 => {
9315 yych = unsafe {
9316 if cursor < len {
9317 *s.as_bytes().get_unchecked(cursor)
9318 } else {
9319 255
9320 }
9321 };
9322 match yych {
9323 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9324 cursor += 1;
9325 yystate = 20;
9326 continue 'yyl;
9327 }
9328 0x3A => {
9329 cursor += 1;
9330 yystate = 7;
9331 continue 'yyl;
9332 }
9333 _ => {
9334 yystate = 5;
9335 continue 'yyl;
9336 }
9337 }
9338 }
9339 20 => {
9340 yych = unsafe {
9341 if cursor < len {
9342 *s.as_bytes().get_unchecked(cursor)
9343 } else {
9344 255
9345 }
9346 };
9347 match yych {
9348 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9349 cursor += 1;
9350 yystate = 21;
9351 continue 'yyl;
9352 }
9353 0x3A => {
9354 cursor += 1;
9355 yystate = 7;
9356 continue 'yyl;
9357 }
9358 _ => {
9359 yystate = 5;
9360 continue 'yyl;
9361 }
9362 }
9363 }
9364 21 => {
9365 yych = unsafe {
9366 if cursor < len {
9367 *s.as_bytes().get_unchecked(cursor)
9368 } else {
9369 255
9370 }
9371 };
9372 match yych {
9373 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9374 cursor += 1;
9375 yystate = 22;
9376 continue 'yyl;
9377 }
9378 0x3A => {
9379 cursor += 1;
9380 yystate = 7;
9381 continue 'yyl;
9382 }
9383 _ => {
9384 yystate = 5;
9385 continue 'yyl;
9386 }
9387 }
9388 }
9389 22 => {
9390 yych = unsafe {
9391 if cursor < len {
9392 *s.as_bytes().get_unchecked(cursor)
9393 } else {
9394 255
9395 }
9396 };
9397 match yych {
9398 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9399 cursor += 1;
9400 yystate = 23;
9401 continue 'yyl;
9402 }
9403 0x3A => {
9404 cursor += 1;
9405 yystate = 7;
9406 continue 'yyl;
9407 }
9408 _ => {
9409 yystate = 5;
9410 continue 'yyl;
9411 }
9412 }
9413 }
9414 23 => {
9415 yych = unsafe {
9416 if cursor < len {
9417 *s.as_bytes().get_unchecked(cursor)
9418 } else {
9419 255
9420 }
9421 };
9422 match yych {
9423 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9424 cursor += 1;
9425 yystate = 24;
9426 continue 'yyl;
9427 }
9428 0x3A => {
9429 cursor += 1;
9430 yystate = 7;
9431 continue 'yyl;
9432 }
9433 _ => {
9434 yystate = 5;
9435 continue 'yyl;
9436 }
9437 }
9438 }
9439 24 => {
9440 yych = unsafe {
9441 if cursor < len {
9442 *s.as_bytes().get_unchecked(cursor)
9443 } else {
9444 255
9445 }
9446 };
9447 match yych {
9448 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9449 cursor += 1;
9450 yystate = 25;
9451 continue 'yyl;
9452 }
9453 0x3A => {
9454 cursor += 1;
9455 yystate = 7;
9456 continue 'yyl;
9457 }
9458 _ => {
9459 yystate = 5;
9460 continue 'yyl;
9461 }
9462 }
9463 }
9464 25 => {
9465 yych = unsafe {
9466 if cursor < len {
9467 *s.as_bytes().get_unchecked(cursor)
9468 } else {
9469 255
9470 }
9471 };
9472 match yych {
9473 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9474 cursor += 1;
9475 yystate = 26;
9476 continue 'yyl;
9477 }
9478 0x3A => {
9479 cursor += 1;
9480 yystate = 7;
9481 continue 'yyl;
9482 }
9483 _ => {
9484 yystate = 5;
9485 continue 'yyl;
9486 }
9487 }
9488 }
9489 26 => {
9490 yych = unsafe {
9491 if cursor < len {
9492 *s.as_bytes().get_unchecked(cursor)
9493 } else {
9494 255
9495 }
9496 };
9497 match yych {
9498 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9499 cursor += 1;
9500 yystate = 27;
9501 continue 'yyl;
9502 }
9503 0x3A => {
9504 cursor += 1;
9505 yystate = 7;
9506 continue 'yyl;
9507 }
9508 _ => {
9509 yystate = 5;
9510 continue 'yyl;
9511 }
9512 }
9513 }
9514 27 => {
9515 yych = unsafe {
9516 if cursor < len {
9517 *s.as_bytes().get_unchecked(cursor)
9518 } else {
9519 255
9520 }
9521 };
9522 match yych {
9523 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9524 cursor += 1;
9525 yystate = 28;
9526 continue 'yyl;
9527 }
9528 0x3A => {
9529 cursor += 1;
9530 yystate = 7;
9531 continue 'yyl;
9532 }
9533 _ => {
9534 yystate = 5;
9535 continue 'yyl;
9536 }
9537 }
9538 }
9539 28 => {
9540 yych = unsafe {
9541 if cursor < len {
9542 *s.as_bytes().get_unchecked(cursor)
9543 } else {
9544 255
9545 }
9546 };
9547 match yych {
9548 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9549 cursor += 1;
9550 yystate = 29;
9551 continue 'yyl;
9552 }
9553 0x3A => {
9554 cursor += 1;
9555 yystate = 7;
9556 continue 'yyl;
9557 }
9558 _ => {
9559 yystate = 5;
9560 continue 'yyl;
9561 }
9562 }
9563 }
9564 29 => {
9565 yych = unsafe {
9566 if cursor < len {
9567 *s.as_bytes().get_unchecked(cursor)
9568 } else {
9569 255
9570 }
9571 };
9572 match yych {
9573 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9574 cursor += 1;
9575 yystate = 30;
9576 continue 'yyl;
9577 }
9578 0x3A => {
9579 cursor += 1;
9580 yystate = 7;
9581 continue 'yyl;
9582 }
9583 _ => {
9584 yystate = 5;
9585 continue 'yyl;
9586 }
9587 }
9588 }
9589 30 => {
9590 yych = unsafe {
9591 if cursor < len {
9592 *s.as_bytes().get_unchecked(cursor)
9593 } else {
9594 255
9595 }
9596 };
9597 match yych {
9598 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9599 cursor += 1;
9600 yystate = 31;
9601 continue 'yyl;
9602 }
9603 0x3A => {
9604 cursor += 1;
9605 yystate = 7;
9606 continue 'yyl;
9607 }
9608 _ => {
9609 yystate = 5;
9610 continue 'yyl;
9611 }
9612 }
9613 }
9614 31 => {
9615 yych = unsafe {
9616 if cursor < len {
9617 *s.as_bytes().get_unchecked(cursor)
9618 } else {
9619 255
9620 }
9621 };
9622 match yych {
9623 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9624 cursor += 1;
9625 yystate = 32;
9626 continue 'yyl;
9627 }
9628 0x3A => {
9629 cursor += 1;
9630 yystate = 7;
9631 continue 'yyl;
9632 }
9633 _ => {
9634 yystate = 5;
9635 continue 'yyl;
9636 }
9637 }
9638 }
9639 32 => {
9640 yych = unsafe {
9641 if cursor < len {
9642 *s.as_bytes().get_unchecked(cursor)
9643 } else {
9644 255
9645 }
9646 };
9647 match yych {
9648 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9649 cursor += 1;
9650 yystate = 33;
9651 continue 'yyl;
9652 }
9653 0x3A => {
9654 cursor += 1;
9655 yystate = 7;
9656 continue 'yyl;
9657 }
9658 _ => {
9659 yystate = 5;
9660 continue 'yyl;
9661 }
9662 }
9663 }
9664 33 => {
9665 yych = unsafe {
9666 if cursor < len {
9667 *s.as_bytes().get_unchecked(cursor)
9668 } else {
9669 255
9670 }
9671 };
9672 match yych {
9673 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9674 cursor += 1;
9675 yystate = 34;
9676 continue 'yyl;
9677 }
9678 0x3A => {
9679 cursor += 1;
9680 yystate = 7;
9681 continue 'yyl;
9682 }
9683 _ => {
9684 yystate = 5;
9685 continue 'yyl;
9686 }
9687 }
9688 }
9689 34 => {
9690 yych = unsafe {
9691 if cursor < len {
9692 *s.as_bytes().get_unchecked(cursor)
9693 } else {
9694 255
9695 }
9696 };
9697 match yych {
9698 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9699 cursor += 1;
9700 yystate = 35;
9701 continue 'yyl;
9702 }
9703 0x3A => {
9704 cursor += 1;
9705 yystate = 7;
9706 continue 'yyl;
9707 }
9708 _ => {
9709 yystate = 5;
9710 continue 'yyl;
9711 }
9712 }
9713 }
9714 35 => {
9715 yych = unsafe {
9716 if cursor < len {
9717 *s.as_bytes().get_unchecked(cursor)
9718 } else {
9719 255
9720 }
9721 };
9722 match yych {
9723 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9724 cursor += 1;
9725 yystate = 36;
9726 continue 'yyl;
9727 }
9728 0x3A => {
9729 cursor += 1;
9730 yystate = 7;
9731 continue 'yyl;
9732 }
9733 _ => {
9734 yystate = 5;
9735 continue 'yyl;
9736 }
9737 }
9738 }
9739 36 => {
9740 yych = unsafe {
9741 if cursor < len {
9742 *s.as_bytes().get_unchecked(cursor)
9743 } else {
9744 255
9745 }
9746 };
9747 match yych {
9748 0x2B | 0x2D..=0x2E | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9749 cursor += 1;
9750 yystate = 37;
9751 continue 'yyl;
9752 }
9753 0x3A => {
9754 cursor += 1;
9755 yystate = 7;
9756 continue 'yyl;
9757 }
9758 _ => {
9759 yystate = 5;
9760 continue 'yyl;
9761 }
9762 }
9763 }
9764 37 => {
9765 yych = unsafe {
9766 if cursor < len {
9767 *s.as_bytes().get_unchecked(cursor)
9768 } else {
9769 255
9770 }
9771 };
9772 match yych {
9773 0x3A => {
9774 cursor += 1;
9775 yystate = 7;
9776 continue 'yyl;
9777 }
9778 _ => {
9779 yystate = 5;
9780 continue 'yyl;
9781 }
9782 }
9783 }
9784 _ => panic!("internal lexer error"),
9785 }
9786 }
9787 }
9788 }
9789
9790 pub fn autolink_email(s: &str) -> Option<usize> {
9791 let mut cursor = 0;
9792 let mut marker = 0;
9793 let len = s.len();
9794
9795 {
9796 #[allow(unused_assignments)]
9797 let mut yych: u8 = 0;
9798 let mut yystate: usize = 0;
9799 'yyl: loop {
9800 match yystate {
9801 0 => {
9802 yych = unsafe {
9803 if cursor < len {
9804 *s.as_bytes().get_unchecked(cursor)
9805 } else {
9806 255
9807 }
9808 };
9809 cursor += 1;
9810 match yych {
9811 0x21
9812 | 0x23..=0x27
9813 | 0x2A..=0x2B
9814 | 0x2D..=0x39
9815 | 0x3D
9816 | 0x3F
9817 | 0x41..=0x5A
9818 | 0x5E..=0x7E => {
9819 yystate = 3;
9820 continue 'yyl;
9821 }
9822 _ => {
9823 yystate = 1;
9824 continue 'yyl;
9825 }
9826 }
9827 }
9828 1 => {
9829 yystate = 2;
9830 continue 'yyl;
9831 }
9832 2 => {
9833 return None;
9834 }
9835 3 => {
9836 marker = cursor;
9837 yych = unsafe {
9838 if cursor < len {
9839 *s.as_bytes().get_unchecked(cursor)
9840 } else {
9841 255
9842 }
9843 };
9844 match yych {
9845 0x21
9846 | 0x23..=0x27
9847 | 0x2A..=0x2B
9848 | 0x2D..=0x39
9849 | 0x3D
9850 | 0x3F..=0x5A
9851 | 0x5E..=0x7E => {
9852 yystate = 5;
9853 continue 'yyl;
9854 }
9855 _ => {
9856 yystate = 2;
9857 continue 'yyl;
9858 }
9859 }
9860 }
9861 4 => {
9862 yych = unsafe {
9863 if cursor < len {
9864 *s.as_bytes().get_unchecked(cursor)
9865 } else {
9866 255
9867 }
9868 };
9869 yystate = 5;
9870 continue 'yyl;
9871 }
9872 5 => match yych {
9873 0x21
9874 | 0x23..=0x27
9875 | 0x2A..=0x2B
9876 | 0x2D..=0x39
9877 | 0x3D
9878 | 0x3F
9879 | 0x41..=0x5A
9880 | 0x5E..=0x7E => {
9881 cursor += 1;
9882 yystate = 4;
9883 continue 'yyl;
9884 }
9885 0x40 => {
9886 cursor += 1;
9887 yystate = 7;
9888 continue 'yyl;
9889 }
9890 _ => {
9891 yystate = 6;
9892 continue 'yyl;
9893 }
9894 },
9895 6 => {
9896 cursor = marker;
9897 yystate = 2;
9898 continue 'yyl;
9899 }
9900 7 => {
9901 yych = unsafe {
9902 if cursor < len {
9903 *s.as_bytes().get_unchecked(cursor)
9904 } else {
9905 255
9906 }
9907 };
9908 match yych {
9909 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9910 cursor += 1;
9911 yystate = 8;
9912 continue 'yyl;
9913 }
9914 _ => {
9915 yystate = 6;
9916 continue 'yyl;
9917 }
9918 }
9919 }
9920 8 => {
9921 yych = unsafe {
9922 if cursor < len {
9923 *s.as_bytes().get_unchecked(cursor)
9924 } else {
9925 255
9926 }
9927 };
9928 match yych {
9929 0x2D => {
9930 cursor += 1;
9931 yystate = 9;
9932 continue 'yyl;
9933 }
9934 0x2E => {
9935 cursor += 1;
9936 yystate = 7;
9937 continue 'yyl;
9938 }
9939 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9940 cursor += 1;
9941 yystate = 10;
9942 continue 'yyl;
9943 }
9944 0x3E => {
9945 cursor += 1;
9946 yystate = 11;
9947 continue 'yyl;
9948 }
9949 _ => {
9950 yystate = 6;
9951 continue 'yyl;
9952 }
9953 }
9954 }
9955 9 => {
9956 yych = unsafe {
9957 if cursor < len {
9958 *s.as_bytes().get_unchecked(cursor)
9959 } else {
9960 255
9961 }
9962 };
9963 match yych {
9964 0x2D => {
9965 cursor += 1;
9966 yystate = 12;
9967 continue 'yyl;
9968 }
9969 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
9970 cursor += 1;
9971 yystate = 13;
9972 continue 'yyl;
9973 }
9974 _ => {
9975 yystate = 6;
9976 continue 'yyl;
9977 }
9978 }
9979 }
9980 10 => {
9981 yych = unsafe {
9982 if cursor < len {
9983 *s.as_bytes().get_unchecked(cursor)
9984 } else {
9985 255
9986 }
9987 };
9988 match yych {
9989 0x2D => {
9990 cursor += 1;
9991 yystate = 12;
9992 continue 'yyl;
9993 }
9994 0x2E => {
9995 cursor += 1;
9996 yystate = 7;
9997 continue 'yyl;
9998 }
9999 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10000 cursor += 1;
10001 yystate = 13;
10002 continue 'yyl;
10003 }
10004 0x3E => {
10005 cursor += 1;
10006 yystate = 11;
10007 continue 'yyl;
10008 }
10009 _ => {
10010 yystate = 6;
10011 continue 'yyl;
10012 }
10013 }
10014 }
10015 11 => {
10016 return Some(cursor);
10017 }
10018 12 => {
10019 yych = unsafe {
10020 if cursor < len {
10021 *s.as_bytes().get_unchecked(cursor)
10022 } else {
10023 255
10024 }
10025 };
10026 match yych {
10027 0x2D => {
10028 cursor += 1;
10029 yystate = 14;
10030 continue 'yyl;
10031 }
10032 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10033 cursor += 1;
10034 yystate = 15;
10035 continue 'yyl;
10036 }
10037 _ => {
10038 yystate = 6;
10039 continue 'yyl;
10040 }
10041 }
10042 }
10043 13 => {
10044 yych = unsafe {
10045 if cursor < len {
10046 *s.as_bytes().get_unchecked(cursor)
10047 } else {
10048 255
10049 }
10050 };
10051 match yych {
10052 0x2D => {
10053 cursor += 1;
10054 yystate = 14;
10055 continue 'yyl;
10056 }
10057 0x2E => {
10058 cursor += 1;
10059 yystate = 7;
10060 continue 'yyl;
10061 }
10062 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10063 cursor += 1;
10064 yystate = 15;
10065 continue 'yyl;
10066 }
10067 0x3E => {
10068 cursor += 1;
10069 yystate = 11;
10070 continue 'yyl;
10071 }
10072 _ => {
10073 yystate = 6;
10074 continue 'yyl;
10075 }
10076 }
10077 }
10078 14 => {
10079 yych = unsafe {
10080 if cursor < len {
10081 *s.as_bytes().get_unchecked(cursor)
10082 } else {
10083 255
10084 }
10085 };
10086 match yych {
10087 0x2D => {
10088 cursor += 1;
10089 yystate = 16;
10090 continue 'yyl;
10091 }
10092 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10093 cursor += 1;
10094 yystate = 17;
10095 continue 'yyl;
10096 }
10097 _ => {
10098 yystate = 6;
10099 continue 'yyl;
10100 }
10101 }
10102 }
10103 15 => {
10104 yych = unsafe {
10105 if cursor < len {
10106 *s.as_bytes().get_unchecked(cursor)
10107 } else {
10108 255
10109 }
10110 };
10111 match yych {
10112 0x2D => {
10113 cursor += 1;
10114 yystate = 16;
10115 continue 'yyl;
10116 }
10117 0x2E => {
10118 cursor += 1;
10119 yystate = 7;
10120 continue 'yyl;
10121 }
10122 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10123 cursor += 1;
10124 yystate = 17;
10125 continue 'yyl;
10126 }
10127 0x3E => {
10128 cursor += 1;
10129 yystate = 11;
10130 continue 'yyl;
10131 }
10132 _ => {
10133 yystate = 6;
10134 continue 'yyl;
10135 }
10136 }
10137 }
10138 16 => {
10139 yych = unsafe {
10140 if cursor < len {
10141 *s.as_bytes().get_unchecked(cursor)
10142 } else {
10143 255
10144 }
10145 };
10146 match yych {
10147 0x2D => {
10148 cursor += 1;
10149 yystate = 18;
10150 continue 'yyl;
10151 }
10152 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10153 cursor += 1;
10154 yystate = 19;
10155 continue 'yyl;
10156 }
10157 _ => {
10158 yystate = 6;
10159 continue 'yyl;
10160 }
10161 }
10162 }
10163 17 => {
10164 yych = unsafe {
10165 if cursor < len {
10166 *s.as_bytes().get_unchecked(cursor)
10167 } else {
10168 255
10169 }
10170 };
10171 match yych {
10172 0x2D => {
10173 cursor += 1;
10174 yystate = 18;
10175 continue 'yyl;
10176 }
10177 0x2E => {
10178 cursor += 1;
10179 yystate = 7;
10180 continue 'yyl;
10181 }
10182 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10183 cursor += 1;
10184 yystate = 19;
10185 continue 'yyl;
10186 }
10187 0x3E => {
10188 cursor += 1;
10189 yystate = 11;
10190 continue 'yyl;
10191 }
10192 _ => {
10193 yystate = 6;
10194 continue 'yyl;
10195 }
10196 }
10197 }
10198 18 => {
10199 yych = unsafe {
10200 if cursor < len {
10201 *s.as_bytes().get_unchecked(cursor)
10202 } else {
10203 255
10204 }
10205 };
10206 match yych {
10207 0x2D => {
10208 cursor += 1;
10209 yystate = 20;
10210 continue 'yyl;
10211 }
10212 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10213 cursor += 1;
10214 yystate = 21;
10215 continue 'yyl;
10216 }
10217 _ => {
10218 yystate = 6;
10219 continue 'yyl;
10220 }
10221 }
10222 }
10223 19 => {
10224 yych = unsafe {
10225 if cursor < len {
10226 *s.as_bytes().get_unchecked(cursor)
10227 } else {
10228 255
10229 }
10230 };
10231 match yych {
10232 0x2D => {
10233 cursor += 1;
10234 yystate = 20;
10235 continue 'yyl;
10236 }
10237 0x2E => {
10238 cursor += 1;
10239 yystate = 7;
10240 continue 'yyl;
10241 }
10242 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10243 cursor += 1;
10244 yystate = 21;
10245 continue 'yyl;
10246 }
10247 0x3E => {
10248 cursor += 1;
10249 yystate = 11;
10250 continue 'yyl;
10251 }
10252 _ => {
10253 yystate = 6;
10254 continue 'yyl;
10255 }
10256 }
10257 }
10258 20 => {
10259 yych = unsafe {
10260 if cursor < len {
10261 *s.as_bytes().get_unchecked(cursor)
10262 } else {
10263 255
10264 }
10265 };
10266 match yych {
10267 0x2D => {
10268 cursor += 1;
10269 yystate = 22;
10270 continue 'yyl;
10271 }
10272 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10273 cursor += 1;
10274 yystate = 23;
10275 continue 'yyl;
10276 }
10277 _ => {
10278 yystate = 6;
10279 continue 'yyl;
10280 }
10281 }
10282 }
10283 21 => {
10284 yych = unsafe {
10285 if cursor < len {
10286 *s.as_bytes().get_unchecked(cursor)
10287 } else {
10288 255
10289 }
10290 };
10291 match yych {
10292 0x2D => {
10293 cursor += 1;
10294 yystate = 22;
10295 continue 'yyl;
10296 }
10297 0x2E => {
10298 cursor += 1;
10299 yystate = 7;
10300 continue 'yyl;
10301 }
10302 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10303 cursor += 1;
10304 yystate = 23;
10305 continue 'yyl;
10306 }
10307 0x3E => {
10308 cursor += 1;
10309 yystate = 11;
10310 continue 'yyl;
10311 }
10312 _ => {
10313 yystate = 6;
10314 continue 'yyl;
10315 }
10316 }
10317 }
10318 22 => {
10319 yych = unsafe {
10320 if cursor < len {
10321 *s.as_bytes().get_unchecked(cursor)
10322 } else {
10323 255
10324 }
10325 };
10326 match yych {
10327 0x2D => {
10328 cursor += 1;
10329 yystate = 24;
10330 continue 'yyl;
10331 }
10332 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10333 cursor += 1;
10334 yystate = 25;
10335 continue 'yyl;
10336 }
10337 _ => {
10338 yystate = 6;
10339 continue 'yyl;
10340 }
10341 }
10342 }
10343 23 => {
10344 yych = unsafe {
10345 if cursor < len {
10346 *s.as_bytes().get_unchecked(cursor)
10347 } else {
10348 255
10349 }
10350 };
10351 match yych {
10352 0x2D => {
10353 cursor += 1;
10354 yystate = 24;
10355 continue 'yyl;
10356 }
10357 0x2E => {
10358 cursor += 1;
10359 yystate = 7;
10360 continue 'yyl;
10361 }
10362 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10363 cursor += 1;
10364 yystate = 25;
10365 continue 'yyl;
10366 }
10367 0x3E => {
10368 cursor += 1;
10369 yystate = 11;
10370 continue 'yyl;
10371 }
10372 _ => {
10373 yystate = 6;
10374 continue 'yyl;
10375 }
10376 }
10377 }
10378 24 => {
10379 yych = unsafe {
10380 if cursor < len {
10381 *s.as_bytes().get_unchecked(cursor)
10382 } else {
10383 255
10384 }
10385 };
10386 match yych {
10387 0x2D => {
10388 cursor += 1;
10389 yystate = 26;
10390 continue 'yyl;
10391 }
10392 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10393 cursor += 1;
10394 yystate = 27;
10395 continue 'yyl;
10396 }
10397 _ => {
10398 yystate = 6;
10399 continue 'yyl;
10400 }
10401 }
10402 }
10403 25 => {
10404 yych = unsafe {
10405 if cursor < len {
10406 *s.as_bytes().get_unchecked(cursor)
10407 } else {
10408 255
10409 }
10410 };
10411 match yych {
10412 0x2D => {
10413 cursor += 1;
10414 yystate = 26;
10415 continue 'yyl;
10416 }
10417 0x2E => {
10418 cursor += 1;
10419 yystate = 7;
10420 continue 'yyl;
10421 }
10422 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10423 cursor += 1;
10424 yystate = 27;
10425 continue 'yyl;
10426 }
10427 0x3E => {
10428 cursor += 1;
10429 yystate = 11;
10430 continue 'yyl;
10431 }
10432 _ => {
10433 yystate = 6;
10434 continue 'yyl;
10435 }
10436 }
10437 }
10438 26 => {
10439 yych = unsafe {
10440 if cursor < len {
10441 *s.as_bytes().get_unchecked(cursor)
10442 } else {
10443 255
10444 }
10445 };
10446 match yych {
10447 0x2D => {
10448 cursor += 1;
10449 yystate = 28;
10450 continue 'yyl;
10451 }
10452 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10453 cursor += 1;
10454 yystate = 29;
10455 continue 'yyl;
10456 }
10457 _ => {
10458 yystate = 6;
10459 continue 'yyl;
10460 }
10461 }
10462 }
10463 27 => {
10464 yych = unsafe {
10465 if cursor < len {
10466 *s.as_bytes().get_unchecked(cursor)
10467 } else {
10468 255
10469 }
10470 };
10471 match yych {
10472 0x2D => {
10473 cursor += 1;
10474 yystate = 28;
10475 continue 'yyl;
10476 }
10477 0x2E => {
10478 cursor += 1;
10479 yystate = 7;
10480 continue 'yyl;
10481 }
10482 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10483 cursor += 1;
10484 yystate = 29;
10485 continue 'yyl;
10486 }
10487 0x3E => {
10488 cursor += 1;
10489 yystate = 11;
10490 continue 'yyl;
10491 }
10492 _ => {
10493 yystate = 6;
10494 continue 'yyl;
10495 }
10496 }
10497 }
10498 28 => {
10499 yych = unsafe {
10500 if cursor < len {
10501 *s.as_bytes().get_unchecked(cursor)
10502 } else {
10503 255
10504 }
10505 };
10506 match yych {
10507 0x2D => {
10508 cursor += 1;
10509 yystate = 30;
10510 continue 'yyl;
10511 }
10512 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10513 cursor += 1;
10514 yystate = 31;
10515 continue 'yyl;
10516 }
10517 _ => {
10518 yystate = 6;
10519 continue 'yyl;
10520 }
10521 }
10522 }
10523 29 => {
10524 yych = unsafe {
10525 if cursor < len {
10526 *s.as_bytes().get_unchecked(cursor)
10527 } else {
10528 255
10529 }
10530 };
10531 match yych {
10532 0x2D => {
10533 cursor += 1;
10534 yystate = 30;
10535 continue 'yyl;
10536 }
10537 0x2E => {
10538 cursor += 1;
10539 yystate = 7;
10540 continue 'yyl;
10541 }
10542 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10543 cursor += 1;
10544 yystate = 31;
10545 continue 'yyl;
10546 }
10547 0x3E => {
10548 cursor += 1;
10549 yystate = 11;
10550 continue 'yyl;
10551 }
10552 _ => {
10553 yystate = 6;
10554 continue 'yyl;
10555 }
10556 }
10557 }
10558 30 => {
10559 yych = unsafe {
10560 if cursor < len {
10561 *s.as_bytes().get_unchecked(cursor)
10562 } else {
10563 255
10564 }
10565 };
10566 match yych {
10567 0x2D => {
10568 cursor += 1;
10569 yystate = 32;
10570 continue 'yyl;
10571 }
10572 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10573 cursor += 1;
10574 yystate = 33;
10575 continue 'yyl;
10576 }
10577 _ => {
10578 yystate = 6;
10579 continue 'yyl;
10580 }
10581 }
10582 }
10583 31 => {
10584 yych = unsafe {
10585 if cursor < len {
10586 *s.as_bytes().get_unchecked(cursor)
10587 } else {
10588 255
10589 }
10590 };
10591 match yych {
10592 0x2D => {
10593 cursor += 1;
10594 yystate = 32;
10595 continue 'yyl;
10596 }
10597 0x2E => {
10598 cursor += 1;
10599 yystate = 7;
10600 continue 'yyl;
10601 }
10602 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10603 cursor += 1;
10604 yystate = 33;
10605 continue 'yyl;
10606 }
10607 0x3E => {
10608 cursor += 1;
10609 yystate = 11;
10610 continue 'yyl;
10611 }
10612 _ => {
10613 yystate = 6;
10614 continue 'yyl;
10615 }
10616 }
10617 }
10618 32 => {
10619 yych = unsafe {
10620 if cursor < len {
10621 *s.as_bytes().get_unchecked(cursor)
10622 } else {
10623 255
10624 }
10625 };
10626 match yych {
10627 0x2D => {
10628 cursor += 1;
10629 yystate = 34;
10630 continue 'yyl;
10631 }
10632 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10633 cursor += 1;
10634 yystate = 35;
10635 continue 'yyl;
10636 }
10637 _ => {
10638 yystate = 6;
10639 continue 'yyl;
10640 }
10641 }
10642 }
10643 33 => {
10644 yych = unsafe {
10645 if cursor < len {
10646 *s.as_bytes().get_unchecked(cursor)
10647 } else {
10648 255
10649 }
10650 };
10651 match yych {
10652 0x2D => {
10653 cursor += 1;
10654 yystate = 34;
10655 continue 'yyl;
10656 }
10657 0x2E => {
10658 cursor += 1;
10659 yystate = 7;
10660 continue 'yyl;
10661 }
10662 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10663 cursor += 1;
10664 yystate = 35;
10665 continue 'yyl;
10666 }
10667 0x3E => {
10668 cursor += 1;
10669 yystate = 11;
10670 continue 'yyl;
10671 }
10672 _ => {
10673 yystate = 6;
10674 continue 'yyl;
10675 }
10676 }
10677 }
10678 34 => {
10679 yych = unsafe {
10680 if cursor < len {
10681 *s.as_bytes().get_unchecked(cursor)
10682 } else {
10683 255
10684 }
10685 };
10686 match yych {
10687 0x2D => {
10688 cursor += 1;
10689 yystate = 36;
10690 continue 'yyl;
10691 }
10692 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10693 cursor += 1;
10694 yystate = 37;
10695 continue 'yyl;
10696 }
10697 _ => {
10698 yystate = 6;
10699 continue 'yyl;
10700 }
10701 }
10702 }
10703 35 => {
10704 yych = unsafe {
10705 if cursor < len {
10706 *s.as_bytes().get_unchecked(cursor)
10707 } else {
10708 255
10709 }
10710 };
10711 match yych {
10712 0x2D => {
10713 cursor += 1;
10714 yystate = 36;
10715 continue 'yyl;
10716 }
10717 0x2E => {
10718 cursor += 1;
10719 yystate = 7;
10720 continue 'yyl;
10721 }
10722 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10723 cursor += 1;
10724 yystate = 37;
10725 continue 'yyl;
10726 }
10727 0x3E => {
10728 cursor += 1;
10729 yystate = 11;
10730 continue 'yyl;
10731 }
10732 _ => {
10733 yystate = 6;
10734 continue 'yyl;
10735 }
10736 }
10737 }
10738 36 => {
10739 yych = unsafe {
10740 if cursor < len {
10741 *s.as_bytes().get_unchecked(cursor)
10742 } else {
10743 255
10744 }
10745 };
10746 match yych {
10747 0x2D => {
10748 cursor += 1;
10749 yystate = 38;
10750 continue 'yyl;
10751 }
10752 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10753 cursor += 1;
10754 yystate = 39;
10755 continue 'yyl;
10756 }
10757 _ => {
10758 yystate = 6;
10759 continue 'yyl;
10760 }
10761 }
10762 }
10763 37 => {
10764 yych = unsafe {
10765 if cursor < len {
10766 *s.as_bytes().get_unchecked(cursor)
10767 } else {
10768 255
10769 }
10770 };
10771 match yych {
10772 0x2D => {
10773 cursor += 1;
10774 yystate = 38;
10775 continue 'yyl;
10776 }
10777 0x2E => {
10778 cursor += 1;
10779 yystate = 7;
10780 continue 'yyl;
10781 }
10782 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10783 cursor += 1;
10784 yystate = 39;
10785 continue 'yyl;
10786 }
10787 0x3E => {
10788 cursor += 1;
10789 yystate = 11;
10790 continue 'yyl;
10791 }
10792 _ => {
10793 yystate = 6;
10794 continue 'yyl;
10795 }
10796 }
10797 }
10798 38 => {
10799 yych = unsafe {
10800 if cursor < len {
10801 *s.as_bytes().get_unchecked(cursor)
10802 } else {
10803 255
10804 }
10805 };
10806 match yych {
10807 0x2D => {
10808 cursor += 1;
10809 yystate = 40;
10810 continue 'yyl;
10811 }
10812 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10813 cursor += 1;
10814 yystate = 41;
10815 continue 'yyl;
10816 }
10817 _ => {
10818 yystate = 6;
10819 continue 'yyl;
10820 }
10821 }
10822 }
10823 39 => {
10824 yych = unsafe {
10825 if cursor < len {
10826 *s.as_bytes().get_unchecked(cursor)
10827 } else {
10828 255
10829 }
10830 };
10831 match yych {
10832 0x2D => {
10833 cursor += 1;
10834 yystate = 40;
10835 continue 'yyl;
10836 }
10837 0x2E => {
10838 cursor += 1;
10839 yystate = 7;
10840 continue 'yyl;
10841 }
10842 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10843 cursor += 1;
10844 yystate = 41;
10845 continue 'yyl;
10846 }
10847 0x3E => {
10848 cursor += 1;
10849 yystate = 11;
10850 continue 'yyl;
10851 }
10852 _ => {
10853 yystate = 6;
10854 continue 'yyl;
10855 }
10856 }
10857 }
10858 40 => {
10859 yych = unsafe {
10860 if cursor < len {
10861 *s.as_bytes().get_unchecked(cursor)
10862 } else {
10863 255
10864 }
10865 };
10866 match yych {
10867 0x2D => {
10868 cursor += 1;
10869 yystate = 42;
10870 continue 'yyl;
10871 }
10872 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10873 cursor += 1;
10874 yystate = 43;
10875 continue 'yyl;
10876 }
10877 _ => {
10878 yystate = 6;
10879 continue 'yyl;
10880 }
10881 }
10882 }
10883 41 => {
10884 yych = unsafe {
10885 if cursor < len {
10886 *s.as_bytes().get_unchecked(cursor)
10887 } else {
10888 255
10889 }
10890 };
10891 match yych {
10892 0x2D => {
10893 cursor += 1;
10894 yystate = 42;
10895 continue 'yyl;
10896 }
10897 0x2E => {
10898 cursor += 1;
10899 yystate = 7;
10900 continue 'yyl;
10901 }
10902 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10903 cursor += 1;
10904 yystate = 43;
10905 continue 'yyl;
10906 }
10907 0x3E => {
10908 cursor += 1;
10909 yystate = 11;
10910 continue 'yyl;
10911 }
10912 _ => {
10913 yystate = 6;
10914 continue 'yyl;
10915 }
10916 }
10917 }
10918 42 => {
10919 yych = unsafe {
10920 if cursor < len {
10921 *s.as_bytes().get_unchecked(cursor)
10922 } else {
10923 255
10924 }
10925 };
10926 match yych {
10927 0x2D => {
10928 cursor += 1;
10929 yystate = 44;
10930 continue 'yyl;
10931 }
10932 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10933 cursor += 1;
10934 yystate = 45;
10935 continue 'yyl;
10936 }
10937 _ => {
10938 yystate = 6;
10939 continue 'yyl;
10940 }
10941 }
10942 }
10943 43 => {
10944 yych = unsafe {
10945 if cursor < len {
10946 *s.as_bytes().get_unchecked(cursor)
10947 } else {
10948 255
10949 }
10950 };
10951 match yych {
10952 0x2D => {
10953 cursor += 1;
10954 yystate = 44;
10955 continue 'yyl;
10956 }
10957 0x2E => {
10958 cursor += 1;
10959 yystate = 7;
10960 continue 'yyl;
10961 }
10962 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10963 cursor += 1;
10964 yystate = 45;
10965 continue 'yyl;
10966 }
10967 0x3E => {
10968 cursor += 1;
10969 yystate = 11;
10970 continue 'yyl;
10971 }
10972 _ => {
10973 yystate = 6;
10974 continue 'yyl;
10975 }
10976 }
10977 }
10978 44 => {
10979 yych = unsafe {
10980 if cursor < len {
10981 *s.as_bytes().get_unchecked(cursor)
10982 } else {
10983 255
10984 }
10985 };
10986 match yych {
10987 0x2D => {
10988 cursor += 1;
10989 yystate = 46;
10990 continue 'yyl;
10991 }
10992 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
10993 cursor += 1;
10994 yystate = 47;
10995 continue 'yyl;
10996 }
10997 _ => {
10998 yystate = 6;
10999 continue 'yyl;
11000 }
11001 }
11002 }
11003 45 => {
11004 yych = unsafe {
11005 if cursor < len {
11006 *s.as_bytes().get_unchecked(cursor)
11007 } else {
11008 255
11009 }
11010 };
11011 match yych {
11012 0x2D => {
11013 cursor += 1;
11014 yystate = 46;
11015 continue 'yyl;
11016 }
11017 0x2E => {
11018 cursor += 1;
11019 yystate = 7;
11020 continue 'yyl;
11021 }
11022 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11023 cursor += 1;
11024 yystate = 47;
11025 continue 'yyl;
11026 }
11027 0x3E => {
11028 cursor += 1;
11029 yystate = 11;
11030 continue 'yyl;
11031 }
11032 _ => {
11033 yystate = 6;
11034 continue 'yyl;
11035 }
11036 }
11037 }
11038 46 => {
11039 yych = unsafe {
11040 if cursor < len {
11041 *s.as_bytes().get_unchecked(cursor)
11042 } else {
11043 255
11044 }
11045 };
11046 match yych {
11047 0x2D => {
11048 cursor += 1;
11049 yystate = 48;
11050 continue 'yyl;
11051 }
11052 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11053 cursor += 1;
11054 yystate = 49;
11055 continue 'yyl;
11056 }
11057 _ => {
11058 yystate = 6;
11059 continue 'yyl;
11060 }
11061 }
11062 }
11063 47 => {
11064 yych = unsafe {
11065 if cursor < len {
11066 *s.as_bytes().get_unchecked(cursor)
11067 } else {
11068 255
11069 }
11070 };
11071 match yych {
11072 0x2D => {
11073 cursor += 1;
11074 yystate = 48;
11075 continue 'yyl;
11076 }
11077 0x2E => {
11078 cursor += 1;
11079 yystate = 7;
11080 continue 'yyl;
11081 }
11082 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11083 cursor += 1;
11084 yystate = 49;
11085 continue 'yyl;
11086 }
11087 0x3E => {
11088 cursor += 1;
11089 yystate = 11;
11090 continue 'yyl;
11091 }
11092 _ => {
11093 yystate = 6;
11094 continue 'yyl;
11095 }
11096 }
11097 }
11098 48 => {
11099 yych = unsafe {
11100 if cursor < len {
11101 *s.as_bytes().get_unchecked(cursor)
11102 } else {
11103 255
11104 }
11105 };
11106 match yych {
11107 0x2D => {
11108 cursor += 1;
11109 yystate = 50;
11110 continue 'yyl;
11111 }
11112 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11113 cursor += 1;
11114 yystate = 51;
11115 continue 'yyl;
11116 }
11117 _ => {
11118 yystate = 6;
11119 continue 'yyl;
11120 }
11121 }
11122 }
11123 49 => {
11124 yych = unsafe {
11125 if cursor < len {
11126 *s.as_bytes().get_unchecked(cursor)
11127 } else {
11128 255
11129 }
11130 };
11131 match yych {
11132 0x2D => {
11133 cursor += 1;
11134 yystate = 50;
11135 continue 'yyl;
11136 }
11137 0x2E => {
11138 cursor += 1;
11139 yystate = 7;
11140 continue 'yyl;
11141 }
11142 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11143 cursor += 1;
11144 yystate = 51;
11145 continue 'yyl;
11146 }
11147 0x3E => {
11148 cursor += 1;
11149 yystate = 11;
11150 continue 'yyl;
11151 }
11152 _ => {
11153 yystate = 6;
11154 continue 'yyl;
11155 }
11156 }
11157 }
11158 50 => {
11159 yych = unsafe {
11160 if cursor < len {
11161 *s.as_bytes().get_unchecked(cursor)
11162 } else {
11163 255
11164 }
11165 };
11166 match yych {
11167 0x2D => {
11168 cursor += 1;
11169 yystate = 52;
11170 continue 'yyl;
11171 }
11172 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11173 cursor += 1;
11174 yystate = 53;
11175 continue 'yyl;
11176 }
11177 _ => {
11178 yystate = 6;
11179 continue 'yyl;
11180 }
11181 }
11182 }
11183 51 => {
11184 yych = unsafe {
11185 if cursor < len {
11186 *s.as_bytes().get_unchecked(cursor)
11187 } else {
11188 255
11189 }
11190 };
11191 match yych {
11192 0x2D => {
11193 cursor += 1;
11194 yystate = 52;
11195 continue 'yyl;
11196 }
11197 0x2E => {
11198 cursor += 1;
11199 yystate = 7;
11200 continue 'yyl;
11201 }
11202 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11203 cursor += 1;
11204 yystate = 53;
11205 continue 'yyl;
11206 }
11207 0x3E => {
11208 cursor += 1;
11209 yystate = 11;
11210 continue 'yyl;
11211 }
11212 _ => {
11213 yystate = 6;
11214 continue 'yyl;
11215 }
11216 }
11217 }
11218 52 => {
11219 yych = unsafe {
11220 if cursor < len {
11221 *s.as_bytes().get_unchecked(cursor)
11222 } else {
11223 255
11224 }
11225 };
11226 match yych {
11227 0x2D => {
11228 cursor += 1;
11229 yystate = 54;
11230 continue 'yyl;
11231 }
11232 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11233 cursor += 1;
11234 yystate = 55;
11235 continue 'yyl;
11236 }
11237 _ => {
11238 yystate = 6;
11239 continue 'yyl;
11240 }
11241 }
11242 }
11243 53 => {
11244 yych = unsafe {
11245 if cursor < len {
11246 *s.as_bytes().get_unchecked(cursor)
11247 } else {
11248 255
11249 }
11250 };
11251 match yych {
11252 0x2D => {
11253 cursor += 1;
11254 yystate = 54;
11255 continue 'yyl;
11256 }
11257 0x2E => {
11258 cursor += 1;
11259 yystate = 7;
11260 continue 'yyl;
11261 }
11262 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11263 cursor += 1;
11264 yystate = 55;
11265 continue 'yyl;
11266 }
11267 0x3E => {
11268 cursor += 1;
11269 yystate = 11;
11270 continue 'yyl;
11271 }
11272 _ => {
11273 yystate = 6;
11274 continue 'yyl;
11275 }
11276 }
11277 }
11278 54 => {
11279 yych = unsafe {
11280 if cursor < len {
11281 *s.as_bytes().get_unchecked(cursor)
11282 } else {
11283 255
11284 }
11285 };
11286 match yych {
11287 0x2D => {
11288 cursor += 1;
11289 yystate = 56;
11290 continue 'yyl;
11291 }
11292 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11293 cursor += 1;
11294 yystate = 57;
11295 continue 'yyl;
11296 }
11297 _ => {
11298 yystate = 6;
11299 continue 'yyl;
11300 }
11301 }
11302 }
11303 55 => {
11304 yych = unsafe {
11305 if cursor < len {
11306 *s.as_bytes().get_unchecked(cursor)
11307 } else {
11308 255
11309 }
11310 };
11311 match yych {
11312 0x2D => {
11313 cursor += 1;
11314 yystate = 56;
11315 continue 'yyl;
11316 }
11317 0x2E => {
11318 cursor += 1;
11319 yystate = 7;
11320 continue 'yyl;
11321 }
11322 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11323 cursor += 1;
11324 yystate = 57;
11325 continue 'yyl;
11326 }
11327 0x3E => {
11328 cursor += 1;
11329 yystate = 11;
11330 continue 'yyl;
11331 }
11332 _ => {
11333 yystate = 6;
11334 continue 'yyl;
11335 }
11336 }
11337 }
11338 56 => {
11339 yych = unsafe {
11340 if cursor < len {
11341 *s.as_bytes().get_unchecked(cursor)
11342 } else {
11343 255
11344 }
11345 };
11346 match yych {
11347 0x2D => {
11348 cursor += 1;
11349 yystate = 58;
11350 continue 'yyl;
11351 }
11352 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11353 cursor += 1;
11354 yystate = 59;
11355 continue 'yyl;
11356 }
11357 _ => {
11358 yystate = 6;
11359 continue 'yyl;
11360 }
11361 }
11362 }
11363 57 => {
11364 yych = unsafe {
11365 if cursor < len {
11366 *s.as_bytes().get_unchecked(cursor)
11367 } else {
11368 255
11369 }
11370 };
11371 match yych {
11372 0x2D => {
11373 cursor += 1;
11374 yystate = 58;
11375 continue 'yyl;
11376 }
11377 0x2E => {
11378 cursor += 1;
11379 yystate = 7;
11380 continue 'yyl;
11381 }
11382 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11383 cursor += 1;
11384 yystate = 59;
11385 continue 'yyl;
11386 }
11387 0x3E => {
11388 cursor += 1;
11389 yystate = 11;
11390 continue 'yyl;
11391 }
11392 _ => {
11393 yystate = 6;
11394 continue 'yyl;
11395 }
11396 }
11397 }
11398 58 => {
11399 yych = unsafe {
11400 if cursor < len {
11401 *s.as_bytes().get_unchecked(cursor)
11402 } else {
11403 255
11404 }
11405 };
11406 match yych {
11407 0x2D => {
11408 cursor += 1;
11409 yystate = 60;
11410 continue 'yyl;
11411 }
11412 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11413 cursor += 1;
11414 yystate = 61;
11415 continue 'yyl;
11416 }
11417 _ => {
11418 yystate = 6;
11419 continue 'yyl;
11420 }
11421 }
11422 }
11423 59 => {
11424 yych = unsafe {
11425 if cursor < len {
11426 *s.as_bytes().get_unchecked(cursor)
11427 } else {
11428 255
11429 }
11430 };
11431 match yych {
11432 0x2D => {
11433 cursor += 1;
11434 yystate = 60;
11435 continue 'yyl;
11436 }
11437 0x2E => {
11438 cursor += 1;
11439 yystate = 7;
11440 continue 'yyl;
11441 }
11442 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11443 cursor += 1;
11444 yystate = 61;
11445 continue 'yyl;
11446 }
11447 0x3E => {
11448 cursor += 1;
11449 yystate = 11;
11450 continue 'yyl;
11451 }
11452 _ => {
11453 yystate = 6;
11454 continue 'yyl;
11455 }
11456 }
11457 }
11458 60 => {
11459 yych = unsafe {
11460 if cursor < len {
11461 *s.as_bytes().get_unchecked(cursor)
11462 } else {
11463 255
11464 }
11465 };
11466 match yych {
11467 0x2D => {
11468 cursor += 1;
11469 yystate = 62;
11470 continue 'yyl;
11471 }
11472 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11473 cursor += 1;
11474 yystate = 63;
11475 continue 'yyl;
11476 }
11477 _ => {
11478 yystate = 6;
11479 continue 'yyl;
11480 }
11481 }
11482 }
11483 61 => {
11484 yych = unsafe {
11485 if cursor < len {
11486 *s.as_bytes().get_unchecked(cursor)
11487 } else {
11488 255
11489 }
11490 };
11491 match yych {
11492 0x2D => {
11493 cursor += 1;
11494 yystate = 62;
11495 continue 'yyl;
11496 }
11497 0x2E => {
11498 cursor += 1;
11499 yystate = 7;
11500 continue 'yyl;
11501 }
11502 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11503 cursor += 1;
11504 yystate = 63;
11505 continue 'yyl;
11506 }
11507 0x3E => {
11508 cursor += 1;
11509 yystate = 11;
11510 continue 'yyl;
11511 }
11512 _ => {
11513 yystate = 6;
11514 continue 'yyl;
11515 }
11516 }
11517 }
11518 62 => {
11519 yych = unsafe {
11520 if cursor < len {
11521 *s.as_bytes().get_unchecked(cursor)
11522 } else {
11523 255
11524 }
11525 };
11526 match yych {
11527 0x2D => {
11528 cursor += 1;
11529 yystate = 64;
11530 continue 'yyl;
11531 }
11532 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11533 cursor += 1;
11534 yystate = 65;
11535 continue 'yyl;
11536 }
11537 _ => {
11538 yystate = 6;
11539 continue 'yyl;
11540 }
11541 }
11542 }
11543 63 => {
11544 yych = unsafe {
11545 if cursor < len {
11546 *s.as_bytes().get_unchecked(cursor)
11547 } else {
11548 255
11549 }
11550 };
11551 match yych {
11552 0x2D => {
11553 cursor += 1;
11554 yystate = 64;
11555 continue 'yyl;
11556 }
11557 0x2E => {
11558 cursor += 1;
11559 yystate = 7;
11560 continue 'yyl;
11561 }
11562 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11563 cursor += 1;
11564 yystate = 65;
11565 continue 'yyl;
11566 }
11567 0x3E => {
11568 cursor += 1;
11569 yystate = 11;
11570 continue 'yyl;
11571 }
11572 _ => {
11573 yystate = 6;
11574 continue 'yyl;
11575 }
11576 }
11577 }
11578 64 => {
11579 yych = unsafe {
11580 if cursor < len {
11581 *s.as_bytes().get_unchecked(cursor)
11582 } else {
11583 255
11584 }
11585 };
11586 match yych {
11587 0x2D => {
11588 cursor += 1;
11589 yystate = 66;
11590 continue 'yyl;
11591 }
11592 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11593 cursor += 1;
11594 yystate = 67;
11595 continue 'yyl;
11596 }
11597 _ => {
11598 yystate = 6;
11599 continue 'yyl;
11600 }
11601 }
11602 }
11603 65 => {
11604 yych = unsafe {
11605 if cursor < len {
11606 *s.as_bytes().get_unchecked(cursor)
11607 } else {
11608 255
11609 }
11610 };
11611 match yych {
11612 0x2D => {
11613 cursor += 1;
11614 yystate = 66;
11615 continue 'yyl;
11616 }
11617 0x2E => {
11618 cursor += 1;
11619 yystate = 7;
11620 continue 'yyl;
11621 }
11622 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11623 cursor += 1;
11624 yystate = 67;
11625 continue 'yyl;
11626 }
11627 0x3E => {
11628 cursor += 1;
11629 yystate = 11;
11630 continue 'yyl;
11631 }
11632 _ => {
11633 yystate = 6;
11634 continue 'yyl;
11635 }
11636 }
11637 }
11638 66 => {
11639 yych = unsafe {
11640 if cursor < len {
11641 *s.as_bytes().get_unchecked(cursor)
11642 } else {
11643 255
11644 }
11645 };
11646 match yych {
11647 0x2D => {
11648 cursor += 1;
11649 yystate = 68;
11650 continue 'yyl;
11651 }
11652 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11653 cursor += 1;
11654 yystate = 69;
11655 continue 'yyl;
11656 }
11657 _ => {
11658 yystate = 6;
11659 continue 'yyl;
11660 }
11661 }
11662 }
11663 67 => {
11664 yych = unsafe {
11665 if cursor < len {
11666 *s.as_bytes().get_unchecked(cursor)
11667 } else {
11668 255
11669 }
11670 };
11671 match yych {
11672 0x2D => {
11673 cursor += 1;
11674 yystate = 68;
11675 continue 'yyl;
11676 }
11677 0x2E => {
11678 cursor += 1;
11679 yystate = 7;
11680 continue 'yyl;
11681 }
11682 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11683 cursor += 1;
11684 yystate = 69;
11685 continue 'yyl;
11686 }
11687 0x3E => {
11688 cursor += 1;
11689 yystate = 11;
11690 continue 'yyl;
11691 }
11692 _ => {
11693 yystate = 6;
11694 continue 'yyl;
11695 }
11696 }
11697 }
11698 68 => {
11699 yych = unsafe {
11700 if cursor < len {
11701 *s.as_bytes().get_unchecked(cursor)
11702 } else {
11703 255
11704 }
11705 };
11706 match yych {
11707 0x2D => {
11708 cursor += 1;
11709 yystate = 70;
11710 continue 'yyl;
11711 }
11712 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11713 cursor += 1;
11714 yystate = 71;
11715 continue 'yyl;
11716 }
11717 _ => {
11718 yystate = 6;
11719 continue 'yyl;
11720 }
11721 }
11722 }
11723 69 => {
11724 yych = unsafe {
11725 if cursor < len {
11726 *s.as_bytes().get_unchecked(cursor)
11727 } else {
11728 255
11729 }
11730 };
11731 match yych {
11732 0x2D => {
11733 cursor += 1;
11734 yystate = 70;
11735 continue 'yyl;
11736 }
11737 0x2E => {
11738 cursor += 1;
11739 yystate = 7;
11740 continue 'yyl;
11741 }
11742 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11743 cursor += 1;
11744 yystate = 71;
11745 continue 'yyl;
11746 }
11747 0x3E => {
11748 cursor += 1;
11749 yystate = 11;
11750 continue 'yyl;
11751 }
11752 _ => {
11753 yystate = 6;
11754 continue 'yyl;
11755 }
11756 }
11757 }
11758 70 => {
11759 yych = unsafe {
11760 if cursor < len {
11761 *s.as_bytes().get_unchecked(cursor)
11762 } else {
11763 255
11764 }
11765 };
11766 match yych {
11767 0x2D => {
11768 cursor += 1;
11769 yystate = 72;
11770 continue 'yyl;
11771 }
11772 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11773 cursor += 1;
11774 yystate = 73;
11775 continue 'yyl;
11776 }
11777 _ => {
11778 yystate = 6;
11779 continue 'yyl;
11780 }
11781 }
11782 }
11783 71 => {
11784 yych = unsafe {
11785 if cursor < len {
11786 *s.as_bytes().get_unchecked(cursor)
11787 } else {
11788 255
11789 }
11790 };
11791 match yych {
11792 0x2D => {
11793 cursor += 1;
11794 yystate = 72;
11795 continue 'yyl;
11796 }
11797 0x2E => {
11798 cursor += 1;
11799 yystate = 7;
11800 continue 'yyl;
11801 }
11802 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11803 cursor += 1;
11804 yystate = 73;
11805 continue 'yyl;
11806 }
11807 0x3E => {
11808 cursor += 1;
11809 yystate = 11;
11810 continue 'yyl;
11811 }
11812 _ => {
11813 yystate = 6;
11814 continue 'yyl;
11815 }
11816 }
11817 }
11818 72 => {
11819 yych = unsafe {
11820 if cursor < len {
11821 *s.as_bytes().get_unchecked(cursor)
11822 } else {
11823 255
11824 }
11825 };
11826 match yych {
11827 0x2D => {
11828 cursor += 1;
11829 yystate = 74;
11830 continue 'yyl;
11831 }
11832 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11833 cursor += 1;
11834 yystate = 75;
11835 continue 'yyl;
11836 }
11837 _ => {
11838 yystate = 6;
11839 continue 'yyl;
11840 }
11841 }
11842 }
11843 73 => {
11844 yych = unsafe {
11845 if cursor < len {
11846 *s.as_bytes().get_unchecked(cursor)
11847 } else {
11848 255
11849 }
11850 };
11851 match yych {
11852 0x2D => {
11853 cursor += 1;
11854 yystate = 74;
11855 continue 'yyl;
11856 }
11857 0x2E => {
11858 cursor += 1;
11859 yystate = 7;
11860 continue 'yyl;
11861 }
11862 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11863 cursor += 1;
11864 yystate = 75;
11865 continue 'yyl;
11866 }
11867 0x3E => {
11868 cursor += 1;
11869 yystate = 11;
11870 continue 'yyl;
11871 }
11872 _ => {
11873 yystate = 6;
11874 continue 'yyl;
11875 }
11876 }
11877 }
11878 74 => {
11879 yych = unsafe {
11880 if cursor < len {
11881 *s.as_bytes().get_unchecked(cursor)
11882 } else {
11883 255
11884 }
11885 };
11886 match yych {
11887 0x2D => {
11888 cursor += 1;
11889 yystate = 76;
11890 continue 'yyl;
11891 }
11892 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11893 cursor += 1;
11894 yystate = 77;
11895 continue 'yyl;
11896 }
11897 _ => {
11898 yystate = 6;
11899 continue 'yyl;
11900 }
11901 }
11902 }
11903 75 => {
11904 yych = unsafe {
11905 if cursor < len {
11906 *s.as_bytes().get_unchecked(cursor)
11907 } else {
11908 255
11909 }
11910 };
11911 match yych {
11912 0x2D => {
11913 cursor += 1;
11914 yystate = 76;
11915 continue 'yyl;
11916 }
11917 0x2E => {
11918 cursor += 1;
11919 yystate = 7;
11920 continue 'yyl;
11921 }
11922 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11923 cursor += 1;
11924 yystate = 77;
11925 continue 'yyl;
11926 }
11927 0x3E => {
11928 cursor += 1;
11929 yystate = 11;
11930 continue 'yyl;
11931 }
11932 _ => {
11933 yystate = 6;
11934 continue 'yyl;
11935 }
11936 }
11937 }
11938 76 => {
11939 yych = unsafe {
11940 if cursor < len {
11941 *s.as_bytes().get_unchecked(cursor)
11942 } else {
11943 255
11944 }
11945 };
11946 match yych {
11947 0x2D => {
11948 cursor += 1;
11949 yystate = 78;
11950 continue 'yyl;
11951 }
11952 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11953 cursor += 1;
11954 yystate = 79;
11955 continue 'yyl;
11956 }
11957 _ => {
11958 yystate = 6;
11959 continue 'yyl;
11960 }
11961 }
11962 }
11963 77 => {
11964 yych = unsafe {
11965 if cursor < len {
11966 *s.as_bytes().get_unchecked(cursor)
11967 } else {
11968 255
11969 }
11970 };
11971 match yych {
11972 0x2D => {
11973 cursor += 1;
11974 yystate = 78;
11975 continue 'yyl;
11976 }
11977 0x2E => {
11978 cursor += 1;
11979 yystate = 7;
11980 continue 'yyl;
11981 }
11982 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
11983 cursor += 1;
11984 yystate = 79;
11985 continue 'yyl;
11986 }
11987 0x3E => {
11988 cursor += 1;
11989 yystate = 11;
11990 continue 'yyl;
11991 }
11992 _ => {
11993 yystate = 6;
11994 continue 'yyl;
11995 }
11996 }
11997 }
11998 78 => {
11999 yych = unsafe {
12000 if cursor < len {
12001 *s.as_bytes().get_unchecked(cursor)
12002 } else {
12003 255
12004 }
12005 };
12006 match yych {
12007 0x2D => {
12008 cursor += 1;
12009 yystate = 80;
12010 continue 'yyl;
12011 }
12012 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12013 cursor += 1;
12014 yystate = 81;
12015 continue 'yyl;
12016 }
12017 _ => {
12018 yystate = 6;
12019 continue 'yyl;
12020 }
12021 }
12022 }
12023 79 => {
12024 yych = unsafe {
12025 if cursor < len {
12026 *s.as_bytes().get_unchecked(cursor)
12027 } else {
12028 255
12029 }
12030 };
12031 match yych {
12032 0x2D => {
12033 cursor += 1;
12034 yystate = 80;
12035 continue 'yyl;
12036 }
12037 0x2E => {
12038 cursor += 1;
12039 yystate = 7;
12040 continue 'yyl;
12041 }
12042 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12043 cursor += 1;
12044 yystate = 81;
12045 continue 'yyl;
12046 }
12047 0x3E => {
12048 cursor += 1;
12049 yystate = 11;
12050 continue 'yyl;
12051 }
12052 _ => {
12053 yystate = 6;
12054 continue 'yyl;
12055 }
12056 }
12057 }
12058 80 => {
12059 yych = unsafe {
12060 if cursor < len {
12061 *s.as_bytes().get_unchecked(cursor)
12062 } else {
12063 255
12064 }
12065 };
12066 match yych {
12067 0x2D => {
12068 cursor += 1;
12069 yystate = 82;
12070 continue 'yyl;
12071 }
12072 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12073 cursor += 1;
12074 yystate = 83;
12075 continue 'yyl;
12076 }
12077 _ => {
12078 yystate = 6;
12079 continue 'yyl;
12080 }
12081 }
12082 }
12083 81 => {
12084 yych = unsafe {
12085 if cursor < len {
12086 *s.as_bytes().get_unchecked(cursor)
12087 } else {
12088 255
12089 }
12090 };
12091 match yych {
12092 0x2D => {
12093 cursor += 1;
12094 yystate = 82;
12095 continue 'yyl;
12096 }
12097 0x2E => {
12098 cursor += 1;
12099 yystate = 7;
12100 continue 'yyl;
12101 }
12102 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12103 cursor += 1;
12104 yystate = 83;
12105 continue 'yyl;
12106 }
12107 0x3E => {
12108 cursor += 1;
12109 yystate = 11;
12110 continue 'yyl;
12111 }
12112 _ => {
12113 yystate = 6;
12114 continue 'yyl;
12115 }
12116 }
12117 }
12118 82 => {
12119 yych = unsafe {
12120 if cursor < len {
12121 *s.as_bytes().get_unchecked(cursor)
12122 } else {
12123 255
12124 }
12125 };
12126 match yych {
12127 0x2D => {
12128 cursor += 1;
12129 yystate = 84;
12130 continue 'yyl;
12131 }
12132 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12133 cursor += 1;
12134 yystate = 85;
12135 continue 'yyl;
12136 }
12137 _ => {
12138 yystate = 6;
12139 continue 'yyl;
12140 }
12141 }
12142 }
12143 83 => {
12144 yych = unsafe {
12145 if cursor < len {
12146 *s.as_bytes().get_unchecked(cursor)
12147 } else {
12148 255
12149 }
12150 };
12151 match yych {
12152 0x2D => {
12153 cursor += 1;
12154 yystate = 84;
12155 continue 'yyl;
12156 }
12157 0x2E => {
12158 cursor += 1;
12159 yystate = 7;
12160 continue 'yyl;
12161 }
12162 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12163 cursor += 1;
12164 yystate = 85;
12165 continue 'yyl;
12166 }
12167 0x3E => {
12168 cursor += 1;
12169 yystate = 11;
12170 continue 'yyl;
12171 }
12172 _ => {
12173 yystate = 6;
12174 continue 'yyl;
12175 }
12176 }
12177 }
12178 84 => {
12179 yych = unsafe {
12180 if cursor < len {
12181 *s.as_bytes().get_unchecked(cursor)
12182 } else {
12183 255
12184 }
12185 };
12186 match yych {
12187 0x2D => {
12188 cursor += 1;
12189 yystate = 86;
12190 continue 'yyl;
12191 }
12192 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12193 cursor += 1;
12194 yystate = 87;
12195 continue 'yyl;
12196 }
12197 _ => {
12198 yystate = 6;
12199 continue 'yyl;
12200 }
12201 }
12202 }
12203 85 => {
12204 yych = unsafe {
12205 if cursor < len {
12206 *s.as_bytes().get_unchecked(cursor)
12207 } else {
12208 255
12209 }
12210 };
12211 match yych {
12212 0x2D => {
12213 cursor += 1;
12214 yystate = 86;
12215 continue 'yyl;
12216 }
12217 0x2E => {
12218 cursor += 1;
12219 yystate = 7;
12220 continue 'yyl;
12221 }
12222 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12223 cursor += 1;
12224 yystate = 87;
12225 continue 'yyl;
12226 }
12227 0x3E => {
12228 cursor += 1;
12229 yystate = 11;
12230 continue 'yyl;
12231 }
12232 _ => {
12233 yystate = 6;
12234 continue 'yyl;
12235 }
12236 }
12237 }
12238 86 => {
12239 yych = unsafe {
12240 if cursor < len {
12241 *s.as_bytes().get_unchecked(cursor)
12242 } else {
12243 255
12244 }
12245 };
12246 match yych {
12247 0x2D => {
12248 cursor += 1;
12249 yystate = 88;
12250 continue 'yyl;
12251 }
12252 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12253 cursor += 1;
12254 yystate = 89;
12255 continue 'yyl;
12256 }
12257 _ => {
12258 yystate = 6;
12259 continue 'yyl;
12260 }
12261 }
12262 }
12263 87 => {
12264 yych = unsafe {
12265 if cursor < len {
12266 *s.as_bytes().get_unchecked(cursor)
12267 } else {
12268 255
12269 }
12270 };
12271 match yych {
12272 0x2D => {
12273 cursor += 1;
12274 yystate = 88;
12275 continue 'yyl;
12276 }
12277 0x2E => {
12278 cursor += 1;
12279 yystate = 7;
12280 continue 'yyl;
12281 }
12282 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12283 cursor += 1;
12284 yystate = 89;
12285 continue 'yyl;
12286 }
12287 0x3E => {
12288 cursor += 1;
12289 yystate = 11;
12290 continue 'yyl;
12291 }
12292 _ => {
12293 yystate = 6;
12294 continue 'yyl;
12295 }
12296 }
12297 }
12298 88 => {
12299 yych = unsafe {
12300 if cursor < len {
12301 *s.as_bytes().get_unchecked(cursor)
12302 } else {
12303 255
12304 }
12305 };
12306 match yych {
12307 0x2D => {
12308 cursor += 1;
12309 yystate = 90;
12310 continue 'yyl;
12311 }
12312 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12313 cursor += 1;
12314 yystate = 91;
12315 continue 'yyl;
12316 }
12317 _ => {
12318 yystate = 6;
12319 continue 'yyl;
12320 }
12321 }
12322 }
12323 89 => {
12324 yych = unsafe {
12325 if cursor < len {
12326 *s.as_bytes().get_unchecked(cursor)
12327 } else {
12328 255
12329 }
12330 };
12331 match yych {
12332 0x2D => {
12333 cursor += 1;
12334 yystate = 90;
12335 continue 'yyl;
12336 }
12337 0x2E => {
12338 cursor += 1;
12339 yystate = 7;
12340 continue 'yyl;
12341 }
12342 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12343 cursor += 1;
12344 yystate = 91;
12345 continue 'yyl;
12346 }
12347 0x3E => {
12348 cursor += 1;
12349 yystate = 11;
12350 continue 'yyl;
12351 }
12352 _ => {
12353 yystate = 6;
12354 continue 'yyl;
12355 }
12356 }
12357 }
12358 90 => {
12359 yych = unsafe {
12360 if cursor < len {
12361 *s.as_bytes().get_unchecked(cursor)
12362 } else {
12363 255
12364 }
12365 };
12366 match yych {
12367 0x2D => {
12368 cursor += 1;
12369 yystate = 92;
12370 continue 'yyl;
12371 }
12372 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12373 cursor += 1;
12374 yystate = 93;
12375 continue 'yyl;
12376 }
12377 _ => {
12378 yystate = 6;
12379 continue 'yyl;
12380 }
12381 }
12382 }
12383 91 => {
12384 yych = unsafe {
12385 if cursor < len {
12386 *s.as_bytes().get_unchecked(cursor)
12387 } else {
12388 255
12389 }
12390 };
12391 match yych {
12392 0x2D => {
12393 cursor += 1;
12394 yystate = 92;
12395 continue 'yyl;
12396 }
12397 0x2E => {
12398 cursor += 1;
12399 yystate = 7;
12400 continue 'yyl;
12401 }
12402 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12403 cursor += 1;
12404 yystate = 93;
12405 continue 'yyl;
12406 }
12407 0x3E => {
12408 cursor += 1;
12409 yystate = 11;
12410 continue 'yyl;
12411 }
12412 _ => {
12413 yystate = 6;
12414 continue 'yyl;
12415 }
12416 }
12417 }
12418 92 => {
12419 yych = unsafe {
12420 if cursor < len {
12421 *s.as_bytes().get_unchecked(cursor)
12422 } else {
12423 255
12424 }
12425 };
12426 match yych {
12427 0x2D => {
12428 cursor += 1;
12429 yystate = 94;
12430 continue 'yyl;
12431 }
12432 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12433 cursor += 1;
12434 yystate = 95;
12435 continue 'yyl;
12436 }
12437 _ => {
12438 yystate = 6;
12439 continue 'yyl;
12440 }
12441 }
12442 }
12443 93 => {
12444 yych = unsafe {
12445 if cursor < len {
12446 *s.as_bytes().get_unchecked(cursor)
12447 } else {
12448 255
12449 }
12450 };
12451 match yych {
12452 0x2D => {
12453 cursor += 1;
12454 yystate = 94;
12455 continue 'yyl;
12456 }
12457 0x2E => {
12458 cursor += 1;
12459 yystate = 7;
12460 continue 'yyl;
12461 }
12462 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12463 cursor += 1;
12464 yystate = 95;
12465 continue 'yyl;
12466 }
12467 0x3E => {
12468 cursor += 1;
12469 yystate = 11;
12470 continue 'yyl;
12471 }
12472 _ => {
12473 yystate = 6;
12474 continue 'yyl;
12475 }
12476 }
12477 }
12478 94 => {
12479 yych = unsafe {
12480 if cursor < len {
12481 *s.as_bytes().get_unchecked(cursor)
12482 } else {
12483 255
12484 }
12485 };
12486 match yych {
12487 0x2D => {
12488 cursor += 1;
12489 yystate = 96;
12490 continue 'yyl;
12491 }
12492 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12493 cursor += 1;
12494 yystate = 97;
12495 continue 'yyl;
12496 }
12497 _ => {
12498 yystate = 6;
12499 continue 'yyl;
12500 }
12501 }
12502 }
12503 95 => {
12504 yych = unsafe {
12505 if cursor < len {
12506 *s.as_bytes().get_unchecked(cursor)
12507 } else {
12508 255
12509 }
12510 };
12511 match yych {
12512 0x2D => {
12513 cursor += 1;
12514 yystate = 96;
12515 continue 'yyl;
12516 }
12517 0x2E => {
12518 cursor += 1;
12519 yystate = 7;
12520 continue 'yyl;
12521 }
12522 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12523 cursor += 1;
12524 yystate = 97;
12525 continue 'yyl;
12526 }
12527 0x3E => {
12528 cursor += 1;
12529 yystate = 11;
12530 continue 'yyl;
12531 }
12532 _ => {
12533 yystate = 6;
12534 continue 'yyl;
12535 }
12536 }
12537 }
12538 96 => {
12539 yych = unsafe {
12540 if cursor < len {
12541 *s.as_bytes().get_unchecked(cursor)
12542 } else {
12543 255
12544 }
12545 };
12546 match yych {
12547 0x2D => {
12548 cursor += 1;
12549 yystate = 98;
12550 continue 'yyl;
12551 }
12552 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12553 cursor += 1;
12554 yystate = 99;
12555 continue 'yyl;
12556 }
12557 _ => {
12558 yystate = 6;
12559 continue 'yyl;
12560 }
12561 }
12562 }
12563 97 => {
12564 yych = unsafe {
12565 if cursor < len {
12566 *s.as_bytes().get_unchecked(cursor)
12567 } else {
12568 255
12569 }
12570 };
12571 match yych {
12572 0x2D => {
12573 cursor += 1;
12574 yystate = 98;
12575 continue 'yyl;
12576 }
12577 0x2E => {
12578 cursor += 1;
12579 yystate = 7;
12580 continue 'yyl;
12581 }
12582 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12583 cursor += 1;
12584 yystate = 99;
12585 continue 'yyl;
12586 }
12587 0x3E => {
12588 cursor += 1;
12589 yystate = 11;
12590 continue 'yyl;
12591 }
12592 _ => {
12593 yystate = 6;
12594 continue 'yyl;
12595 }
12596 }
12597 }
12598 98 => {
12599 yych = unsafe {
12600 if cursor < len {
12601 *s.as_bytes().get_unchecked(cursor)
12602 } else {
12603 255
12604 }
12605 };
12606 match yych {
12607 0x2D => {
12608 cursor += 1;
12609 yystate = 100;
12610 continue 'yyl;
12611 }
12612 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12613 cursor += 1;
12614 yystate = 101;
12615 continue 'yyl;
12616 }
12617 _ => {
12618 yystate = 6;
12619 continue 'yyl;
12620 }
12621 }
12622 }
12623 99 => {
12624 yych = unsafe {
12625 if cursor < len {
12626 *s.as_bytes().get_unchecked(cursor)
12627 } else {
12628 255
12629 }
12630 };
12631 match yych {
12632 0x2D => {
12633 cursor += 1;
12634 yystate = 100;
12635 continue 'yyl;
12636 }
12637 0x2E => {
12638 cursor += 1;
12639 yystate = 7;
12640 continue 'yyl;
12641 }
12642 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12643 cursor += 1;
12644 yystate = 101;
12645 continue 'yyl;
12646 }
12647 0x3E => {
12648 cursor += 1;
12649 yystate = 11;
12650 continue 'yyl;
12651 }
12652 _ => {
12653 yystate = 6;
12654 continue 'yyl;
12655 }
12656 }
12657 }
12658 100 => {
12659 yych = unsafe {
12660 if cursor < len {
12661 *s.as_bytes().get_unchecked(cursor)
12662 } else {
12663 255
12664 }
12665 };
12666 match yych {
12667 0x2D => {
12668 cursor += 1;
12669 yystate = 102;
12670 continue 'yyl;
12671 }
12672 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12673 cursor += 1;
12674 yystate = 103;
12675 continue 'yyl;
12676 }
12677 _ => {
12678 yystate = 6;
12679 continue 'yyl;
12680 }
12681 }
12682 }
12683 101 => {
12684 yych = unsafe {
12685 if cursor < len {
12686 *s.as_bytes().get_unchecked(cursor)
12687 } else {
12688 255
12689 }
12690 };
12691 match yych {
12692 0x2D => {
12693 cursor += 1;
12694 yystate = 102;
12695 continue 'yyl;
12696 }
12697 0x2E => {
12698 cursor += 1;
12699 yystate = 7;
12700 continue 'yyl;
12701 }
12702 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12703 cursor += 1;
12704 yystate = 103;
12705 continue 'yyl;
12706 }
12707 0x3E => {
12708 cursor += 1;
12709 yystate = 11;
12710 continue 'yyl;
12711 }
12712 _ => {
12713 yystate = 6;
12714 continue 'yyl;
12715 }
12716 }
12717 }
12718 102 => {
12719 yych = unsafe {
12720 if cursor < len {
12721 *s.as_bytes().get_unchecked(cursor)
12722 } else {
12723 255
12724 }
12725 };
12726 match yych {
12727 0x2D => {
12728 cursor += 1;
12729 yystate = 104;
12730 continue 'yyl;
12731 }
12732 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12733 cursor += 1;
12734 yystate = 105;
12735 continue 'yyl;
12736 }
12737 _ => {
12738 yystate = 6;
12739 continue 'yyl;
12740 }
12741 }
12742 }
12743 103 => {
12744 yych = unsafe {
12745 if cursor < len {
12746 *s.as_bytes().get_unchecked(cursor)
12747 } else {
12748 255
12749 }
12750 };
12751 match yych {
12752 0x2D => {
12753 cursor += 1;
12754 yystate = 104;
12755 continue 'yyl;
12756 }
12757 0x2E => {
12758 cursor += 1;
12759 yystate = 7;
12760 continue 'yyl;
12761 }
12762 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12763 cursor += 1;
12764 yystate = 105;
12765 continue 'yyl;
12766 }
12767 0x3E => {
12768 cursor += 1;
12769 yystate = 11;
12770 continue 'yyl;
12771 }
12772 _ => {
12773 yystate = 6;
12774 continue 'yyl;
12775 }
12776 }
12777 }
12778 104 => {
12779 yych = unsafe {
12780 if cursor < len {
12781 *s.as_bytes().get_unchecked(cursor)
12782 } else {
12783 255
12784 }
12785 };
12786 match yych {
12787 0x2D => {
12788 cursor += 1;
12789 yystate = 106;
12790 continue 'yyl;
12791 }
12792 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12793 cursor += 1;
12794 yystate = 107;
12795 continue 'yyl;
12796 }
12797 _ => {
12798 yystate = 6;
12799 continue 'yyl;
12800 }
12801 }
12802 }
12803 105 => {
12804 yych = unsafe {
12805 if cursor < len {
12806 *s.as_bytes().get_unchecked(cursor)
12807 } else {
12808 255
12809 }
12810 };
12811 match yych {
12812 0x2D => {
12813 cursor += 1;
12814 yystate = 106;
12815 continue 'yyl;
12816 }
12817 0x2E => {
12818 cursor += 1;
12819 yystate = 7;
12820 continue 'yyl;
12821 }
12822 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12823 cursor += 1;
12824 yystate = 107;
12825 continue 'yyl;
12826 }
12827 0x3E => {
12828 cursor += 1;
12829 yystate = 11;
12830 continue 'yyl;
12831 }
12832 _ => {
12833 yystate = 6;
12834 continue 'yyl;
12835 }
12836 }
12837 }
12838 106 => {
12839 yych = unsafe {
12840 if cursor < len {
12841 *s.as_bytes().get_unchecked(cursor)
12842 } else {
12843 255
12844 }
12845 };
12846 match yych {
12847 0x2D => {
12848 cursor += 1;
12849 yystate = 108;
12850 continue 'yyl;
12851 }
12852 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12853 cursor += 1;
12854 yystate = 109;
12855 continue 'yyl;
12856 }
12857 _ => {
12858 yystate = 6;
12859 continue 'yyl;
12860 }
12861 }
12862 }
12863 107 => {
12864 yych = unsafe {
12865 if cursor < len {
12866 *s.as_bytes().get_unchecked(cursor)
12867 } else {
12868 255
12869 }
12870 };
12871 match yych {
12872 0x2D => {
12873 cursor += 1;
12874 yystate = 108;
12875 continue 'yyl;
12876 }
12877 0x2E => {
12878 cursor += 1;
12879 yystate = 7;
12880 continue 'yyl;
12881 }
12882 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12883 cursor += 1;
12884 yystate = 109;
12885 continue 'yyl;
12886 }
12887 0x3E => {
12888 cursor += 1;
12889 yystate = 11;
12890 continue 'yyl;
12891 }
12892 _ => {
12893 yystate = 6;
12894 continue 'yyl;
12895 }
12896 }
12897 }
12898 108 => {
12899 yych = unsafe {
12900 if cursor < len {
12901 *s.as_bytes().get_unchecked(cursor)
12902 } else {
12903 255
12904 }
12905 };
12906 match yych {
12907 0x2D => {
12908 cursor += 1;
12909 yystate = 110;
12910 continue 'yyl;
12911 }
12912 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12913 cursor += 1;
12914 yystate = 111;
12915 continue 'yyl;
12916 }
12917 _ => {
12918 yystate = 6;
12919 continue 'yyl;
12920 }
12921 }
12922 }
12923 109 => {
12924 yych = unsafe {
12925 if cursor < len {
12926 *s.as_bytes().get_unchecked(cursor)
12927 } else {
12928 255
12929 }
12930 };
12931 match yych {
12932 0x2D => {
12933 cursor += 1;
12934 yystate = 110;
12935 continue 'yyl;
12936 }
12937 0x2E => {
12938 cursor += 1;
12939 yystate = 7;
12940 continue 'yyl;
12941 }
12942 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12943 cursor += 1;
12944 yystate = 111;
12945 continue 'yyl;
12946 }
12947 0x3E => {
12948 cursor += 1;
12949 yystate = 11;
12950 continue 'yyl;
12951 }
12952 _ => {
12953 yystate = 6;
12954 continue 'yyl;
12955 }
12956 }
12957 }
12958 110 => {
12959 yych = unsafe {
12960 if cursor < len {
12961 *s.as_bytes().get_unchecked(cursor)
12962 } else {
12963 255
12964 }
12965 };
12966 match yych {
12967 0x2D => {
12968 cursor += 1;
12969 yystate = 112;
12970 continue 'yyl;
12971 }
12972 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
12973 cursor += 1;
12974 yystate = 113;
12975 continue 'yyl;
12976 }
12977 _ => {
12978 yystate = 6;
12979 continue 'yyl;
12980 }
12981 }
12982 }
12983 111 => {
12984 yych = unsafe {
12985 if cursor < len {
12986 *s.as_bytes().get_unchecked(cursor)
12987 } else {
12988 255
12989 }
12990 };
12991 match yych {
12992 0x2D => {
12993 cursor += 1;
12994 yystate = 112;
12995 continue 'yyl;
12996 }
12997 0x2E => {
12998 cursor += 1;
12999 yystate = 7;
13000 continue 'yyl;
13001 }
13002 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13003 cursor += 1;
13004 yystate = 113;
13005 continue 'yyl;
13006 }
13007 0x3E => {
13008 cursor += 1;
13009 yystate = 11;
13010 continue 'yyl;
13011 }
13012 _ => {
13013 yystate = 6;
13014 continue 'yyl;
13015 }
13016 }
13017 }
13018 112 => {
13019 yych = unsafe {
13020 if cursor < len {
13021 *s.as_bytes().get_unchecked(cursor)
13022 } else {
13023 255
13024 }
13025 };
13026 match yych {
13027 0x2D => {
13028 cursor += 1;
13029 yystate = 114;
13030 continue 'yyl;
13031 }
13032 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13033 cursor += 1;
13034 yystate = 115;
13035 continue 'yyl;
13036 }
13037 _ => {
13038 yystate = 6;
13039 continue 'yyl;
13040 }
13041 }
13042 }
13043 113 => {
13044 yych = unsafe {
13045 if cursor < len {
13046 *s.as_bytes().get_unchecked(cursor)
13047 } else {
13048 255
13049 }
13050 };
13051 match yych {
13052 0x2D => {
13053 cursor += 1;
13054 yystate = 114;
13055 continue 'yyl;
13056 }
13057 0x2E => {
13058 cursor += 1;
13059 yystate = 7;
13060 continue 'yyl;
13061 }
13062 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13063 cursor += 1;
13064 yystate = 115;
13065 continue 'yyl;
13066 }
13067 0x3E => {
13068 cursor += 1;
13069 yystate = 11;
13070 continue 'yyl;
13071 }
13072 _ => {
13073 yystate = 6;
13074 continue 'yyl;
13075 }
13076 }
13077 }
13078 114 => {
13079 yych = unsafe {
13080 if cursor < len {
13081 *s.as_bytes().get_unchecked(cursor)
13082 } else {
13083 255
13084 }
13085 };
13086 match yych {
13087 0x2D => {
13088 cursor += 1;
13089 yystate = 116;
13090 continue 'yyl;
13091 }
13092 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13093 cursor += 1;
13094 yystate = 117;
13095 continue 'yyl;
13096 }
13097 _ => {
13098 yystate = 6;
13099 continue 'yyl;
13100 }
13101 }
13102 }
13103 115 => {
13104 yych = unsafe {
13105 if cursor < len {
13106 *s.as_bytes().get_unchecked(cursor)
13107 } else {
13108 255
13109 }
13110 };
13111 match yych {
13112 0x2D => {
13113 cursor += 1;
13114 yystate = 116;
13115 continue 'yyl;
13116 }
13117 0x2E => {
13118 cursor += 1;
13119 yystate = 7;
13120 continue 'yyl;
13121 }
13122 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13123 cursor += 1;
13124 yystate = 117;
13125 continue 'yyl;
13126 }
13127 0x3E => {
13128 cursor += 1;
13129 yystate = 11;
13130 continue 'yyl;
13131 }
13132 _ => {
13133 yystate = 6;
13134 continue 'yyl;
13135 }
13136 }
13137 }
13138 116 => {
13139 yych = unsafe {
13140 if cursor < len {
13141 *s.as_bytes().get_unchecked(cursor)
13142 } else {
13143 255
13144 }
13145 };
13146 match yych {
13147 0x2D => {
13148 cursor += 1;
13149 yystate = 118;
13150 continue 'yyl;
13151 }
13152 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13153 cursor += 1;
13154 yystate = 119;
13155 continue 'yyl;
13156 }
13157 _ => {
13158 yystate = 6;
13159 continue 'yyl;
13160 }
13161 }
13162 }
13163 117 => {
13164 yych = unsafe {
13165 if cursor < len {
13166 *s.as_bytes().get_unchecked(cursor)
13167 } else {
13168 255
13169 }
13170 };
13171 match yych {
13172 0x2D => {
13173 cursor += 1;
13174 yystate = 118;
13175 continue 'yyl;
13176 }
13177 0x2E => {
13178 cursor += 1;
13179 yystate = 7;
13180 continue 'yyl;
13181 }
13182 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13183 cursor += 1;
13184 yystate = 119;
13185 continue 'yyl;
13186 }
13187 0x3E => {
13188 cursor += 1;
13189 yystate = 11;
13190 continue 'yyl;
13191 }
13192 _ => {
13193 yystate = 6;
13194 continue 'yyl;
13195 }
13196 }
13197 }
13198 118 => {
13199 yych = unsafe {
13200 if cursor < len {
13201 *s.as_bytes().get_unchecked(cursor)
13202 } else {
13203 255
13204 }
13205 };
13206 match yych {
13207 0x2D => {
13208 cursor += 1;
13209 yystate = 120;
13210 continue 'yyl;
13211 }
13212 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13213 cursor += 1;
13214 yystate = 121;
13215 continue 'yyl;
13216 }
13217 _ => {
13218 yystate = 6;
13219 continue 'yyl;
13220 }
13221 }
13222 }
13223 119 => {
13224 yych = unsafe {
13225 if cursor < len {
13226 *s.as_bytes().get_unchecked(cursor)
13227 } else {
13228 255
13229 }
13230 };
13231 match yych {
13232 0x2D => {
13233 cursor += 1;
13234 yystate = 120;
13235 continue 'yyl;
13236 }
13237 0x2E => {
13238 cursor += 1;
13239 yystate = 7;
13240 continue 'yyl;
13241 }
13242 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13243 cursor += 1;
13244 yystate = 121;
13245 continue 'yyl;
13246 }
13247 0x3E => {
13248 cursor += 1;
13249 yystate = 11;
13250 continue 'yyl;
13251 }
13252 _ => {
13253 yystate = 6;
13254 continue 'yyl;
13255 }
13256 }
13257 }
13258 120 => {
13259 yych = unsafe {
13260 if cursor < len {
13261 *s.as_bytes().get_unchecked(cursor)
13262 } else {
13263 255
13264 }
13265 };
13266 match yych {
13267 0x2D => {
13268 cursor += 1;
13269 yystate = 122;
13270 continue 'yyl;
13271 }
13272 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13273 cursor += 1;
13274 yystate = 123;
13275 continue 'yyl;
13276 }
13277 _ => {
13278 yystate = 6;
13279 continue 'yyl;
13280 }
13281 }
13282 }
13283 121 => {
13284 yych = unsafe {
13285 if cursor < len {
13286 *s.as_bytes().get_unchecked(cursor)
13287 } else {
13288 255
13289 }
13290 };
13291 match yych {
13292 0x2D => {
13293 cursor += 1;
13294 yystate = 122;
13295 continue 'yyl;
13296 }
13297 0x2E => {
13298 cursor += 1;
13299 yystate = 7;
13300 continue 'yyl;
13301 }
13302 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13303 cursor += 1;
13304 yystate = 123;
13305 continue 'yyl;
13306 }
13307 0x3E => {
13308 cursor += 1;
13309 yystate = 11;
13310 continue 'yyl;
13311 }
13312 _ => {
13313 yystate = 6;
13314 continue 'yyl;
13315 }
13316 }
13317 }
13318 122 => {
13319 yych = unsafe {
13320 if cursor < len {
13321 *s.as_bytes().get_unchecked(cursor)
13322 } else {
13323 255
13324 }
13325 };
13326 match yych {
13327 0x2D => {
13328 cursor += 1;
13329 yystate = 124;
13330 continue 'yyl;
13331 }
13332 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13333 cursor += 1;
13334 yystate = 125;
13335 continue 'yyl;
13336 }
13337 _ => {
13338 yystate = 6;
13339 continue 'yyl;
13340 }
13341 }
13342 }
13343 123 => {
13344 yych = unsafe {
13345 if cursor < len {
13346 *s.as_bytes().get_unchecked(cursor)
13347 } else {
13348 255
13349 }
13350 };
13351 match yych {
13352 0x2D => {
13353 cursor += 1;
13354 yystate = 124;
13355 continue 'yyl;
13356 }
13357 0x2E => {
13358 cursor += 1;
13359 yystate = 7;
13360 continue 'yyl;
13361 }
13362 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13363 cursor += 1;
13364 yystate = 125;
13365 continue 'yyl;
13366 }
13367 0x3E => {
13368 cursor += 1;
13369 yystate = 11;
13370 continue 'yyl;
13371 }
13372 _ => {
13373 yystate = 6;
13374 continue 'yyl;
13375 }
13376 }
13377 }
13378 124 => {
13379 yych = unsafe {
13380 if cursor < len {
13381 *s.as_bytes().get_unchecked(cursor)
13382 } else {
13383 255
13384 }
13385 };
13386 match yych {
13387 0x2D => {
13388 cursor += 1;
13389 yystate = 126;
13390 continue 'yyl;
13391 }
13392 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13393 cursor += 1;
13394 yystate = 127;
13395 continue 'yyl;
13396 }
13397 _ => {
13398 yystate = 6;
13399 continue 'yyl;
13400 }
13401 }
13402 }
13403 125 => {
13404 yych = unsafe {
13405 if cursor < len {
13406 *s.as_bytes().get_unchecked(cursor)
13407 } else {
13408 255
13409 }
13410 };
13411 match yych {
13412 0x2D => {
13413 cursor += 1;
13414 yystate = 126;
13415 continue 'yyl;
13416 }
13417 0x2E => {
13418 cursor += 1;
13419 yystate = 7;
13420 continue 'yyl;
13421 }
13422 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13423 cursor += 1;
13424 yystate = 127;
13425 continue 'yyl;
13426 }
13427 0x3E => {
13428 cursor += 1;
13429 yystate = 11;
13430 continue 'yyl;
13431 }
13432 _ => {
13433 yystate = 6;
13434 continue 'yyl;
13435 }
13436 }
13437 }
13438 126 => {
13439 yych = unsafe {
13440 if cursor < len {
13441 *s.as_bytes().get_unchecked(cursor)
13442 } else {
13443 255
13444 }
13445 };
13446 match yych {
13447 0x2D => {
13448 cursor += 1;
13449 yystate = 128;
13450 continue 'yyl;
13451 }
13452 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13453 cursor += 1;
13454 yystate = 129;
13455 continue 'yyl;
13456 }
13457 _ => {
13458 yystate = 6;
13459 continue 'yyl;
13460 }
13461 }
13462 }
13463 127 => {
13464 yych = unsafe {
13465 if cursor < len {
13466 *s.as_bytes().get_unchecked(cursor)
13467 } else {
13468 255
13469 }
13470 };
13471 match yych {
13472 0x2D => {
13473 cursor += 1;
13474 yystate = 128;
13475 continue 'yyl;
13476 }
13477 0x2E => {
13478 cursor += 1;
13479 yystate = 7;
13480 continue 'yyl;
13481 }
13482 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13483 cursor += 1;
13484 yystate = 129;
13485 continue 'yyl;
13486 }
13487 0x3E => {
13488 cursor += 1;
13489 yystate = 11;
13490 continue 'yyl;
13491 }
13492 _ => {
13493 yystate = 6;
13494 continue 'yyl;
13495 }
13496 }
13497 }
13498 128 => {
13499 yych = unsafe {
13500 if cursor < len {
13501 *s.as_bytes().get_unchecked(cursor)
13502 } else {
13503 255
13504 }
13505 };
13506 match yych {
13507 0x2D => {
13508 cursor += 1;
13509 yystate = 130;
13510 continue 'yyl;
13511 }
13512 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13513 cursor += 1;
13514 yystate = 131;
13515 continue 'yyl;
13516 }
13517 _ => {
13518 yystate = 6;
13519 continue 'yyl;
13520 }
13521 }
13522 }
13523 129 => {
13524 yych = unsafe {
13525 if cursor < len {
13526 *s.as_bytes().get_unchecked(cursor)
13527 } else {
13528 255
13529 }
13530 };
13531 match yych {
13532 0x2D => {
13533 cursor += 1;
13534 yystate = 130;
13535 continue 'yyl;
13536 }
13537 0x2E => {
13538 cursor += 1;
13539 yystate = 7;
13540 continue 'yyl;
13541 }
13542 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13543 cursor += 1;
13544 yystate = 131;
13545 continue 'yyl;
13546 }
13547 0x3E => {
13548 cursor += 1;
13549 yystate = 11;
13550 continue 'yyl;
13551 }
13552 _ => {
13553 yystate = 6;
13554 continue 'yyl;
13555 }
13556 }
13557 }
13558 130 => {
13559 yych = unsafe {
13560 if cursor < len {
13561 *s.as_bytes().get_unchecked(cursor)
13562 } else {
13563 255
13564 }
13565 };
13566 match yych {
13567 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13568 cursor += 1;
13569 yystate = 132;
13570 continue 'yyl;
13571 }
13572 _ => {
13573 yystate = 6;
13574 continue 'yyl;
13575 }
13576 }
13577 }
13578 131 => {
13579 yych = unsafe {
13580 if cursor < len {
13581 *s.as_bytes().get_unchecked(cursor)
13582 } else {
13583 255
13584 }
13585 };
13586 match yych {
13587 0x2E => {
13588 cursor += 1;
13589 yystate = 7;
13590 continue 'yyl;
13591 }
13592 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13593 cursor += 1;
13594 yystate = 132;
13595 continue 'yyl;
13596 }
13597 0x3E => {
13598 cursor += 1;
13599 yystate = 11;
13600 continue 'yyl;
13601 }
13602 _ => {
13603 yystate = 6;
13604 continue 'yyl;
13605 }
13606 }
13607 }
13608 132 => {
13609 yych = unsafe {
13610 if cursor < len {
13611 *s.as_bytes().get_unchecked(cursor)
13612 } else {
13613 255
13614 }
13615 };
13616 match yych {
13617 0x2E => {
13618 cursor += 1;
13619 yystate = 7;
13620 continue 'yyl;
13621 }
13622 0x3E => {
13623 cursor += 1;
13624 yystate = 11;
13625 continue 'yyl;
13626 }
13627 _ => {
13628 yystate = 6;
13629 continue 'yyl;
13630 }
13631 }
13632 }
13633 _ => panic!("internal lexer error"),
13634 }
13635 }
13636 }
13637 }
13638
13639 pub fn html_tag(s: &str) -> Option<usize> {
13640 let mut cursor = 0;
13641 let mut marker = 0;
13642 let len = s.len();
13643
13644 {
13645 #[allow(unused_assignments)]
13646 let mut yych: u8 = 0;
13647 let mut yystate: usize = 0;
13648 'yyl: loop {
13649 match yystate {
13650 0 => {
13651 yych = unsafe {
13652 if cursor < len {
13653 *s.as_bytes().get_unchecked(cursor)
13654 } else {
13655 255
13656 }
13657 };
13658 cursor += 1;
13659 match yych {
13660 0x2F => {
13661 yystate = 3;
13662 continue 'yyl;
13663 }
13664 0x41..=0x5A | 0x61..=0x7A => {
13665 yystate = 4;
13666 continue 'yyl;
13667 }
13668 _ => {
13669 yystate = 1;
13670 continue 'yyl;
13671 }
13672 }
13673 }
13674 1 => {
13675 yystate = 2;
13676 continue 'yyl;
13677 }
13678 2 => {
13679 return None;
13680 }
13681 3 => {
13682 marker = cursor;
13683 yych = unsafe {
13684 if cursor < len {
13685 *s.as_bytes().get_unchecked(cursor)
13686 } else {
13687 255
13688 }
13689 };
13690 match yych {
13691 0x41..=0x5A | 0x61..=0x7A => {
13692 cursor += 1;
13693 yystate = 5;
13694 continue 'yyl;
13695 }
13696 _ => {
13697 yystate = 2;
13698 continue 'yyl;
13699 }
13700 }
13701 }
13702 4 => {
13703 marker = cursor;
13704 yych = unsafe {
13705 if cursor < len {
13706 *s.as_bytes().get_unchecked(cursor)
13707 } else {
13708 255
13709 }
13710 };
13711 match yych {
13712 0x09..=0x0D
13713 | 0x20
13714 | 0x2D
13715 | 0x2F..=0x39
13716 | 0x3E
13717 | 0x41..=0x5A
13718 | 0x61..=0x7A => {
13719 yystate = 9;
13720 continue 'yyl;
13721 }
13722 _ => {
13723 yystate = 2;
13724 continue 'yyl;
13725 }
13726 }
13727 }
13728 5 => {
13729 yych = unsafe {
13730 if cursor < len {
13731 *s.as_bytes().get_unchecked(cursor)
13732 } else {
13733 255
13734 }
13735 };
13736 match yych {
13737 0x09..=0x0D | 0x20 => {
13738 cursor += 1;
13739 yystate = 12;
13740 continue 'yyl;
13741 }
13742 0x2D | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13743 cursor += 1;
13744 yystate = 5;
13745 continue 'yyl;
13746 }
13747 0x3E => {
13748 cursor += 1;
13749 yystate = 11;
13750 continue 'yyl;
13751 }
13752 _ => {
13753 yystate = 6;
13754 continue 'yyl;
13755 }
13756 }
13757 }
13758 6 => {
13759 cursor = marker;
13760 yystate = 2;
13761 continue 'yyl;
13762 }
13763 7 => {
13764 yych = unsafe {
13765 if cursor < len {
13766 *s.as_bytes().get_unchecked(cursor)
13767 } else {
13768 255
13769 }
13770 };
13771 match yych {
13772 0x09..=0x0D | 0x20 => {
13773 cursor += 1;
13774 yystate = 7;
13775 continue 'yyl;
13776 }
13777 0x2F => {
13778 cursor += 1;
13779 yystate = 10;
13780 continue 'yyl;
13781 }
13782 0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
13783 cursor += 1;
13784 yystate = 13;
13785 continue 'yyl;
13786 }
13787 0x3E => {
13788 cursor += 1;
13789 yystate = 11;
13790 continue 'yyl;
13791 }
13792 _ => {
13793 yystate = 6;
13794 continue 'yyl;
13795 }
13796 }
13797 }
13798 8 => {
13799 yych = unsafe {
13800 if cursor < len {
13801 *s.as_bytes().get_unchecked(cursor)
13802 } else {
13803 255
13804 }
13805 };
13806 yystate = 9;
13807 continue 'yyl;
13808 }
13809 9 => match yych {
13810 0x09..=0x0D | 0x20 => {
13811 cursor += 1;
13812 yystate = 7;
13813 continue 'yyl;
13814 }
13815 0x2D | 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
13816 cursor += 1;
13817 yystate = 8;
13818 continue 'yyl;
13819 }
13820 0x2F => {
13821 cursor += 1;
13822 yystate = 10;
13823 continue 'yyl;
13824 }
13825 0x3E => {
13826 cursor += 1;
13827 yystate = 11;
13828 continue 'yyl;
13829 }
13830 _ => {
13831 yystate = 6;
13832 continue 'yyl;
13833 }
13834 },
13835 10 => {
13836 yych = unsafe {
13837 if cursor < len {
13838 *s.as_bytes().get_unchecked(cursor)
13839 } else {
13840 255
13841 }
13842 };
13843 match yych {
13844 0x3E => {
13845 cursor += 1;
13846 yystate = 11;
13847 continue 'yyl;
13848 }
13849 _ => {
13850 yystate = 6;
13851 continue 'yyl;
13852 }
13853 }
13854 }
13855 11 => {
13856 return Some(cursor);
13857 }
13858 12 => {
13859 yych = unsafe {
13860 if cursor < len {
13861 *s.as_bytes().get_unchecked(cursor)
13862 } else {
13863 255
13864 }
13865 };
13866 match yych {
13867 0x09..=0x0D | 0x20 => {
13868 cursor += 1;
13869 yystate = 12;
13870 continue 'yyl;
13871 }
13872 0x3E => {
13873 cursor += 1;
13874 yystate = 11;
13875 continue 'yyl;
13876 }
13877 _ => {
13878 yystate = 6;
13879 continue 'yyl;
13880 }
13881 }
13882 }
13883 13 => {
13884 yych = unsafe {
13885 if cursor < len {
13886 *s.as_bytes().get_unchecked(cursor)
13887 } else {
13888 255
13889 }
13890 };
13891 match yych {
13892 0x09..=0x0D | 0x20 => {
13893 cursor += 1;
13894 yystate = 14;
13895 continue 'yyl;
13896 }
13897 0x2D..=0x2E | 0x30..=0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
13898 cursor += 1;
13899 yystate = 13;
13900 continue 'yyl;
13901 }
13902 0x2F => {
13903 cursor += 1;
13904 yystate = 10;
13905 continue 'yyl;
13906 }
13907 0x3D => {
13908 cursor += 1;
13909 yystate = 15;
13910 continue 'yyl;
13911 }
13912 0x3E => {
13913 cursor += 1;
13914 yystate = 11;
13915 continue 'yyl;
13916 }
13917 _ => {
13918 yystate = 6;
13919 continue 'yyl;
13920 }
13921 }
13922 }
13923 14 => {
13924 yych = unsafe {
13925 if cursor < len {
13926 *s.as_bytes().get_unchecked(cursor)
13927 } else {
13928 255
13929 }
13930 };
13931 match yych {
13932 0x09..=0x0D | 0x20 => {
13933 cursor += 1;
13934 yystate = 14;
13935 continue 'yyl;
13936 }
13937 0x2F => {
13938 cursor += 1;
13939 yystate = 10;
13940 continue 'yyl;
13941 }
13942 0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
13943 cursor += 1;
13944 yystate = 13;
13945 continue 'yyl;
13946 }
13947 0x3D => {
13948 cursor += 1;
13949 yystate = 15;
13950 continue 'yyl;
13951 }
13952 0x3E => {
13953 cursor += 1;
13954 yystate = 11;
13955 continue 'yyl;
13956 }
13957 _ => {
13958 yystate = 6;
13959 continue 'yyl;
13960 }
13961 }
13962 }
13963 15 => {
13964 yych = unsafe {
13965 if cursor < len {
13966 *s.as_bytes().get_unchecked(cursor)
13967 } else {
13968 255
13969 }
13970 };
13971 match yych {
13972 0x00..=0x08
13973 | 0x0E..=0x1F
13974 | 0x21
13975 | 0x23..=0x26
13976 | 0x28..=0x3B
13977 | 0x3F..=0x5F
13978 | 0x61..=0xFE => {
13979 cursor += 1;
13980 yystate = 16;
13981 continue 'yyl;
13982 }
13983 0x09..=0x0D | 0x20 => {
13984 cursor += 1;
13985 yystate = 15;
13986 continue 'yyl;
13987 }
13988 0x22 => {
13989 cursor += 1;
13990 yystate = 17;
13991 continue 'yyl;
13992 }
13993 0x27 => {
13994 cursor += 1;
13995 yystate = 18;
13996 continue 'yyl;
13997 }
13998 _ => {
13999 yystate = 6;
14000 continue 'yyl;
14001 }
14002 }
14003 }
14004 16 => {
14005 yych = unsafe {
14006 if cursor < len {
14007 *s.as_bytes().get_unchecked(cursor)
14008 } else {
14009 255
14010 }
14011 };
14012 match yych {
14013 0x00..=0x08
14014 | 0x0E..=0x1F
14015 | 0x21
14016 | 0x23..=0x26
14017 | 0x28..=0x3B
14018 | 0x3F..=0x5F
14019 | 0x61..=0xFE => {
14020 cursor += 1;
14021 yystate = 16;
14022 continue 'yyl;
14023 }
14024 0x09..=0x0D | 0x20 => {
14025 cursor += 1;
14026 yystate = 7;
14027 continue 'yyl;
14028 }
14029 0x3E => {
14030 cursor += 1;
14031 yystate = 11;
14032 continue 'yyl;
14033 }
14034 _ => {
14035 yystate = 6;
14036 continue 'yyl;
14037 }
14038 }
14039 }
14040 17 => {
14041 yych = unsafe {
14042 if cursor < len {
14043 *s.as_bytes().get_unchecked(cursor)
14044 } else {
14045 255
14046 }
14047 };
14048 match yych {
14049 0x00..=0x21 | 0x23..=0xFE => {
14050 cursor += 1;
14051 yystate = 17;
14052 continue 'yyl;
14053 }
14054 0x22 => {
14055 cursor += 1;
14056 yystate = 19;
14057 continue 'yyl;
14058 }
14059 _ => {
14060 yystate = 6;
14061 continue 'yyl;
14062 }
14063 }
14064 }
14065 18 => {
14066 yych = unsafe {
14067 if cursor < len {
14068 *s.as_bytes().get_unchecked(cursor)
14069 } else {
14070 255
14071 }
14072 };
14073 match yych {
14074 0x00..=0x26 | 0x28..=0xFE => {
14075 cursor += 1;
14076 yystate = 18;
14077 continue 'yyl;
14078 }
14079 0x27 => {
14080 cursor += 1;
14081 yystate = 19;
14082 continue 'yyl;
14083 }
14084 _ => {
14085 yystate = 6;
14086 continue 'yyl;
14087 }
14088 }
14089 }
14090 19 => {
14091 yych = unsafe {
14092 if cursor < len {
14093 *s.as_bytes().get_unchecked(cursor)
14094 } else {
14095 255
14096 }
14097 };
14098 match yych {
14099 0x09..=0x0D | 0x20 => {
14100 cursor += 1;
14101 yystate = 7;
14102 continue 'yyl;
14103 }
14104 0x2F => {
14105 cursor += 1;
14106 yystate = 10;
14107 continue 'yyl;
14108 }
14109 0x3E => {
14110 cursor += 1;
14111 yystate = 11;
14112 continue 'yyl;
14113 }
14114 _ => {
14115 yystate = 6;
14116 continue 'yyl;
14117 }
14118 }
14119 }
14120 _ => panic!("internal lexer error"),
14121 }
14122 }
14123 }
14124 }
14125
14126 pub fn html_comment(s: &str) -> Option<usize> {
14127 let mut cursor = 0;
14128 let mut marker = 0;
14129 let len = s.len();
14130
14131 {
14132 #[allow(unused_assignments)]
14133 let mut yych: u8 = 0;
14134 let mut yystate: usize = 0;
14135 'yyl: loop {
14136 match yystate {
14137 0 => {
14138 yych = unsafe {
14139 if cursor < len {
14140 *s.as_bytes().get_unchecked(cursor)
14141 } else {
14142 255
14143 }
14144 };
14145 cursor += 1;
14146 match yych {
14147 0x2D => {
14148 yystate = 3;
14149 continue 'yyl;
14150 }
14151 _ => {
14152 yystate = 1;
14153 continue 'yyl;
14154 }
14155 }
14156 }
14157 1 => {
14158 yystate = 2;
14159 continue 'yyl;
14160 }
14161 2 => {
14162 return None;
14163 }
14164 3 => {
14165 marker = cursor;
14166 yych = unsafe {
14167 if cursor < len {
14168 *s.as_bytes().get_unchecked(cursor)
14169 } else {
14170 255
14171 }
14172 };
14173 match yych {
14174 0x2D => {
14175 cursor += 1;
14176 yystate = 4;
14177 continue 'yyl;
14178 }
14179 _ => {
14180 yystate = 2;
14181 continue 'yyl;
14182 }
14183 }
14184 }
14185 4 => {
14186 yych = unsafe {
14187 if cursor < len {
14188 *s.as_bytes().get_unchecked(cursor)
14189 } else {
14190 255
14191 }
14192 };
14193 match yych {
14194 0x00..=0x2C | 0x2E..=0xFE => {
14195 cursor += 1;
14196 yystate = 4;
14197 continue 'yyl;
14198 }
14199 0x2D => {
14200 cursor += 1;
14201 yystate = 6;
14202 continue 'yyl;
14203 }
14204 _ => {
14205 yystate = 5;
14206 continue 'yyl;
14207 }
14208 }
14209 }
14210 5 => {
14211 cursor = marker;
14212 yystate = 2;
14213 continue 'yyl;
14214 }
14215 6 => {
14216 yych = unsafe {
14217 if cursor < len {
14218 *s.as_bytes().get_unchecked(cursor)
14219 } else {
14220 255
14221 }
14222 };
14223 match yych {
14224 0x00..=0x2C | 0x2E..=0xFE => {
14225 cursor += 1;
14226 yystate = 4;
14227 continue 'yyl;
14228 }
14229 0x2D => {
14230 cursor += 1;
14231 yystate = 7;
14232 continue 'yyl;
14233 }
14234 _ => {
14235 yystate = 5;
14236 continue 'yyl;
14237 }
14238 }
14239 }
14240 7 => {
14241 yych = unsafe {
14242 if cursor < len {
14243 *s.as_bytes().get_unchecked(cursor)
14244 } else {
14245 255
14246 }
14247 };
14248 match yych {
14249 0x00..=0x3D | 0x3F..=0xFE => {
14250 cursor += 1;
14251 yystate = 4;
14252 continue 'yyl;
14253 }
14254 0x3E => {
14255 cursor += 1;
14256 yystate = 8;
14257 continue 'yyl;
14258 }
14259 _ => {
14260 yystate = 5;
14261 continue 'yyl;
14262 }
14263 }
14264 }
14265 8 => {
14266 return Some(cursor);
14267 }
14268 _ => panic!("internal lexer error"),
14269 }
14270 }
14271 }
14272 }
14273
14274 pub fn html_processing_instruction(s: &str) -> Option<usize> {
14275 let mut cursor = 0;
14276 let mut marker = 0;
14277 let len = s.len();
14278
14279 {
14280 #[allow(unused_assignments)]
14281 let mut yych: u8 = 0;
14282 let mut yystate: usize = 0;
14283 'yyl: loop {
14284 match yystate {
14285 0 => {
14286 yych = unsafe {
14287 if cursor < len {
14288 *s.as_bytes().get_unchecked(cursor)
14289 } else {
14290 255
14291 }
14292 };
14293 cursor += 1;
14294 match yych {
14295 0x00..=0x3E | 0x40..=0xFE => {
14296 yystate = 1;
14297 continue 'yyl;
14298 }
14299 0x3F => {
14300 yystate = 3;
14301 continue 'yyl;
14302 }
14303 _ => {
14304 yystate = 5;
14305 continue 'yyl;
14306 }
14307 }
14308 }
14309 1 => {
14310 marker = cursor;
14311 yych = unsafe {
14312 if cursor < len {
14313 *s.as_bytes().get_unchecked(cursor)
14314 } else {
14315 255
14316 }
14317 };
14318 match yych {
14319 0x00..=0x3E | 0x40..=0xFE => {
14320 cursor += 1;
14321 yystate = 1;
14322 continue 'yyl;
14323 }
14324 0x3F => {
14325 cursor += 1;
14326 yystate = 6;
14327 continue 'yyl;
14328 }
14329 _ => {
14330 yystate = 2;
14331 continue 'yyl;
14332 }
14333 }
14334 }
14335 2 => {
14336 return Some(cursor);
14337 }
14338 3 => {
14339 yych = unsafe {
14340 if cursor < len {
14341 *s.as_bytes().get_unchecked(cursor)
14342 } else {
14343 255
14344 }
14345 };
14346 match yych {
14347 0x00..=0x3D | 0x3F..=0xFE => {
14348 cursor += 1;
14349 yystate = 1;
14350 continue 'yyl;
14351 }
14352 _ => {
14353 yystate = 4;
14354 continue 'yyl;
14355 }
14356 }
14357 }
14358 4 => {
14359 return None;
14360 }
14361 5 => {
14362 yystate = 4;
14363 continue 'yyl;
14364 }
14365 6 => {
14366 yych = unsafe {
14367 if cursor < len {
14368 *s.as_bytes().get_unchecked(cursor)
14369 } else {
14370 255
14371 }
14372 };
14373 match yych {
14374 0x00..=0x3D | 0x3F..=0xFE => {
14375 cursor += 1;
14376 yystate = 1;
14377 continue 'yyl;
14378 }
14379 _ => {
14380 yystate = 7;
14381 continue 'yyl;
14382 }
14383 }
14384 }
14385 7 => {
14386 cursor = marker;
14387 yystate = 2;
14388 continue 'yyl;
14389 }
14390 _ => panic!("internal lexer error"),
14391 }
14392 }
14393 }
14394 }
14395
14396 pub fn html_declaration(s: &str) -> Option<usize> {
14397 let mut cursor = 0;
14398 let mut marker = 0;
14399 let len = s.len();
14400
14401 {
14402 #[allow(unused_assignments)]
14403 let mut yych: u8 = 0;
14404 let mut yystate: usize = 0;
14405 'yyl: loop {
14406 match yystate {
14407 0 => {
14408 yych = unsafe {
14409 if cursor < len {
14410 *s.as_bytes().get_unchecked(cursor)
14411 } else {
14412 255
14413 }
14414 };
14415 cursor += 1;
14416 match yych {
14417 0x41..=0x5A => {
14418 yystate = 3;
14419 continue 'yyl;
14420 }
14421 _ => {
14422 yystate = 1;
14423 continue 'yyl;
14424 }
14425 }
14426 }
14427 1 => {
14428 yystate = 2;
14429 continue 'yyl;
14430 }
14431 2 => {
14432 return None;
14433 }
14434 3 => {
14435 marker = cursor;
14436 yych = unsafe {
14437 if cursor < len {
14438 *s.as_bytes().get_unchecked(cursor)
14439 } else {
14440 255
14441 }
14442 };
14443 match yych {
14444 0x09..=0x0D | 0x20 => {
14445 cursor += 1;
14446 yystate = 4;
14447 continue 'yyl;
14448 }
14449 0x41..=0x5A => {
14450 cursor += 1;
14451 yystate = 6;
14452 continue 'yyl;
14453 }
14454 _ => {
14455 yystate = 2;
14456 continue 'yyl;
14457 }
14458 }
14459 }
14460 4 => {
14461 yych = unsafe {
14462 if cursor < len {
14463 *s.as_bytes().get_unchecked(cursor)
14464 } else {
14465 255
14466 }
14467 };
14468 match yych {
14469 0x00..=0x3D | 0x3F..=0xFE => {
14470 cursor += 1;
14471 yystate = 4;
14472 continue 'yyl;
14473 }
14474 _ => {
14475 yystate = 5;
14476 continue 'yyl;
14477 }
14478 }
14479 }
14480 5 => {
14481 return Some(cursor);
14482 }
14483 6 => {
14484 yych = unsafe {
14485 if cursor < len {
14486 *s.as_bytes().get_unchecked(cursor)
14487 } else {
14488 255
14489 }
14490 };
14491 match yych {
14492 0x09..=0x0D | 0x20 => {
14493 cursor += 1;
14494 yystate = 4;
14495 continue 'yyl;
14496 }
14497 0x41..=0x5A => {
14498 cursor += 1;
14499 yystate = 6;
14500 continue 'yyl;
14501 }
14502 _ => {
14503 yystate = 7;
14504 continue 'yyl;
14505 }
14506 }
14507 }
14508 7 => {
14509 cursor = marker;
14510 yystate = 2;
14511 continue 'yyl;
14512 }
14513 _ => panic!("internal lexer error"),
14514 }
14515 }
14516 }
14517 }
14518
14519 pub fn html_cdata(s: &str) -> Option<usize> {
14520 let mut cursor = 0;
14521 let mut marker = 0;
14522 let len = s.len();
14523
14524 {
14525 #[allow(unused_assignments)]
14526 let mut yych: u8 = 0;
14527 let mut yyaccept: usize = 0;
14528 let mut yystate: usize = 0;
14529 'yyl: loop {
14530 match yystate {
14531 0 => {
14532 yych = unsafe {
14533 if cursor < len {
14534 *s.as_bytes().get_unchecked(cursor)
14535 } else {
14536 255
14537 }
14538 };
14539 cursor += 1;
14540 match yych {
14541 0x43 | 0x63 => {
14542 yystate = 3;
14543 continue 'yyl;
14544 }
14545 _ => {
14546 yystate = 1;
14547 continue 'yyl;
14548 }
14549 }
14550 }
14551 1 => {
14552 yystate = 2;
14553 continue 'yyl;
14554 }
14555 2 => {
14556 return None;
14557 }
14558 3 => {
14559 yyaccept = 0;
14560 marker = cursor;
14561 yych = unsafe {
14562 if cursor < len {
14563 *s.as_bytes().get_unchecked(cursor)
14564 } else {
14565 255
14566 }
14567 };
14568 match yych {
14569 0x44 | 0x64 => {
14570 cursor += 1;
14571 yystate = 4;
14572 continue 'yyl;
14573 }
14574 _ => {
14575 yystate = 2;
14576 continue 'yyl;
14577 }
14578 }
14579 }
14580 4 => {
14581 yych = unsafe {
14582 if cursor < len {
14583 *s.as_bytes().get_unchecked(cursor)
14584 } else {
14585 255
14586 }
14587 };
14588 match yych {
14589 0x41 | 0x61 => {
14590 cursor += 1;
14591 yystate = 6;
14592 continue 'yyl;
14593 }
14594 _ => {
14595 yystate = 5;
14596 continue 'yyl;
14597 }
14598 }
14599 }
14600 5 => {
14601 cursor = marker;
14602 if yyaccept == 0 {
14603 yystate = 2;
14604 continue 'yyl;
14605 } else {
14606 yystate = 10;
14607 continue 'yyl;
14608 }
14609 }
14610 6 => {
14611 yych = unsafe {
14612 if cursor < len {
14613 *s.as_bytes().get_unchecked(cursor)
14614 } else {
14615 255
14616 }
14617 };
14618 match yych {
14619 0x54 | 0x74 => {
14620 cursor += 1;
14621 yystate = 7;
14622 continue 'yyl;
14623 }
14624 _ => {
14625 yystate = 5;
14626 continue 'yyl;
14627 }
14628 }
14629 }
14630 7 => {
14631 yych = unsafe {
14632 if cursor < len {
14633 *s.as_bytes().get_unchecked(cursor)
14634 } else {
14635 255
14636 }
14637 };
14638 match yych {
14639 0x41 | 0x61 => {
14640 cursor += 1;
14641 yystate = 8;
14642 continue 'yyl;
14643 }
14644 _ => {
14645 yystate = 5;
14646 continue 'yyl;
14647 }
14648 }
14649 }
14650 8 => {
14651 yych = unsafe {
14652 if cursor < len {
14653 *s.as_bytes().get_unchecked(cursor)
14654 } else {
14655 255
14656 }
14657 };
14658 match yych {
14659 0x5B => {
14660 cursor += 1;
14661 yystate = 9;
14662 continue 'yyl;
14663 }
14664 _ => {
14665 yystate = 5;
14666 continue 'yyl;
14667 }
14668 }
14669 }
14670 9 => {
14671 yyaccept = 1;
14672 marker = cursor;
14673 yych = unsafe {
14674 if cursor < len {
14675 *s.as_bytes().get_unchecked(cursor)
14676 } else {
14677 255
14678 }
14679 };
14680 match yych {
14681 0x00..=0x5C | 0x5E..=0xFE => {
14682 cursor += 1;
14683 yystate = 9;
14684 continue 'yyl;
14685 }
14686 0x5D => {
14687 cursor += 1;
14688 yystate = 11;
14689 continue 'yyl;
14690 }
14691 _ => {
14692 yystate = 10;
14693 continue 'yyl;
14694 }
14695 }
14696 }
14697 10 => {
14698 return Some(cursor);
14699 }
14700 11 => {
14701 yych = unsafe {
14702 if cursor < len {
14703 *s.as_bytes().get_unchecked(cursor)
14704 } else {
14705 255
14706 }
14707 };
14708 match yych {
14709 0x00..=0x5C | 0x5E..=0xFE => {
14710 cursor += 1;
14711 yystate = 9;
14712 continue 'yyl;
14713 }
14714 0x5D => {
14715 cursor += 1;
14716 yystate = 12;
14717 continue 'yyl;
14718 }
14719 _ => {
14720 yystate = 5;
14721 continue 'yyl;
14722 }
14723 }
14724 }
14725 12 => {
14726 yych = unsafe {
14727 if cursor < len {
14728 *s.as_bytes().get_unchecked(cursor)
14729 } else {
14730 255
14731 }
14732 };
14733 match yych {
14734 0x00..=0x3D | 0x3F..=0xFE => {
14735 cursor += 1;
14736 yystate = 9;
14737 continue 'yyl;
14738 }
14739 _ => {
14740 yystate = 5;
14741 continue 'yyl;
14742 }
14743 }
14744 }
14745 _ => panic!("internal lexer error"),
14746 }
14747 }
14748 }
14749 }
14750
14751 pub fn spacechars(s: &str) -> Option<usize> {
14752 let mut cursor = 0;
14753 let len = s.len();
14754
14755 {
14756 #[allow(unused_assignments)]
14757 let mut yych: u8 = 0;
14758 let mut yystate: usize = 0;
14759 'yyl: loop {
14760 match yystate {
14761 0 => {
14762 yych = unsafe {
14763 if cursor < len {
14764 *s.as_bytes().get_unchecked(cursor)
14765 } else {
14766 255
14767 }
14768 };
14769 cursor += 1;
14770 match yych {
14771 0x09..=0x0D | 0x20 => {
14772 yystate = 2;
14773 continue 'yyl;
14774 }
14775 _ => {
14776 yystate = 1;
14777 continue 'yyl;
14778 }
14779 }
14780 }
14781 1 => {
14782 return None;
14783 }
14784 2 => {
14785 yych = unsafe {
14786 if cursor < len {
14787 *s.as_bytes().get_unchecked(cursor)
14788 } else {
14789 255
14790 }
14791 };
14792 match yych {
14793 0x09..=0x0D | 0x20 => {
14794 cursor += 1;
14795 yystate = 2;
14796 continue 'yyl;
14797 }
14798 _ => {
14799 yystate = 3;
14800 continue 'yyl;
14801 }
14802 }
14803 }
14804 3 => {
14805 return Some(cursor);
14806 }
14807 _ => panic!("internal lexer error"),
14808 }
14809 }
14810 }
14811 }
14812
14813 pub fn link_title(s: &str) -> Option<usize> {
14814 let mut cursor = 0;
14815 let mut marker = 0;
14816 let len = s.len();
14817
14818 {
14819 #[allow(unused_assignments)]
14820 let mut yych: u8 = 0;
14821 let mut yyaccept: usize = 0;
14822 let mut yystate: usize = 0;
14823 'yyl: loop {
14824 match yystate {
14825 0 => {
14826 yych = unsafe {
14827 if cursor < len {
14828 *s.as_bytes().get_unchecked(cursor)
14829 } else {
14830 255
14831 }
14832 };
14833 cursor += 1;
14834 match yych {
14835 0x22 => {
14836 yystate = 3;
14837 continue 'yyl;
14838 }
14839 0x27 => {
14840 yystate = 4;
14841 continue 'yyl;
14842 }
14843 0x28 => {
14844 yystate = 5;
14845 continue 'yyl;
14846 }
14847 _ => {
14848 yystate = 1;
14849 continue 'yyl;
14850 }
14851 }
14852 }
14853 1 => {
14854 yystate = 2;
14855 continue 'yyl;
14856 }
14857 2 => {
14858 return None;
14859 }
14860 3 => {
14861 yyaccept = 0;
14862 marker = cursor;
14863 yych = unsafe {
14864 if cursor < len {
14865 *s.as_bytes().get_unchecked(cursor)
14866 } else {
14867 255
14868 }
14869 };
14870 if yych <= 0xFE {
14871 yystate = 7;
14872 continue 'yyl;
14873 }
14874 yystate = 2;
14875 continue 'yyl;
14876 }
14877 4 => {
14878 yyaccept = 0;
14879 marker = cursor;
14880 yych = unsafe {
14881 if cursor < len {
14882 *s.as_bytes().get_unchecked(cursor)
14883 } else {
14884 255
14885 }
14886 };
14887 if yych <= 0xFE {
14888 yystate = 13;
14889 continue 'yyl;
14890 }
14891 yystate = 2;
14892 continue 'yyl;
14893 }
14894 5 => {
14895 yyaccept = 0;
14896 marker = cursor;
14897 yych = unsafe {
14898 if cursor < len {
14899 *s.as_bytes().get_unchecked(cursor)
14900 } else {
14901 255
14902 }
14903 };
14904 match yych {
14905 0x00..=0x27 | 0x29..=0xFE => {
14906 yystate = 18;
14907 continue 'yyl;
14908 }
14909 _ => {
14910 yystate = 2;
14911 continue 'yyl;
14912 }
14913 }
14914 }
14915 6 => {
14916 yych = unsafe {
14917 if cursor < len {
14918 *s.as_bytes().get_unchecked(cursor)
14919 } else {
14920 255
14921 }
14922 };
14923 yystate = 7;
14924 continue 'yyl;
14925 }
14926 7 => match yych {
14927 0x00..=0x21 | 0x23..=0x5B | 0x5D..=0xFE => {
14928 cursor += 1;
14929 yystate = 6;
14930 continue 'yyl;
14931 }
14932 0x22 => {
14933 cursor += 1;
14934 yystate = 9;
14935 continue 'yyl;
14936 }
14937 0x5C => {
14938 cursor += 1;
14939 yystate = 11;
14940 continue 'yyl;
14941 }
14942 _ => {
14943 yystate = 8;
14944 continue 'yyl;
14945 }
14946 },
14947 8 => {
14948 cursor = marker;
14949 match yyaccept {
14950 0 => {
14951 yystate = 2;
14952 continue 'yyl;
14953 }
14954 1 => {
14955 yystate = 10;
14956 continue 'yyl;
14957 }
14958 2 => {
14959 yystate = 15;
14960 continue 'yyl;
14961 }
14962 _ => {
14963 yystate = 20;
14964 continue 'yyl;
14965 }
14966 }
14967 }
14968 9 => {
14969 yystate = 10;
14970 continue 'yyl;
14971 }
14972 10 => {
14973 return Some(cursor);
14974 }
14975 11 => {
14976 yych = unsafe {
14977 if cursor < len {
14978 *s.as_bytes().get_unchecked(cursor)
14979 } else {
14980 255
14981 }
14982 };
14983 match yych {
14984 0x00..=0x21 | 0x23..=0x5B | 0x5D..=0xFE => {
14985 cursor += 1;
14986 yystate = 6;
14987 continue 'yyl;
14988 }
14989 0x22 => {
14990 cursor += 1;
14991 yystate = 22;
14992 continue 'yyl;
14993 }
14994 0x5C => {
14995 cursor += 1;
14996 yystate = 11;
14997 continue 'yyl;
14998 }
14999 _ => {
15000 yystate = 8;
15001 continue 'yyl;
15002 }
15003 }
15004 }
15005 12 => {
15006 yych = unsafe {
15007 if cursor < len {
15008 *s.as_bytes().get_unchecked(cursor)
15009 } else {
15010 255
15011 }
15012 };
15013 yystate = 13;
15014 continue 'yyl;
15015 }
15016 13 => match yych {
15017 0x00..=0x26 | 0x28..=0x5B | 0x5D..=0xFE => {
15018 cursor += 1;
15019 yystate = 12;
15020 continue 'yyl;
15021 }
15022 0x27 => {
15023 cursor += 1;
15024 yystate = 14;
15025 continue 'yyl;
15026 }
15027 0x5C => {
15028 cursor += 1;
15029 yystate = 16;
15030 continue 'yyl;
15031 }
15032 _ => {
15033 yystate = 8;
15034 continue 'yyl;
15035 }
15036 },
15037 14 => {
15038 yystate = 15;
15039 continue 'yyl;
15040 }
15041 15 => {
15042 return Some(cursor);
15043 }
15044 16 => {
15045 yych = unsafe {
15046 if cursor < len {
15047 *s.as_bytes().get_unchecked(cursor)
15048 } else {
15049 255
15050 }
15051 };
15052 match yych {
15053 0x00..=0x26 | 0x28..=0x5B | 0x5D..=0xFE => {
15054 cursor += 1;
15055 yystate = 12;
15056 continue 'yyl;
15057 }
15058 0x27 => {
15059 cursor += 1;
15060 yystate = 23;
15061 continue 'yyl;
15062 }
15063 0x5C => {
15064 cursor += 1;
15065 yystate = 16;
15066 continue 'yyl;
15067 }
15068 _ => {
15069 yystate = 8;
15070 continue 'yyl;
15071 }
15072 }
15073 }
15074 17 => {
15075 yych = unsafe {
15076 if cursor < len {
15077 *s.as_bytes().get_unchecked(cursor)
15078 } else {
15079 255
15080 }
15081 };
15082 yystate = 18;
15083 continue 'yyl;
15084 }
15085 18 => match yych {
15086 0x00..=0x27 | 0x2A..=0x5B | 0x5D..=0xFE => {
15087 cursor += 1;
15088 yystate = 17;
15089 continue 'yyl;
15090 }
15091 0x29 => {
15092 cursor += 1;
15093 yystate = 19;
15094 continue 'yyl;
15095 }
15096 0x5C => {
15097 cursor += 1;
15098 yystate = 21;
15099 continue 'yyl;
15100 }
15101 _ => {
15102 yystate = 8;
15103 continue 'yyl;
15104 }
15105 },
15106 19 => {
15107 yystate = 20;
15108 continue 'yyl;
15109 }
15110 20 => {
15111 return Some(cursor);
15112 }
15113 21 => {
15114 yych = unsafe {
15115 if cursor < len {
15116 *s.as_bytes().get_unchecked(cursor)
15117 } else {
15118 255
15119 }
15120 };
15121 match yych {
15122 0x00..=0x28 | 0x2A..=0x5B | 0x5D..=0xFE => {
15123 cursor += 1;
15124 yystate = 17;
15125 continue 'yyl;
15126 }
15127 0x29 => {
15128 cursor += 1;
15129 yystate = 24;
15130 continue 'yyl;
15131 }
15132 0x5C => {
15133 cursor += 1;
15134 yystate = 21;
15135 continue 'yyl;
15136 }
15137 _ => {
15138 yystate = 8;
15139 continue 'yyl;
15140 }
15141 }
15142 }
15143 22 => {
15144 yyaccept = 1;
15145 marker = cursor;
15146 yych = unsafe {
15147 if cursor < len {
15148 *s.as_bytes().get_unchecked(cursor)
15149 } else {
15150 255
15151 }
15152 };
15153 match yych {
15154 0x00..=0x21 | 0x23..=0x5B | 0x5D..=0xFE => {
15155 cursor += 1;
15156 yystate = 6;
15157 continue 'yyl;
15158 }
15159 0x22 => {
15160 cursor += 1;
15161 yystate = 9;
15162 continue 'yyl;
15163 }
15164 0x5C => {
15165 cursor += 1;
15166 yystate = 11;
15167 continue 'yyl;
15168 }
15169 _ => {
15170 yystate = 10;
15171 continue 'yyl;
15172 }
15173 }
15174 }
15175 23 => {
15176 yyaccept = 2;
15177 marker = cursor;
15178 yych = unsafe {
15179 if cursor < len {
15180 *s.as_bytes().get_unchecked(cursor)
15181 } else {
15182 255
15183 }
15184 };
15185 match yych {
15186 0x00..=0x26 | 0x28..=0x5B | 0x5D..=0xFE => {
15187 cursor += 1;
15188 yystate = 12;
15189 continue 'yyl;
15190 }
15191 0x27 => {
15192 cursor += 1;
15193 yystate = 14;
15194 continue 'yyl;
15195 }
15196 0x5C => {
15197 cursor += 1;
15198 yystate = 16;
15199 continue 'yyl;
15200 }
15201 _ => {
15202 yystate = 15;
15203 continue 'yyl;
15204 }
15205 }
15206 }
15207 24 => {
15208 yyaccept = 3;
15209 marker = cursor;
15210 yych = unsafe {
15211 if cursor < len {
15212 *s.as_bytes().get_unchecked(cursor)
15213 } else {
15214 255
15215 }
15216 };
15217 match yych {
15218 0x00..=0x27 | 0x2A..=0x5B | 0x5D..=0xFE => {
15219 cursor += 1;
15220 yystate = 17;
15221 continue 'yyl;
15222 }
15223 0x29 => {
15224 cursor += 1;
15225 yystate = 19;
15226 continue 'yyl;
15227 }
15228 0x5C => {
15229 cursor += 1;
15230 yystate = 21;
15231 continue 'yyl;
15232 }
15233 _ => {
15234 yystate = 20;
15235 continue 'yyl;
15236 }
15237 }
15238 }
15239 _ => panic!("internal lexer error"),
15240 }
15241 }
15242 }
15243 }
15244
15245 pub fn dangerous_url(s: &str) -> Option<usize> {
15246 let mut cursor = 0;
15247 let mut marker = 0;
15248 let len = s.len();
15249
15250 {
15251 #[allow(unused_assignments)]
15252 let mut yych: u8 = 0;
15253 let mut yyaccept: usize = 0;
15254 let mut yystate: usize = 0;
15255 'yyl: loop {
15256 match yystate {
15257 0 => {
15258 yych = unsafe {
15259 if cursor < len {
15260 *s.as_bytes().get_unchecked(cursor)
15261 } else {
15262 255
15263 }
15264 };
15265 cursor += 1;
15266 match yych {
15267 0x44 | 0x64 => {
15268 yystate = 3;
15269 continue 'yyl;
15270 }
15271 0x46 | 0x66 => {
15272 yystate = 4;
15273 continue 'yyl;
15274 }
15275 0x4A | 0x6A => {
15276 yystate = 5;
15277 continue 'yyl;
15278 }
15279 0x56 | 0x76 => {
15280 yystate = 6;
15281 continue 'yyl;
15282 }
15283 _ => {
15284 yystate = 1;
15285 continue 'yyl;
15286 }
15287 }
15288 }
15289 1 => {
15290 yystate = 2;
15291 continue 'yyl;
15292 }
15293 2 => {
15294 return None;
15295 }
15296 3 => {
15297 yyaccept = 0;
15298 marker = cursor;
15299 yych = unsafe {
15300 if cursor < len {
15301 *s.as_bytes().get_unchecked(cursor)
15302 } else {
15303 255
15304 }
15305 };
15306 match yych {
15307 0x41 | 0x61 => {
15308 cursor += 1;
15309 yystate = 7;
15310 continue 'yyl;
15311 }
15312 _ => {
15313 yystate = 2;
15314 continue 'yyl;
15315 }
15316 }
15317 }
15318 4 => {
15319 yyaccept = 0;
15320 marker = cursor;
15321 yych = unsafe {
15322 if cursor < len {
15323 *s.as_bytes().get_unchecked(cursor)
15324 } else {
15325 255
15326 }
15327 };
15328 match yych {
15329 0x49 | 0x69 => {
15330 cursor += 1;
15331 yystate = 9;
15332 continue 'yyl;
15333 }
15334 _ => {
15335 yystate = 2;
15336 continue 'yyl;
15337 }
15338 }
15339 }
15340 5 => {
15341 yyaccept = 0;
15342 marker = cursor;
15343 yych = unsafe {
15344 if cursor < len {
15345 *s.as_bytes().get_unchecked(cursor)
15346 } else {
15347 255
15348 }
15349 };
15350 match yych {
15351 0x41 | 0x61 => {
15352 cursor += 1;
15353 yystate = 10;
15354 continue 'yyl;
15355 }
15356 _ => {
15357 yystate = 2;
15358 continue 'yyl;
15359 }
15360 }
15361 }
15362 6 => {
15363 yyaccept = 0;
15364 marker = cursor;
15365 yych = unsafe {
15366 if cursor < len {
15367 *s.as_bytes().get_unchecked(cursor)
15368 } else {
15369 255
15370 }
15371 };
15372 match yych {
15373 0x42 | 0x62 => {
15374 cursor += 1;
15375 yystate = 11;
15376 continue 'yyl;
15377 }
15378 _ => {
15379 yystate = 2;
15380 continue 'yyl;
15381 }
15382 }
15383 }
15384 7 => {
15385 yych = unsafe {
15386 if cursor < len {
15387 *s.as_bytes().get_unchecked(cursor)
15388 } else {
15389 255
15390 }
15391 };
15392 match yych {
15393 0x54 | 0x74 => {
15394 cursor += 1;
15395 yystate = 12;
15396 continue 'yyl;
15397 }
15398 _ => {
15399 yystate = 8;
15400 continue 'yyl;
15401 }
15402 }
15403 }
15404 8 => {
15405 cursor = marker;
15406 if yyaccept == 0 {
15407 yystate = 2;
15408 continue 'yyl;
15409 } else {
15410 yystate = 20;
15411 continue 'yyl;
15412 }
15413 }
15414 9 => {
15415 yych = unsafe {
15416 if cursor < len {
15417 *s.as_bytes().get_unchecked(cursor)
15418 } else {
15419 255
15420 }
15421 };
15422 match yych {
15423 0x4C | 0x6C => {
15424 cursor += 1;
15425 yystate = 13;
15426 continue 'yyl;
15427 }
15428 _ => {
15429 yystate = 8;
15430 continue 'yyl;
15431 }
15432 }
15433 }
15434 10 => {
15435 yych = unsafe {
15436 if cursor < len {
15437 *s.as_bytes().get_unchecked(cursor)
15438 } else {
15439 255
15440 }
15441 };
15442 match yych {
15443 0x56 | 0x76 => {
15444 cursor += 1;
15445 yystate = 14;
15446 continue 'yyl;
15447 }
15448 _ => {
15449 yystate = 8;
15450 continue 'yyl;
15451 }
15452 }
15453 }
15454 11 => {
15455 yych = unsafe {
15456 if cursor < len {
15457 *s.as_bytes().get_unchecked(cursor)
15458 } else {
15459 255
15460 }
15461 };
15462 match yych {
15463 0x53 | 0x73 => {
15464 cursor += 1;
15465 yystate = 15;
15466 continue 'yyl;
15467 }
15468 _ => {
15469 yystate = 8;
15470 continue 'yyl;
15471 }
15472 }
15473 }
15474 12 => {
15475 yych = unsafe {
15476 if cursor < len {
15477 *s.as_bytes().get_unchecked(cursor)
15478 } else {
15479 255
15480 }
15481 };
15482 match yych {
15483 0x41 | 0x61 => {
15484 cursor += 1;
15485 yystate = 16;
15486 continue 'yyl;
15487 }
15488 _ => {
15489 yystate = 8;
15490 continue 'yyl;
15491 }
15492 }
15493 }
15494 13 => {
15495 yych = unsafe {
15496 if cursor < len {
15497 *s.as_bytes().get_unchecked(cursor)
15498 } else {
15499 255
15500 }
15501 };
15502 match yych {
15503 0x45 | 0x65 => {
15504 cursor += 1;
15505 yystate = 17;
15506 continue 'yyl;
15507 }
15508 _ => {
15509 yystate = 8;
15510 continue 'yyl;
15511 }
15512 }
15513 }
15514 14 => {
15515 yych = unsafe {
15516 if cursor < len {
15517 *s.as_bytes().get_unchecked(cursor)
15518 } else {
15519 255
15520 }
15521 };
15522 match yych {
15523 0x41 | 0x61 => {
15524 cursor += 1;
15525 yystate = 11;
15526 continue 'yyl;
15527 }
15528 _ => {
15529 yystate = 8;
15530 continue 'yyl;
15531 }
15532 }
15533 }
15534 15 => {
15535 yych = unsafe {
15536 if cursor < len {
15537 *s.as_bytes().get_unchecked(cursor)
15538 } else {
15539 255
15540 }
15541 };
15542 match yych {
15543 0x43 | 0x63 => {
15544 cursor += 1;
15545 yystate = 18;
15546 continue 'yyl;
15547 }
15548 _ => {
15549 yystate = 8;
15550 continue 'yyl;
15551 }
15552 }
15553 }
15554 16 => {
15555 yych = unsafe {
15556 if cursor < len {
15557 *s.as_bytes().get_unchecked(cursor)
15558 } else {
15559 255
15560 }
15561 };
15562 match yych {
15563 0x3A => {
15564 cursor += 1;
15565 yystate = 19;
15566 continue 'yyl;
15567 }
15568 _ => {
15569 yystate = 8;
15570 continue 'yyl;
15571 }
15572 }
15573 }
15574 17 => {
15575 yych = unsafe {
15576 if cursor < len {
15577 *s.as_bytes().get_unchecked(cursor)
15578 } else {
15579 255
15580 }
15581 };
15582 match yych {
15583 0x3A => {
15584 cursor += 1;
15585 yystate = 21;
15586 continue 'yyl;
15587 }
15588 _ => {
15589 yystate = 8;
15590 continue 'yyl;
15591 }
15592 }
15593 }
15594 18 => {
15595 yych = unsafe {
15596 if cursor < len {
15597 *s.as_bytes().get_unchecked(cursor)
15598 } else {
15599 255
15600 }
15601 };
15602 match yych {
15603 0x52 | 0x72 => {
15604 cursor += 1;
15605 yystate = 22;
15606 continue 'yyl;
15607 }
15608 _ => {
15609 yystate = 8;
15610 continue 'yyl;
15611 }
15612 }
15613 }
15614 19 => {
15615 yyaccept = 1;
15616 marker = cursor;
15617 yych = unsafe {
15618 if cursor < len {
15619 *s.as_bytes().get_unchecked(cursor)
15620 } else {
15621 255
15622 }
15623 };
15624 match yych {
15625 0x49 | 0x69 => {
15626 cursor += 1;
15627 yystate = 23;
15628 continue 'yyl;
15629 }
15630 _ => {
15631 yystate = 20;
15632 continue 'yyl;
15633 }
15634 }
15635 }
15636 20 => {
15637 return Some(cursor);
15638 }
15639 21 => {
15640 yystate = 20;
15641 continue 'yyl;
15642 }
15643 22 => {
15644 yych = unsafe {
15645 if cursor < len {
15646 *s.as_bytes().get_unchecked(cursor)
15647 } else {
15648 255
15649 }
15650 };
15651 match yych {
15652 0x49 | 0x69 => {
15653 cursor += 1;
15654 yystate = 24;
15655 continue 'yyl;
15656 }
15657 _ => {
15658 yystate = 8;
15659 continue 'yyl;
15660 }
15661 }
15662 }
15663 23 => {
15664 yych = unsafe {
15665 if cursor < len {
15666 *s.as_bytes().get_unchecked(cursor)
15667 } else {
15668 255
15669 }
15670 };
15671 match yych {
15672 0x4D | 0x6D => {
15673 cursor += 1;
15674 yystate = 25;
15675 continue 'yyl;
15676 }
15677 _ => {
15678 yystate = 8;
15679 continue 'yyl;
15680 }
15681 }
15682 }
15683 24 => {
15684 yych = unsafe {
15685 if cursor < len {
15686 *s.as_bytes().get_unchecked(cursor)
15687 } else {
15688 255
15689 }
15690 };
15691 match yych {
15692 0x50 | 0x70 => {
15693 cursor += 1;
15694 yystate = 26;
15695 continue 'yyl;
15696 }
15697 _ => {
15698 yystate = 8;
15699 continue 'yyl;
15700 }
15701 }
15702 }
15703 25 => {
15704 yych = unsafe {
15705 if cursor < len {
15706 *s.as_bytes().get_unchecked(cursor)
15707 } else {
15708 255
15709 }
15710 };
15711 match yych {
15712 0x41 | 0x61 => {
15713 cursor += 1;
15714 yystate = 27;
15715 continue 'yyl;
15716 }
15717 _ => {
15718 yystate = 8;
15719 continue 'yyl;
15720 }
15721 }
15722 }
15723 26 => {
15724 yych = unsafe {
15725 if cursor < len {
15726 *s.as_bytes().get_unchecked(cursor)
15727 } else {
15728 255
15729 }
15730 };
15731 match yych {
15732 0x54 | 0x74 => {
15733 cursor += 1;
15734 yystate = 17;
15735 continue 'yyl;
15736 }
15737 _ => {
15738 yystate = 8;
15739 continue 'yyl;
15740 }
15741 }
15742 }
15743 27 => {
15744 yych = unsafe {
15745 if cursor < len {
15746 *s.as_bytes().get_unchecked(cursor)
15747 } else {
15748 255
15749 }
15750 };
15751 match yych {
15752 0x47 | 0x67 => {
15753 cursor += 1;
15754 yystate = 28;
15755 continue 'yyl;
15756 }
15757 _ => {
15758 yystate = 8;
15759 continue 'yyl;
15760 }
15761 }
15762 }
15763 28 => {
15764 yych = unsafe {
15765 if cursor < len {
15766 *s.as_bytes().get_unchecked(cursor)
15767 } else {
15768 255
15769 }
15770 };
15771 match yych {
15772 0x45 | 0x65 => {
15773 cursor += 1;
15774 yystate = 29;
15775 continue 'yyl;
15776 }
15777 _ => {
15778 yystate = 8;
15779 continue 'yyl;
15780 }
15781 }
15782 }
15783 29 => {
15784 yych = unsafe {
15785 if cursor < len {
15786 *s.as_bytes().get_unchecked(cursor)
15787 } else {
15788 255
15789 }
15790 };
15791 match yych {
15792 0x2F => {
15793 cursor += 1;
15794 yystate = 30;
15795 continue 'yyl;
15796 }
15797 _ => {
15798 yystate = 8;
15799 continue 'yyl;
15800 }
15801 }
15802 }
15803 30 => {
15804 yych = unsafe {
15805 if cursor < len {
15806 *s.as_bytes().get_unchecked(cursor)
15807 } else {
15808 255
15809 }
15810 };
15811 match yych {
15812 0x47 | 0x67 => {
15813 cursor += 1;
15814 yystate = 31;
15815 continue 'yyl;
15816 }
15817 0x4A | 0x6A => {
15818 cursor += 1;
15819 yystate = 32;
15820 continue 'yyl;
15821 }
15822 0x50 | 0x70 => {
15823 cursor += 1;
15824 yystate = 33;
15825 continue 'yyl;
15826 }
15827 0x57 | 0x77 => {
15828 cursor += 1;
15829 yystate = 34;
15830 continue 'yyl;
15831 }
15832 _ => {
15833 yystate = 8;
15834 continue 'yyl;
15835 }
15836 }
15837 }
15838 31 => {
15839 yych = unsafe {
15840 if cursor < len {
15841 *s.as_bytes().get_unchecked(cursor)
15842 } else {
15843 255
15844 }
15845 };
15846 match yych {
15847 0x49 | 0x69 => {
15848 cursor += 1;
15849 yystate = 35;
15850 continue 'yyl;
15851 }
15852 _ => {
15853 yystate = 8;
15854 continue 'yyl;
15855 }
15856 }
15857 }
15858 32 => {
15859 yych = unsafe {
15860 if cursor < len {
15861 *s.as_bytes().get_unchecked(cursor)
15862 } else {
15863 255
15864 }
15865 };
15866 match yych {
15867 0x50 | 0x70 => {
15868 cursor += 1;
15869 yystate = 36;
15870 continue 'yyl;
15871 }
15872 _ => {
15873 yystate = 8;
15874 continue 'yyl;
15875 }
15876 }
15877 }
15878 33 => {
15879 yych = unsafe {
15880 if cursor < len {
15881 *s.as_bytes().get_unchecked(cursor)
15882 } else {
15883 255
15884 }
15885 };
15886 match yych {
15887 0x4E | 0x6E => {
15888 cursor += 1;
15889 yystate = 37;
15890 continue 'yyl;
15891 }
15892 _ => {
15893 yystate = 8;
15894 continue 'yyl;
15895 }
15896 }
15897 }
15898 34 => {
15899 yych = unsafe {
15900 if cursor < len {
15901 *s.as_bytes().get_unchecked(cursor)
15902 } else {
15903 255
15904 }
15905 };
15906 match yych {
15907 0x45 | 0x65 => {
15908 cursor += 1;
15909 yystate = 38;
15910 continue 'yyl;
15911 }
15912 _ => {
15913 yystate = 8;
15914 continue 'yyl;
15915 }
15916 }
15917 }
15918 35 => {
15919 yych = unsafe {
15920 if cursor < len {
15921 *s.as_bytes().get_unchecked(cursor)
15922 } else {
15923 255
15924 }
15925 };
15926 match yych {
15927 0x46 | 0x66 => {
15928 cursor += 1;
15929 yystate = 39;
15930 continue 'yyl;
15931 }
15932 _ => {
15933 yystate = 8;
15934 continue 'yyl;
15935 }
15936 }
15937 }
15938 36 => {
15939 yych = unsafe {
15940 if cursor < len {
15941 *s.as_bytes().get_unchecked(cursor)
15942 } else {
15943 255
15944 }
15945 };
15946 match yych {
15947 0x45 | 0x65 => {
15948 cursor += 1;
15949 yystate = 37;
15950 continue 'yyl;
15951 }
15952 _ => {
15953 yystate = 8;
15954 continue 'yyl;
15955 }
15956 }
15957 }
15958 37 => {
15959 yych = unsafe {
15960 if cursor < len {
15961 *s.as_bytes().get_unchecked(cursor)
15962 } else {
15963 255
15964 }
15965 };
15966 match yych {
15967 0x47 | 0x67 => {
15968 cursor += 1;
15969 yystate = 39;
15970 continue 'yyl;
15971 }
15972 _ => {
15973 yystate = 8;
15974 continue 'yyl;
15975 }
15976 }
15977 }
15978 38 => {
15979 yych = unsafe {
15980 if cursor < len {
15981 *s.as_bytes().get_unchecked(cursor)
15982 } else {
15983 255
15984 }
15985 };
15986 match yych {
15987 0x42 | 0x62 => {
15988 cursor += 1;
15989 yystate = 40;
15990 continue 'yyl;
15991 }
15992 _ => {
15993 yystate = 8;
15994 continue 'yyl;
15995 }
15996 }
15997 }
15998 39 => {
15999 return None;
16000 }
16001 40 => {
16002 yych = unsafe {
16003 if cursor < len {
16004 *s.as_bytes().get_unchecked(cursor)
16005 } else {
16006 255
16007 }
16008 };
16009 match yych {
16010 0x50 | 0x70 => {
16011 cursor += 1;
16012 yystate = 39;
16013 continue 'yyl;
16014 }
16015 _ => {
16016 yystate = 8;
16017 continue 'yyl;
16018 }
16019 }
16020 }
16021 _ => panic!("internal lexer error"),
16022 }
16023 }
16024 }
16025 }
16026
16027 pub fn ipv6_url_start(s: &str) -> Option<usize> {
16028 let mut cursor = 0;
16029 let mut marker = 0;
16030 let len = s.len();
16031
16032 {
16033 #[allow(unused_assignments)]
16034 let mut yych: u8 = 0;
16035 let mut yystate: usize = 0;
16036 'yyl: loop {
16037 match yystate {
16038 0 => {
16039 yych = unsafe {
16040 if cursor < len {
16041 *s.as_bytes().get_unchecked(cursor)
16042 } else {
16043 255
16044 }
16045 };
16046 cursor += 1;
16047 match yych {
16048 0x48 | 0x68 => {
16049 yystate = 3;
16050 continue 'yyl;
16051 }
16052 _ => {
16053 yystate = 1;
16054 continue 'yyl;
16055 }
16056 }
16057 }
16058 1 => {
16059 yystate = 2;
16060 continue 'yyl;
16061 }
16062 2 => {
16063 return None;
16064 }
16065 3 => {
16066 marker = cursor;
16067 yych = unsafe {
16068 if cursor < len {
16069 *s.as_bytes().get_unchecked(cursor)
16070 } else {
16071 255
16072 }
16073 };
16074 match yych {
16075 0x54 | 0x74 => {
16076 cursor += 1;
16077 yystate = 4;
16078 continue 'yyl;
16079 }
16080 _ => {
16081 yystate = 2;
16082 continue 'yyl;
16083 }
16084 }
16085 }
16086 4 => {
16087 yych = unsafe {
16088 if cursor < len {
16089 *s.as_bytes().get_unchecked(cursor)
16090 } else {
16091 255
16092 }
16093 };
16094 match yych {
16095 0x54 | 0x74 => {
16096 cursor += 1;
16097 yystate = 6;
16098 continue 'yyl;
16099 }
16100 _ => {
16101 yystate = 5;
16102 continue 'yyl;
16103 }
16104 }
16105 }
16106 5 => {
16107 cursor = marker;
16108 yystate = 2;
16109 continue 'yyl;
16110 }
16111 6 => {
16112 yych = unsafe {
16113 if cursor < len {
16114 *s.as_bytes().get_unchecked(cursor)
16115 } else {
16116 255
16117 }
16118 };
16119 match yych {
16120 0x50 | 0x70 => {
16121 cursor += 1;
16122 yystate = 7;
16123 continue 'yyl;
16124 }
16125 _ => {
16126 yystate = 5;
16127 continue 'yyl;
16128 }
16129 }
16130 }
16131 7 => {
16132 yych = unsafe {
16133 if cursor < len {
16134 *s.as_bytes().get_unchecked(cursor)
16135 } else {
16136 255
16137 }
16138 };
16139 match yych {
16140 0x3A => {
16141 cursor += 1;
16142 yystate = 8;
16143 continue 'yyl;
16144 }
16145 0x73 => {
16146 cursor += 1;
16147 yystate = 9;
16148 continue 'yyl;
16149 }
16150 _ => {
16151 yystate = 5;
16152 continue 'yyl;
16153 }
16154 }
16155 }
16156 8 => {
16157 yych = unsafe {
16158 if cursor < len {
16159 *s.as_bytes().get_unchecked(cursor)
16160 } else {
16161 255
16162 }
16163 };
16164 match yych {
16165 0x2F => {
16166 cursor += 1;
16167 yystate = 10;
16168 continue 'yyl;
16169 }
16170 _ => {
16171 yystate = 5;
16172 continue 'yyl;
16173 }
16174 }
16175 }
16176 9 => {
16177 yych = unsafe {
16178 if cursor < len {
16179 *s.as_bytes().get_unchecked(cursor)
16180 } else {
16181 255
16182 }
16183 };
16184 match yych {
16185 0x3A => {
16186 cursor += 1;
16187 yystate = 8;
16188 continue 'yyl;
16189 }
16190 _ => {
16191 yystate = 5;
16192 continue 'yyl;
16193 }
16194 }
16195 }
16196 10 => {
16197 yych = unsafe {
16198 if cursor < len {
16199 *s.as_bytes().get_unchecked(cursor)
16200 } else {
16201 255
16202 }
16203 };
16204 match yych {
16205 0x2F => {
16206 cursor += 1;
16207 yystate = 11;
16208 continue 'yyl;
16209 }
16210 _ => {
16211 yystate = 5;
16212 continue 'yyl;
16213 }
16214 }
16215 }
16216 11 => {
16217 yych = unsafe {
16218 if cursor < len {
16219 *s.as_bytes().get_unchecked(cursor)
16220 } else {
16221 255
16222 }
16223 };
16224 match yych {
16225 0x5B => {
16226 cursor += 1;
16227 yystate = 12;
16228 continue 'yyl;
16229 }
16230 _ => {
16231 yystate = 5;
16232 continue 'yyl;
16233 }
16234 }
16235 }
16236 12 => {
16237 yych = unsafe {
16238 if cursor < len {
16239 *s.as_bytes().get_unchecked(cursor)
16240 } else {
16241 255
16242 }
16243 };
16244 match yych {
16245 0x25 | 0x5D => {
16246 yystate = 5;
16247 continue 'yyl;
16248 }
16249 _ => {
16250 yystate = 14;
16251 continue 'yyl;
16252 }
16253 }
16254 }
16255 13 => {
16256 yych = unsafe {
16257 if cursor < len {
16258 *s.as_bytes().get_unchecked(cursor)
16259 } else {
16260 255
16261 }
16262 };
16263 yystate = 14;
16264 continue 'yyl;
16265 }
16266 14 => match yych {
16267 0x25 => {
16268 cursor += 1;
16269 yystate = 15;
16270 continue 'yyl;
16271 }
16272 0x30..=0x3A | 0x41..=0x46 | 0x61..=0x66 => {
16273 cursor += 1;
16274 yystate = 13;
16275 continue 'yyl;
16276 }
16277 0x5D => {
16278 cursor += 1;
16279 yystate = 16;
16280 continue 'yyl;
16281 }
16282 _ => {
16283 yystate = 5;
16284 continue 'yyl;
16285 }
16286 },
16287 15 => {
16288 yych = unsafe {
16289 if cursor < len {
16290 *s.as_bytes().get_unchecked(cursor)
16291 } else {
16292 255
16293 }
16294 };
16295 match yych {
16296 0x32 => {
16297 cursor += 1;
16298 yystate = 17;
16299 continue 'yyl;
16300 }
16301 _ => {
16302 yystate = 5;
16303 continue 'yyl;
16304 }
16305 }
16306 }
16307 16 => {
16308 return Some(cursor);
16309 }
16310 17 => {
16311 yych = unsafe {
16312 if cursor < len {
16313 *s.as_bytes().get_unchecked(cursor)
16314 } else {
16315 255
16316 }
16317 };
16318 match yych {
16319 0x35 => {
16320 cursor += 1;
16321 yystate = 18;
16322 continue 'yyl;
16323 }
16324 _ => {
16325 yystate = 5;
16326 continue 'yyl;
16327 }
16328 }
16329 }
16330 18 => {
16331 yych = unsafe {
16332 if cursor < len {
16333 *s.as_bytes().get_unchecked(cursor)
16334 } else {
16335 255
16336 }
16337 };
16338 match yych {
16339 0x5D => {
16340 yystate = 5;
16341 continue 'yyl;
16342 }
16343 _ => {
16344 yystate = 20;
16345 continue 'yyl;
16346 }
16347 }
16348 }
16349 19 => {
16350 yych = unsafe {
16351 if cursor < len {
16352 *s.as_bytes().get_unchecked(cursor)
16353 } else {
16354 255
16355 }
16356 };
16357 yystate = 20;
16358 continue 'yyl;
16359 }
16360 20 => match yych {
16361 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
16362 cursor += 1;
16363 yystate = 19;
16364 continue 'yyl;
16365 }
16366 0x5D => {
16367 cursor += 1;
16368 yystate = 16;
16369 continue 'yyl;
16370 }
16371 _ => {
16372 yystate = 5;
16373 continue 'yyl;
16374 }
16375 },
16376 _ => panic!("internal lexer error"),
16377 }
16378 }
16379 }
16380 }
16381
16382 pub fn ipv6_relaxed_url_start(s: &str) -> Option<usize> {
16383 let mut cursor = 0;
16384 let mut marker = 0;
16385 let len = s.len();
16386
16387 {
16388 #[allow(unused_assignments)]
16389 let mut yych: u8 = 0;
16390 let mut yystate: usize = 0;
16391 'yyl: loop {
16392 match yystate {
16393 0 => {
16394 yych = unsafe {
16395 if cursor < len {
16396 *s.as_bytes().get_unchecked(cursor)
16397 } else {
16398 255
16399 }
16400 };
16401 cursor += 1;
16402 match yych {
16403 0x61..=0x7A => {
16404 yystate = 3;
16405 continue 'yyl;
16406 }
16407 _ => {
16408 yystate = 1;
16409 continue 'yyl;
16410 }
16411 }
16412 }
16413 1 => {
16414 yystate = 2;
16415 continue 'yyl;
16416 }
16417 2 => {
16418 return None;
16419 }
16420 3 => {
16421 marker = cursor;
16422 yych = unsafe {
16423 if cursor < len {
16424 *s.as_bytes().get_unchecked(cursor)
16425 } else {
16426 255
16427 }
16428 };
16429 match yych {
16430 0x3A => {
16431 cursor += 1;
16432 yystate = 4;
16433 continue 'yyl;
16434 }
16435 0x61..=0x7A => {
16436 cursor += 1;
16437 yystate = 6;
16438 continue 'yyl;
16439 }
16440 _ => {
16441 yystate = 2;
16442 continue 'yyl;
16443 }
16444 }
16445 }
16446 4 => {
16447 yych = unsafe {
16448 if cursor < len {
16449 *s.as_bytes().get_unchecked(cursor)
16450 } else {
16451 255
16452 }
16453 };
16454 match yych {
16455 0x2F => {
16456 cursor += 1;
16457 yystate = 7;
16458 continue 'yyl;
16459 }
16460 _ => {
16461 yystate = 5;
16462 continue 'yyl;
16463 }
16464 }
16465 }
16466 5 => {
16467 cursor = marker;
16468 yystate = 2;
16469 continue 'yyl;
16470 }
16471 6 => {
16472 yych = unsafe {
16473 if cursor < len {
16474 *s.as_bytes().get_unchecked(cursor)
16475 } else {
16476 255
16477 }
16478 };
16479 match yych {
16480 0x3A => {
16481 cursor += 1;
16482 yystate = 4;
16483 continue 'yyl;
16484 }
16485 0x61..=0x7A => {
16486 cursor += 1;
16487 yystate = 6;
16488 continue 'yyl;
16489 }
16490 _ => {
16491 yystate = 5;
16492 continue 'yyl;
16493 }
16494 }
16495 }
16496 7 => {
16497 yych = unsafe {
16498 if cursor < len {
16499 *s.as_bytes().get_unchecked(cursor)
16500 } else {
16501 255
16502 }
16503 };
16504 match yych {
16505 0x2F => {
16506 cursor += 1;
16507 yystate = 8;
16508 continue 'yyl;
16509 }
16510 _ => {
16511 yystate = 5;
16512 continue 'yyl;
16513 }
16514 }
16515 }
16516 8 => {
16517 yych = unsafe {
16518 if cursor < len {
16519 *s.as_bytes().get_unchecked(cursor)
16520 } else {
16521 255
16522 }
16523 };
16524 match yych {
16525 0x5B => {
16526 cursor += 1;
16527 yystate = 9;
16528 continue 'yyl;
16529 }
16530 _ => {
16531 yystate = 5;
16532 continue 'yyl;
16533 }
16534 }
16535 }
16536 9 => {
16537 yych = unsafe {
16538 if cursor < len {
16539 *s.as_bytes().get_unchecked(cursor)
16540 } else {
16541 255
16542 }
16543 };
16544 match yych {
16545 0x25 | 0x5D => {
16546 yystate = 5;
16547 continue 'yyl;
16548 }
16549 _ => {
16550 yystate = 11;
16551 continue 'yyl;
16552 }
16553 }
16554 }
16555 10 => {
16556 yych = unsafe {
16557 if cursor < len {
16558 *s.as_bytes().get_unchecked(cursor)
16559 } else {
16560 255
16561 }
16562 };
16563 yystate = 11;
16564 continue 'yyl;
16565 }
16566 11 => match yych {
16567 0x25 => {
16568 cursor += 1;
16569 yystate = 12;
16570 continue 'yyl;
16571 }
16572 0x30..=0x3A | 0x41..=0x46 | 0x61..=0x66 => {
16573 cursor += 1;
16574 yystate = 10;
16575 continue 'yyl;
16576 }
16577 0x5D => {
16578 cursor += 1;
16579 yystate = 13;
16580 continue 'yyl;
16581 }
16582 _ => {
16583 yystate = 5;
16584 continue 'yyl;
16585 }
16586 },
16587 12 => {
16588 yych = unsafe {
16589 if cursor < len {
16590 *s.as_bytes().get_unchecked(cursor)
16591 } else {
16592 255
16593 }
16594 };
16595 match yych {
16596 0x32 => {
16597 cursor += 1;
16598 yystate = 14;
16599 continue 'yyl;
16600 }
16601 _ => {
16602 yystate = 5;
16603 continue 'yyl;
16604 }
16605 }
16606 }
16607 13 => {
16608 return Some(cursor);
16609 }
16610 14 => {
16611 yych = unsafe {
16612 if cursor < len {
16613 *s.as_bytes().get_unchecked(cursor)
16614 } else {
16615 255
16616 }
16617 };
16618 match yych {
16619 0x35 => {
16620 cursor += 1;
16621 yystate = 15;
16622 continue 'yyl;
16623 }
16624 _ => {
16625 yystate = 5;
16626 continue 'yyl;
16627 }
16628 }
16629 }
16630 15 => {
16631 yych = unsafe {
16632 if cursor < len {
16633 *s.as_bytes().get_unchecked(cursor)
16634 } else {
16635 255
16636 }
16637 };
16638 match yych {
16639 0x5D => {
16640 yystate = 5;
16641 continue 'yyl;
16642 }
16643 _ => {
16644 yystate = 17;
16645 continue 'yyl;
16646 }
16647 }
16648 }
16649 16 => {
16650 yych = unsafe {
16651 if cursor < len {
16652 *s.as_bytes().get_unchecked(cursor)
16653 } else {
16654 255
16655 }
16656 };
16657 yystate = 17;
16658 continue 'yyl;
16659 }
16660 17 => match yych {
16661 0x30..=0x39 | 0x41..=0x5A | 0x61..=0x7A => {
16662 cursor += 1;
16663 yystate = 16;
16664 continue 'yyl;
16665 }
16666 0x5D => {
16667 cursor += 1;
16668 yystate = 13;
16669 continue 'yyl;
16670 }
16671 _ => {
16672 yystate = 5;
16673 continue 'yyl;
16674 }
16675 },
16676 _ => panic!("internal lexer error"),
16677 }
16678 }
16679 }
16680 }
16681
16682 pub fn table_start(s: &str) -> Option<usize> {
16683 let mut cursor = 0;
16684 let mut marker = 0;
16685 let len = s.len();
16686
16687 {
16688 #[allow(unused_assignments)]
16689 let mut yych: u8 = 0;
16690 let mut yystate: usize = 0;
16691 'yyl: loop {
16692 match yystate {
16693 0 => {
16694 yych = unsafe {
16695 if cursor < len {
16696 *s.as_bytes().get_unchecked(cursor)
16697 } else {
16698 255
16699 }
16700 };
16701 cursor += 1;
16702 match yych {
16703 0x09 | 0x0B..=0x0C | 0x20 | 0x7C => {
16704 yystate = 3;
16705 continue 'yyl;
16706 }
16707 0x2D => {
16708 yystate = 4;
16709 continue 'yyl;
16710 }
16711 0x3A => {
16712 yystate = 5;
16713 continue 'yyl;
16714 }
16715 _ => {
16716 yystate = 1;
16717 continue 'yyl;
16718 }
16719 }
16720 }
16721 1 => {
16722 yystate = 2;
16723 continue 'yyl;
16724 }
16725 2 => {
16726 return None;
16727 }
16728 3 => {
16729 marker = cursor;
16730 yych = unsafe {
16731 if cursor < len {
16732 *s.as_bytes().get_unchecked(cursor)
16733 } else {
16734 255
16735 }
16736 };
16737 match yych {
16738 0x09 | 0x0B..=0x0C | 0x20 => {
16739 cursor += 1;
16740 yystate = 6;
16741 continue 'yyl;
16742 }
16743 0x2D => {
16744 cursor += 1;
16745 yystate = 8;
16746 continue 'yyl;
16747 }
16748 0x3A => {
16749 cursor += 1;
16750 yystate = 9;
16751 continue 'yyl;
16752 }
16753 _ => {
16754 yystate = 2;
16755 continue 'yyl;
16756 }
16757 }
16758 }
16759 4 => {
16760 marker = cursor;
16761 yych = unsafe {
16762 if cursor < len {
16763 *s.as_bytes().get_unchecked(cursor)
16764 } else {
16765 255
16766 }
16767 };
16768 match yych {
16769 0x00..=0x08
16770 | 0x0E..=0x1F
16771 | 0x21..=0x2C
16772 | 0x2E..=0x39
16773 | 0x3B..=0x7B
16774 | 0x7D..=0xFE => {
16775 yystate = 2;
16776 continue 'yyl;
16777 }
16778 0x2D => {
16779 cursor += 1;
16780 yystate = 8;
16781 continue 'yyl;
16782 }
16783 0x3A => {
16784 cursor += 1;
16785 yystate = 10;
16786 continue 'yyl;
16787 }
16788 _ => {
16789 yystate = 11;
16790 continue 'yyl;
16791 }
16792 }
16793 }
16794 5 => {
16795 marker = cursor;
16796 yych = unsafe {
16797 if cursor < len {
16798 *s.as_bytes().get_unchecked(cursor)
16799 } else {
16800 255
16801 }
16802 };
16803 match yych {
16804 0x2D => {
16805 cursor += 1;
16806 yystate = 8;
16807 continue 'yyl;
16808 }
16809 _ => {
16810 yystate = 2;
16811 continue 'yyl;
16812 }
16813 }
16814 }
16815 6 => {
16816 yych = unsafe {
16817 if cursor < len {
16818 *s.as_bytes().get_unchecked(cursor)
16819 } else {
16820 255
16821 }
16822 };
16823 match yych {
16824 0x09 | 0x0B..=0x0C | 0x20 => {
16825 cursor += 1;
16826 yystate = 6;
16827 continue 'yyl;
16828 }
16829 0x2D => {
16830 cursor += 1;
16831 yystate = 8;
16832 continue 'yyl;
16833 }
16834 0x3A => {
16835 cursor += 1;
16836 yystate = 9;
16837 continue 'yyl;
16838 }
16839 _ => {
16840 yystate = 7;
16841 continue 'yyl;
16842 }
16843 }
16844 }
16845 7 => {
16846 cursor = marker;
16847 yystate = 2;
16848 continue 'yyl;
16849 }
16850 8 => {
16851 yych = unsafe {
16852 if cursor < len {
16853 *s.as_bytes().get_unchecked(cursor)
16854 } else {
16855 255
16856 }
16857 };
16858 match yych {
16859 0x00..=0x08
16860 | 0x0E..=0x1F
16861 | 0x21..=0x2C
16862 | 0x2E..=0x39
16863 | 0x3B..=0x7B
16864 | 0x7D..=0xFE => {
16865 yystate = 7;
16866 continue 'yyl;
16867 }
16868 0x09 | 0x0B..=0x0C | 0x20 | 0x3A => {
16869 cursor += 1;
16870 yystate = 10;
16871 continue 'yyl;
16872 }
16873 0x0D => {
16874 cursor += 1;
16875 yystate = 14;
16876 continue 'yyl;
16877 }
16878 0x2D => {
16879 cursor += 1;
16880 yystate = 8;
16881 continue 'yyl;
16882 }
16883 0x7C => {
16884 cursor += 1;
16885 yystate = 15;
16886 continue 'yyl;
16887 }
16888 _ => {
16889 cursor += 1;
16890 yystate = 12;
16891 continue 'yyl;
16892 }
16893 }
16894 }
16895 9 => {
16896 yych = unsafe {
16897 if cursor < len {
16898 *s.as_bytes().get_unchecked(cursor)
16899 } else {
16900 255
16901 }
16902 };
16903 match yych {
16904 0x2D => {
16905 cursor += 1;
16906 yystate = 8;
16907 continue 'yyl;
16908 }
16909 _ => {
16910 yystate = 7;
16911 continue 'yyl;
16912 }
16913 }
16914 }
16915 10 => {
16916 yych = unsafe {
16917 if cursor < len {
16918 *s.as_bytes().get_unchecked(cursor)
16919 } else {
16920 255
16921 }
16922 };
16923 yystate = 11;
16924 continue 'yyl;
16925 }
16926 11 => match yych {
16927 0x00..=0x08 | 0x0E..=0x1F | 0x21..=0x7B | 0x7D..=0xFE => {
16928 yystate = 7;
16929 continue 'yyl;
16930 }
16931 0x09 | 0x0B..=0x0C | 0x20 => {
16932 cursor += 1;
16933 yystate = 10;
16934 continue 'yyl;
16935 }
16936 0x0D => {
16937 cursor += 1;
16938 yystate = 14;
16939 continue 'yyl;
16940 }
16941 0x7C => {
16942 cursor += 1;
16943 yystate = 15;
16944 continue 'yyl;
16945 }
16946 _ => {
16947 cursor += 1;
16948 yystate = 12;
16949 continue 'yyl;
16950 }
16951 },
16952 12 => {
16953 yystate = 13;
16954 continue 'yyl;
16955 }
16956 13 => {
16957 return Some(cursor);
16958 }
16959 14 => {
16960 yych = unsafe {
16961 if cursor < len {
16962 *s.as_bytes().get_unchecked(cursor)
16963 } else {
16964 255
16965 }
16966 };
16967 match yych {
16968 0x0A => {
16969 cursor += 1;
16970 yystate = 12;
16971 continue 'yyl;
16972 }
16973 _ => {
16974 yystate = 13;
16975 continue 'yyl;
16976 }
16977 }
16978 }
16979 15 => {
16980 yych = unsafe {
16981 if cursor < len {
16982 *s.as_bytes().get_unchecked(cursor)
16983 } else {
16984 255
16985 }
16986 };
16987 match yych {
16988 0x00..=0x08 | 0x0E..=0x1F | 0x21..=0x2C | 0x2E..=0x39 | 0x3B..=0xFE => {
16989 yystate = 7;
16990 continue 'yyl;
16991 }
16992 0x09 | 0x0B..=0x0C | 0x20 => {
16993 cursor += 1;
16994 yystate = 15;
16995 continue 'yyl;
16996 }
16997 0x0D => {
16998 cursor += 1;
16999 yystate = 14;
17000 continue 'yyl;
17001 }
17002 0x2D => {
17003 cursor += 1;
17004 yystate = 8;
17005 continue 'yyl;
17006 }
17007 0x3A => {
17008 cursor += 1;
17009 yystate = 9;
17010 continue 'yyl;
17011 }
17012 _ => {
17013 cursor += 1;
17014 yystate = 12;
17015 continue 'yyl;
17016 }
17017 }
17018 }
17019 _ => panic!("internal lexer error"),
17020 }
17021 }
17022 }
17023 }
17024
17025 pub fn table_cell(s: &str, spoiler: bool) -> Option<usize> {
17026 let mut cursor = 0;
17027 let mut marker = 0;
17028 let len = s.len();
17029
17030 // In fact, `table_cell` matches non-empty table cells only. The empty
17031 // string is also a valid table cell, but is handled by the default rule.
17032 // This approach prevents re2c's match-empty-string warning.
17033 if spoiler {
17034 {
17035 #[allow(unused_assignments)]
17036 let mut yych: u8 = 0;
17037 let mut yystate: usize = 0;
17038 'yyl: loop {
17039 match yystate {
17040 0 => {
17041 yych = unsafe {
17042 if cursor < len {
17043 *s.as_bytes().get_unchecked(cursor)
17044 } else {
17045 255
17046 }
17047 };
17048 cursor += 1;
17049 match yych {
17050 0x00..=0x09
17051 | 0x0B..=0x0C
17052 | 0x0E..=0x26
17053 | 0x28..=0x5B
17054 | 0x5D..=0x7B
17055 | 0x7D..=0xFE => {
17056 yystate = 1;
17057 continue 'yyl;
17058 }
17059 0x27 | 0x5C => {
17060 yystate = 5;
17061 continue 'yyl;
17062 }
17063 0x7C => {
17064 yystate = 6;
17065 continue 'yyl;
17066 }
17067 _ => {
17068 yystate = 3;
17069 continue 'yyl;
17070 }
17071 }
17072 }
17073 1 => {
17074 marker = cursor;
17075 yych = unsafe {
17076 if cursor < len {
17077 *s.as_bytes().get_unchecked(cursor)
17078 } else {
17079 255
17080 }
17081 };
17082 match yych {
17083 0x00..=0x09
17084 | 0x0B..=0x0C
17085 | 0x0E..=0x26
17086 | 0x28..=0x5B
17087 | 0x5D..=0x7B
17088 | 0x7D..=0xFE => {
17089 cursor += 1;
17090 yystate = 1;
17091 continue 'yyl;
17092 }
17093 0x27 | 0x5C => {
17094 cursor += 1;
17095 yystate = 5;
17096 continue 'yyl;
17097 }
17098 0x7C => {
17099 cursor += 1;
17100 yystate = 7;
17101 continue 'yyl;
17102 }
17103 _ => {
17104 yystate = 2;
17105 continue 'yyl;
17106 }
17107 }
17108 }
17109 2 => {
17110 return Some(cursor);
17111 }
17112 3 => {
17113 yystate = 4;
17114 continue 'yyl;
17115 }
17116 4 => {
17117 return None;
17118 }
17119 5 => {
17120 yych = unsafe {
17121 if cursor < len {
17122 *s.as_bytes().get_unchecked(cursor)
17123 } else {
17124 255
17125 }
17126 };
17127 match yych {
17128 0x00..=0x09
17129 | 0x0B..=0x0C
17130 | 0x0E..=0x26
17131 | 0x28..=0x5B
17132 | 0x5D..=0x7B
17133 | 0x7D..=0xFE => {
17134 cursor += 1;
17135 yystate = 1;
17136 continue 'yyl;
17137 }
17138 0x27 | 0x5C | 0x7C => {
17139 cursor += 1;
17140 yystate = 5;
17141 continue 'yyl;
17142 }
17143 _ => {
17144 yystate = 2;
17145 continue 'yyl;
17146 }
17147 }
17148 }
17149 6 => {
17150 yych = unsafe {
17151 if cursor < len {
17152 *s.as_bytes().get_unchecked(cursor)
17153 } else {
17154 255
17155 }
17156 };
17157 match yych {
17158 0x27 | 0x7C => {
17159 cursor += 1;
17160 yystate = 1;
17161 continue 'yyl;
17162 }
17163 _ => {
17164 yystate = 4;
17165 continue 'yyl;
17166 }
17167 }
17168 }
17169 7 => {
17170 yych = unsafe {
17171 if cursor < len {
17172 *s.as_bytes().get_unchecked(cursor)
17173 } else {
17174 255
17175 }
17176 };
17177 match yych {
17178 0x27 | 0x7C => {
17179 cursor += 1;
17180 yystate = 1;
17181 continue 'yyl;
17182 }
17183 _ => {
17184 yystate = 8;
17185 continue 'yyl;
17186 }
17187 }
17188 }
17189 8 => {
17190 cursor = marker;
17191 yystate = 2;
17192 continue 'yyl;
17193 }
17194 _ => panic!("internal lexer error"),
17195 }
17196 }
17197 }
17198 } else {
17199 {
17200 #[allow(unused_assignments)]
17201 let mut yych: u8 = 0;
17202 let mut yystate: usize = 0;
17203 'yyl: loop {
17204 match yystate {
17205 0 => {
17206 yych = unsafe {
17207 if cursor < len {
17208 *s.as_bytes().get_unchecked(cursor)
17209 } else {
17210 255
17211 }
17212 };
17213 cursor += 1;
17214 match yych {
17215 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5B | 0x5D..=0x7B | 0x7D..=0xFE => {
17216 yystate = 1;
17217 continue 'yyl;
17218 }
17219 0x5C => {
17220 yystate = 4;
17221 continue 'yyl;
17222 }
17223 _ => {
17224 yystate = 3;
17225 continue 'yyl;
17226 }
17227 }
17228 }
17229 1 => {
17230 yych = unsafe {
17231 if cursor < len {
17232 *s.as_bytes().get_unchecked(cursor)
17233 } else {
17234 255
17235 }
17236 };
17237 match yych {
17238 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5B | 0x5D..=0x7B | 0x7D..=0xFE => {
17239 cursor += 1;
17240 yystate = 1;
17241 continue 'yyl;
17242 }
17243 0x5C => {
17244 cursor += 1;
17245 yystate = 4;
17246 continue 'yyl;
17247 }
17248 _ => {
17249 yystate = 2;
17250 continue 'yyl;
17251 }
17252 }
17253 }
17254 2 => {
17255 return Some(cursor);
17256 }
17257 3 => {
17258 return None;
17259 }
17260 4 => {
17261 yych = unsafe {
17262 if cursor < len {
17263 *s.as_bytes().get_unchecked(cursor)
17264 } else {
17265 255
17266 }
17267 };
17268 match yych {
17269 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5B | 0x5D..=0xFE => {
17270 cursor += 1;
17271 yystate = 1;
17272 continue 'yyl;
17273 }
17274 0x5C => {
17275 cursor += 1;
17276 yystate = 4;
17277 continue 'yyl;
17278 }
17279 _ => {
17280 yystate = 2;
17281 continue 'yyl;
17282 }
17283 }
17284 }
17285 _ => panic!("internal lexer error"),
17286 }
17287 }
17288 }
17289 }
17290 }
17291
17292 pub fn table_cell_end(s: &str) -> Option<usize> {
17293 let mut cursor = 0;
17294 let len = s.len();
17295
17296 {
17297 #[allow(unused_assignments)]
17298 let mut yych: u8 = 0;
17299 let mut yystate: usize = 0;
17300 'yyl: loop {
17301 match yystate {
17302 0 => {
17303 yych = unsafe {
17304 if cursor < len {
17305 *s.as_bytes().get_unchecked(cursor)
17306 } else {
17307 255
17308 }
17309 };
17310 cursor += 1;
17311 match yych {
17312 0x7C => {
17313 yystate = 2;
17314 continue 'yyl;
17315 }
17316 _ => {
17317 yystate = 1;
17318 continue 'yyl;
17319 }
17320 }
17321 }
17322 1 => {
17323 return None;
17324 }
17325 2 => {
17326 yych = unsafe {
17327 if cursor < len {
17328 *s.as_bytes().get_unchecked(cursor)
17329 } else {
17330 255
17331 }
17332 };
17333 match yych {
17334 0x09 | 0x0B..=0x0C | 0x20 => {
17335 cursor += 1;
17336 yystate = 2;
17337 continue 'yyl;
17338 }
17339 _ => {
17340 yystate = 3;
17341 continue 'yyl;
17342 }
17343 }
17344 }
17345 3 => {
17346 return Some(cursor);
17347 }
17348 _ => panic!("internal lexer error"),
17349 }
17350 }
17351 }
17352 }
17353
17354 pub fn table_row_end(s: &str) -> Option<usize> {
17355 let mut cursor = 0;
17356 let mut marker = 0;
17357 let len = s.len();
17358
17359 {
17360 #[allow(unused_assignments)]
17361 let mut yych: u8 = 0;
17362 let mut yystate: usize = 0;
17363 'yyl: loop {
17364 match yystate {
17365 0 => {
17366 yych = unsafe {
17367 if cursor < len {
17368 *s.as_bytes().get_unchecked(cursor)
17369 } else {
17370 255
17371 }
17372 };
17373 cursor += 1;
17374 match yych {
17375 0x09 | 0x0B..=0x0C | 0x20 => {
17376 yystate = 3;
17377 continue 'yyl;
17378 }
17379 0x0A => {
17380 yystate = 4;
17381 continue 'yyl;
17382 }
17383 0x0D => {
17384 yystate = 6;
17385 continue 'yyl;
17386 }
17387 _ => {
17388 yystate = 1;
17389 continue 'yyl;
17390 }
17391 }
17392 }
17393 1 => {
17394 yystate = 2;
17395 continue 'yyl;
17396 }
17397 2 => {
17398 return None;
17399 }
17400 3 => {
17401 marker = cursor;
17402 yych = unsafe {
17403 if cursor < len {
17404 *s.as_bytes().get_unchecked(cursor)
17405 } else {
17406 255
17407 }
17408 };
17409 match yych {
17410 0x09..=0x0D | 0x20 => {
17411 yystate = 8;
17412 continue 'yyl;
17413 }
17414 _ => {
17415 yystate = 2;
17416 continue 'yyl;
17417 }
17418 }
17419 }
17420 4 => {
17421 yystate = 5;
17422 continue 'yyl;
17423 }
17424 5 => {
17425 return Some(cursor);
17426 }
17427 6 => {
17428 yych = unsafe {
17429 if cursor < len {
17430 *s.as_bytes().get_unchecked(cursor)
17431 } else {
17432 255
17433 }
17434 };
17435 match yych {
17436 0x0A => {
17437 cursor += 1;
17438 yystate = 4;
17439 continue 'yyl;
17440 }
17441 _ => {
17442 yystate = 5;
17443 continue 'yyl;
17444 }
17445 }
17446 }
17447 7 => {
17448 yych = unsafe {
17449 if cursor < len {
17450 *s.as_bytes().get_unchecked(cursor)
17451 } else {
17452 255
17453 }
17454 };
17455 yystate = 8;
17456 continue 'yyl;
17457 }
17458 8 => match yych {
17459 0x09 | 0x0B..=0x0C | 0x20 => {
17460 cursor += 1;
17461 yystate = 7;
17462 continue 'yyl;
17463 }
17464 0x0A => {
17465 cursor += 1;
17466 yystate = 4;
17467 continue 'yyl;
17468 }
17469 0x0D => {
17470 cursor += 1;
17471 yystate = 6;
17472 continue 'yyl;
17473 }
17474 _ => {
17475 yystate = 9;
17476 continue 'yyl;
17477 }
17478 },
17479 9 => {
17480 cursor = marker;
17481 yystate = 2;
17482 continue 'yyl;
17483 }
17484 _ => panic!("internal lexer error"),
17485 }
17486 }
17487 }
17488 }
17489
17490 #[cfg(feature = "shortcodes")]
17491 pub fn shortcode(s: &str) -> Option<usize> {
17492 let mut cursor = 0;
17493 let mut marker = 0;
17494 let len = s.len();
17495
17496 {
17497 #[allow(unused_assignments)]
17498 let mut yych: u8 = 0;
17499 let mut yystate: usize = 0;
17500 'yyl: loop {
17501 match yystate {
17502 0 => {
17503 yych = unsafe {
17504 if cursor < len {
17505 *s.as_bytes().get_unchecked(cursor)
17506 } else {
17507 255
17508 }
17509 };
17510 cursor += 1;
17511 match yych {
17512 0x2B | 0x2D | 0x30..=0x39 | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
17513 yystate = 3;
17514 continue 'yyl;
17515 }
17516 _ => {
17517 yystate = 1;
17518 continue 'yyl;
17519 }
17520 }
17521 }
17522 1 => {
17523 yystate = 2;
17524 continue 'yyl;
17525 }
17526 2 => {
17527 return None;
17528 }
17529 3 => {
17530 marker = cursor;
17531 yych = unsafe {
17532 if cursor < len {
17533 *s.as_bytes().get_unchecked(cursor)
17534 } else {
17535 255
17536 }
17537 };
17538 match yych {
17539 0x2B | 0x2D | 0x30..=0x3A | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
17540 yystate = 5;
17541 continue 'yyl;
17542 }
17543 _ => {
17544 yystate = 2;
17545 continue 'yyl;
17546 }
17547 }
17548 }
17549 4 => {
17550 yych = unsafe {
17551 if cursor < len {
17552 *s.as_bytes().get_unchecked(cursor)
17553 } else {
17554 255
17555 }
17556 };
17557 yystate = 5;
17558 continue 'yyl;
17559 }
17560 5 => match yych {
17561 0x2B | 0x2D | 0x30..=0x39 | 0x41..=0x5A | 0x5F | 0x61..=0x7A => {
17562 cursor += 1;
17563 yystate = 4;
17564 continue 'yyl;
17565 }
17566 0x3A => {
17567 cursor += 1;
17568 yystate = 7;
17569 continue 'yyl;
17570 }
17571 _ => {
17572 yystate = 6;
17573 continue 'yyl;
17574 }
17575 },
17576 6 => {
17577 cursor = marker;
17578 yystate = 2;
17579 continue 'yyl;
17580 }
17581 7 => {
17582 return Some(cursor);
17583 }
17584 _ => panic!("internal lexer error"),
17585 }
17586 }
17587 }
17588 }
17589
17590 pub fn open_multiline_block_quote_fence(s: &str) -> Option<usize> {
17591 let mut cursor = 0;
17592 let mut marker = 0;
17593 let mut ctxmarker = 0;
17594 let len = s.len();
17595
17596 {
17597 #[allow(unused_assignments)]
17598 let mut yych: u8 = 0;
17599 let mut yystate: usize = 0;
17600 'yyl: loop {
17601 match yystate {
17602 0 => {
17603 yych = unsafe {
17604 if cursor < len {
17605 *s.as_bytes().get_unchecked(cursor)
17606 } else {
17607 255
17608 }
17609 };
17610 cursor += 1;
17611 match yych {
17612 0x3E => {
17613 yystate = 3;
17614 continue 'yyl;
17615 }
17616 _ => {
17617 yystate = 1;
17618 continue 'yyl;
17619 }
17620 }
17621 }
17622 1 => {
17623 yystate = 2;
17624 continue 'yyl;
17625 }
17626 2 => {
17627 return None;
17628 }
17629 3 => {
17630 marker = cursor;
17631 yych = unsafe {
17632 if cursor < len {
17633 *s.as_bytes().get_unchecked(cursor)
17634 } else {
17635 255
17636 }
17637 };
17638 match yych {
17639 0x3E => {
17640 cursor += 1;
17641 yystate = 4;
17642 continue 'yyl;
17643 }
17644 _ => {
17645 yystate = 2;
17646 continue 'yyl;
17647 }
17648 }
17649 }
17650 4 => {
17651 yych = unsafe {
17652 if cursor < len {
17653 *s.as_bytes().get_unchecked(cursor)
17654 } else {
17655 255
17656 }
17657 };
17658 match yych {
17659 0x3E => {
17660 cursor += 1;
17661 yystate = 6;
17662 continue 'yyl;
17663 }
17664 _ => {
17665 yystate = 5;
17666 continue 'yyl;
17667 }
17668 }
17669 }
17670 5 => {
17671 cursor = marker;
17672 yystate = 2;
17673 continue 'yyl;
17674 }
17675 6 => {
17676 yych = unsafe {
17677 if cursor < len {
17678 *s.as_bytes().get_unchecked(cursor)
17679 } else {
17680 255
17681 }
17682 };
17683 match yych {
17684 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x3D | 0x3F..=0xFE => {
17685 yystate = 5;
17686 continue 'yyl;
17687 }
17688 0x09 | 0x20 => {
17689 ctxmarker = cursor;
17690 cursor += 1;
17691 yystate = 7;
17692 continue 'yyl;
17693 }
17694 0x3E => {
17695 cursor += 1;
17696 yystate = 6;
17697 continue 'yyl;
17698 }
17699 _ => {
17700 ctxmarker = cursor;
17701 cursor += 1;
17702 yystate = 8;
17703 continue 'yyl;
17704 }
17705 }
17706 }
17707 7 => {
17708 yych = unsafe {
17709 if cursor < len {
17710 *s.as_bytes().get_unchecked(cursor)
17711 } else {
17712 255
17713 }
17714 };
17715 match yych {
17716 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
17717 yystate = 5;
17718 continue 'yyl;
17719 }
17720 0x09 | 0x20 => {
17721 cursor += 1;
17722 yystate = 7;
17723 continue 'yyl;
17724 }
17725 _ => {
17726 cursor += 1;
17727 yystate = 8;
17728 continue 'yyl;
17729 }
17730 }
17731 }
17732 8 => {
17733 cursor = ctxmarker;
17734 {
17735 return Some(cursor);
17736 }
17737 }
17738 _ => panic!("internal lexer error"),
17739 }
17740 }
17741 }
17742 }
17743
17744 pub fn close_multiline_block_quote_fence(s: &str) -> Option<usize> {
17745 let mut cursor = 0;
17746 let mut marker = 0;
17747 let mut ctxmarker = 0;
17748 let len = s.len();
17749
17750 {
17751 #[allow(unused_assignments)]
17752 let mut yych: u8 = 0;
17753 let mut yystate: usize = 0;
17754 'yyl: loop {
17755 match yystate {
17756 0 => {
17757 yych = unsafe {
17758 if cursor < len {
17759 *s.as_bytes().get_unchecked(cursor)
17760 } else {
17761 255
17762 }
17763 };
17764 cursor += 1;
17765 match yych {
17766 0x3E => {
17767 yystate = 3;
17768 continue 'yyl;
17769 }
17770 _ => {
17771 yystate = 1;
17772 continue 'yyl;
17773 }
17774 }
17775 }
17776 1 => {
17777 yystate = 2;
17778 continue 'yyl;
17779 }
17780 2 => {
17781 return None;
17782 }
17783 3 => {
17784 marker = cursor;
17785 yych = unsafe {
17786 if cursor < len {
17787 *s.as_bytes().get_unchecked(cursor)
17788 } else {
17789 255
17790 }
17791 };
17792 match yych {
17793 0x3E => {
17794 cursor += 1;
17795 yystate = 4;
17796 continue 'yyl;
17797 }
17798 _ => {
17799 yystate = 2;
17800 continue 'yyl;
17801 }
17802 }
17803 }
17804 4 => {
17805 yych = unsafe {
17806 if cursor < len {
17807 *s.as_bytes().get_unchecked(cursor)
17808 } else {
17809 255
17810 }
17811 };
17812 match yych {
17813 0x3E => {
17814 cursor += 1;
17815 yystate = 6;
17816 continue 'yyl;
17817 }
17818 _ => {
17819 yystate = 5;
17820 continue 'yyl;
17821 }
17822 }
17823 }
17824 5 => {
17825 cursor = marker;
17826 yystate = 2;
17827 continue 'yyl;
17828 }
17829 6 => {
17830 yych = unsafe {
17831 if cursor < len {
17832 *s.as_bytes().get_unchecked(cursor)
17833 } else {
17834 255
17835 }
17836 };
17837 match yych {
17838 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0x3D | 0x3F..=0xFE => {
17839 yystate = 5;
17840 continue 'yyl;
17841 }
17842 0x09 | 0x20 => {
17843 ctxmarker = cursor;
17844 cursor += 1;
17845 yystate = 7;
17846 continue 'yyl;
17847 }
17848 0x3E => {
17849 cursor += 1;
17850 yystate = 6;
17851 continue 'yyl;
17852 }
17853 _ => {
17854 ctxmarker = cursor;
17855 cursor += 1;
17856 yystate = 8;
17857 continue 'yyl;
17858 }
17859 }
17860 }
17861 7 => {
17862 yych = unsafe {
17863 if cursor < len {
17864 *s.as_bytes().get_unchecked(cursor)
17865 } else {
17866 255
17867 }
17868 };
17869 match yych {
17870 0x00..=0x08 | 0x0B..=0x0C | 0x0E..=0x1F | 0x21..=0xFE => {
17871 yystate = 5;
17872 continue 'yyl;
17873 }
17874 0x09 | 0x20 => {
17875 cursor += 1;
17876 yystate = 7;
17877 continue 'yyl;
17878 }
17879 _ => {
17880 cursor += 1;
17881 yystate = 8;
17882 continue 'yyl;
17883 }
17884 }
17885 }
17886 8 => {
17887 cursor = ctxmarker;
17888 {
17889 return Some(cursor);
17890 }
17891 }
17892 _ => panic!("internal lexer error"),
17893 }
17894 }
17895 }
17896 }
17897
17898 // Returns the length of the match, the tasklist item contents, and the range of
17899 // the tasklist item match.
17900 // The match is not guaranteed to be one byte or one "character" long; the
17901 // caller must ascertain its fitness for purpose.
17902 pub fn tasklist(s: &str) -> Option<(usize, &str, std::ops::Range<usize>)> {
17903 let mut cursor = 0;
17904 let mut marker = 0;
17905 let len = s.len();
17906
17907 let t1;
17908 let mut t2;
17909 let mut yyt1 = 0;
17910
17911 {
17912 #[allow(unused_assignments)]
17913 let mut yych: u8 = 0;
17914 let mut yystate: usize = 0;
17915 'yyl: loop {
17916 match yystate {
17917 0 => {
17918 yych = unsafe {
17919 if cursor < len {
17920 *s.as_bytes().get_unchecked(cursor)
17921 } else {
17922 255
17923 }
17924 };
17925 cursor += 1;
17926 match yych {
17927 0x09..=0x0D | 0x20 => {
17928 yystate = 3;
17929 continue 'yyl;
17930 }
17931 0x5B => {
17932 yystate = 4;
17933 continue 'yyl;
17934 }
17935 _ => {
17936 yystate = 1;
17937 continue 'yyl;
17938 }
17939 }
17940 }
17941 1 => {
17942 yystate = 2;
17943 continue 'yyl;
17944 }
17945 2 => {
17946 return None;
17947 }
17948 3 => {
17949 marker = cursor;
17950 yych = unsafe {
17951 if cursor < len {
17952 *s.as_bytes().get_unchecked(cursor)
17953 } else {
17954 255
17955 }
17956 };
17957 match yych {
17958 0x09..=0x0D | 0x20 => {
17959 cursor += 1;
17960 yystate = 5;
17961 continue 'yyl;
17962 }
17963 0x5B => {
17964 cursor += 1;
17965 yystate = 7;
17966 continue 'yyl;
17967 }
17968 _ => {
17969 yystate = 2;
17970 continue 'yyl;
17971 }
17972 }
17973 }
17974 4 => {
17975 marker = cursor;
17976 yych = unsafe {
17977 if cursor < len {
17978 *s.as_bytes().get_unchecked(cursor)
17979 } else {
17980 255
17981 }
17982 };
17983 match yych {
17984 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5C | 0x5E..=0xFE => {
17985 yyt1 = cursor;
17986 cursor += 1;
17987 yystate = 8;
17988 continue 'yyl;
17989 }
17990 _ => {
17991 yystate = 2;
17992 continue 'yyl;
17993 }
17994 }
17995 }
17996 5 => {
17997 yych = unsafe {
17998 if cursor < len {
17999 *s.as_bytes().get_unchecked(cursor)
18000 } else {
18001 255
18002 }
18003 };
18004 match yych {
18005 0x09..=0x0D | 0x20 => {
18006 cursor += 1;
18007 yystate = 5;
18008 continue 'yyl;
18009 }
18010 0x5B => {
18011 cursor += 1;
18012 yystate = 7;
18013 continue 'yyl;
18014 }
18015 _ => {
18016 yystate = 6;
18017 continue 'yyl;
18018 }
18019 }
18020 }
18021 6 => {
18022 cursor = marker;
18023 yystate = 2;
18024 continue 'yyl;
18025 }
18026 7 => {
18027 yych = unsafe {
18028 if cursor < len {
18029 *s.as_bytes().get_unchecked(cursor)
18030 } else {
18031 255
18032 }
18033 };
18034 match yych {
18035 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5C | 0x5E..=0xFE => {
18036 yyt1 = cursor;
18037 cursor += 1;
18038 yystate = 8;
18039 continue 'yyl;
18040 }
18041 _ => {
18042 yystate = 6;
18043 continue 'yyl;
18044 }
18045 }
18046 }
18047 8 => {
18048 yych = unsafe {
18049 if cursor < len {
18050 *s.as_bytes().get_unchecked(cursor)
18051 } else {
18052 255
18053 }
18054 };
18055 match yych {
18056 0x00..=0x09 | 0x0B..=0x0C | 0x0E..=0x5C | 0x5E..=0xFE => {
18057 cursor += 1;
18058 yystate = 8;
18059 continue 'yyl;
18060 }
18061 0x5D => {
18062 cursor += 1;
18063 yystate = 9;
18064 continue 'yyl;
18065 }
18066 _ => {
18067 yystate = 6;
18068 continue 'yyl;
18069 }
18070 }
18071 }
18072 9 => {
18073 yych = unsafe {
18074 if cursor < len {
18075 *s.as_bytes().get_unchecked(cursor)
18076 } else {
18077 255
18078 }
18079 };
18080 match yych {
18081 0x00..=0x08 | 0x0E..=0x1F | 0x21..=0xFE => {
18082 yystate = 6;
18083 continue 'yyl;
18084 }
18085 _ => {
18086 cursor += 1;
18087 yystate = 10;
18088 continue 'yyl;
18089 }
18090 }
18091 }
18092 10 => {
18093 t1 = yyt1;
18094 t2 = cursor;
18095 t2 = (t2 as isize + -2) as usize;
18096 {
18097 if cursor == len + 1 {
18098 cursor -= 1;
18099 }
18100 return Some((cursor, &s[t1..t2], t1..t2));
18101 }
18102 }
18103 _ => panic!("internal lexer error"),
18104 }
18105 }
18106 }
18107 }
18108
18109 pub fn description_item_start(s: &str) -> Option<usize> {
18110 let mut cursor = 0;
18111 let len = s.len();
18112
18113 {
18114 #[allow(unused_assignments)]
18115 let mut yych: u8 = 0;
18116 let mut yystate: usize = 0;
18117 'yyl: loop {
18118 match yystate {
18119 0 => {
18120 yych = unsafe {
18121 if cursor < len {
18122 *s.as_bytes().get_unchecked(cursor)
18123 } else {
18124 255
18125 }
18126 };
18127 cursor += 1;
18128 match yych {
18129 0x3A | 0x7E => {
18130 yystate = 3;
18131 continue 'yyl;
18132 }
18133 _ => {
18134 yystate = 1;
18135 continue 'yyl;
18136 }
18137 }
18138 }
18139 1 => {
18140 yystate = 2;
18141 continue 'yyl;
18142 }
18143 2 => {
18144 return None;
18145 }
18146 3 => {
18147 yych = unsafe {
18148 if cursor < len {
18149 *s.as_bytes().get_unchecked(cursor)
18150 } else {
18151 255
18152 }
18153 };
18154 match yych {
18155 0x09 | 0x20 => {
18156 cursor += 1;
18157 yystate = 4;
18158 continue 'yyl;
18159 }
18160 _ => {
18161 yystate = 2;
18162 continue 'yyl;
18163 }
18164 }
18165 }
18166 4 => {
18167 yych = unsafe {
18168 if cursor < len {
18169 *s.as_bytes().get_unchecked(cursor)
18170 } else {
18171 255
18172 }
18173 };
18174 match yych {
18175 0x09 | 0x20 => {
18176 cursor += 1;
18177 yystate = 4;
18178 continue 'yyl;
18179 }
18180 _ => {
18181 yystate = 5;
18182 continue 'yyl;
18183 }
18184 }
18185 }
18186 5 => {
18187 return Some(cursor);
18188 }
18189 _ => panic!("internal lexer error"),
18190 }
18191 }
18192 }
18193 }
18194
18195 #[cfg(feature = "phoenix_heex")]
18196 pub fn phoenix_opening_tag(s: &str) -> Option<usize> {
18197 let mut cursor = 0;
18198 let mut marker = 0;
18199 let len = s.len();
18200
18201 {
18202 #[allow(unused_assignments)]
18203 let mut yych: u8 = 0;
18204 let mut yyaccept: usize = 0;
18205 let mut yystate: usize = 0;
18206 'yyl: loop {
18207 match yystate {
18208 0 => {
18209 yych = unsafe {
18210 if cursor < len {
18211 *s.as_bytes().get_unchecked(cursor)
18212 } else {
18213 255
18214 }
18215 };
18216 cursor += 1;
18217 match yych {
18218 0x3C => {
18219 yystate = 3;
18220 continue 'yyl;
18221 }
18222 _ => {
18223 yystate = 1;
18224 continue 'yyl;
18225 }
18226 }
18227 }
18228 1 => {
18229 yystate = 2;
18230 continue 'yyl;
18231 }
18232 2 => {
18233 return None;
18234 }
18235 3 => {
18236 yyaccept = 0;
18237 marker = cursor;
18238 yych = unsafe {
18239 if cursor < len {
18240 *s.as_bytes().get_unchecked(cursor)
18241 } else {
18242 255
18243 }
18244 };
18245 match yych {
18246 0x2E => {
18247 cursor += 1;
18248 yystate = 4;
18249 continue 'yyl;
18250 }
18251 0x41..=0x5A => {
18252 cursor += 1;
18253 yystate = 6;
18254 continue 'yyl;
18255 }
18256 _ => {
18257 yystate = 2;
18258 continue 'yyl;
18259 }
18260 }
18261 }
18262 4 => {
18263 yych = unsafe {
18264 if cursor < len {
18265 *s.as_bytes().get_unchecked(cursor)
18266 } else {
18267 255
18268 }
18269 };
18270 match yych {
18271 0x61..=0x7A => {
18272 cursor += 1;
18273 yystate = 8;
18274 continue 'yyl;
18275 }
18276 _ => {
18277 yystate = 5;
18278 continue 'yyl;
18279 }
18280 }
18281 }
18282 5 => {
18283 cursor = marker;
18284 if yyaccept == 0 {
18285 yystate = 2;
18286 continue 'yyl;
18287 } else {
18288 yystate = 7;
18289 continue 'yyl;
18290 }
18291 }
18292 6 => {
18293 yyaccept = 1;
18294 marker = cursor;
18295 yych = unsafe {
18296 if cursor < len {
18297 *s.as_bytes().get_unchecked(cursor)
18298 } else {
18299 255
18300 }
18301 };
18302 match yych {
18303 0x00..=0x08
18304 | 0x0E..=0x1F
18305 | 0x23..=0x26
18306 | 0x28..=0x2C
18307 | 0x30..=0x3B
18308 | 0x3F..=0x7A
18309 | 0x7C
18310 | 0x7E..=0xFE => {
18311 cursor += 1;
18312 yystate = 6;
18313 continue 'yyl;
18314 }
18315 0x2E => {
18316 cursor += 1;
18317 yystate = 9;
18318 continue 'yyl;
18319 }
18320 _ => {
18321 yystate = 7;
18322 continue 'yyl;
18323 }
18324 }
18325 }
18326 7 => {
18327 return Some(cursor - 1);
18328 }
18329 8 => {
18330 yych = unsafe {
18331 if cursor < len {
18332 *s.as_bytes().get_unchecked(cursor)
18333 } else {
18334 255
18335 }
18336 };
18337 match yych {
18338 0x00..=0x08
18339 | 0x0E..=0x1F
18340 | 0x23..=0x26
18341 | 0x28..=0x2C
18342 | 0x30..=0x3B
18343 | 0x3F..=0x7A
18344 | 0x7C
18345 | 0x7E..=0xFE => {
18346 cursor += 1;
18347 yystate = 8;
18348 continue 'yyl;
18349 }
18350 _ => {
18351 yystate = 7;
18352 continue 'yyl;
18353 }
18354 }
18355 }
18356 9 => {
18357 yych = unsafe {
18358 if cursor < len {
18359 *s.as_bytes().get_unchecked(cursor)
18360 } else {
18361 255
18362 }
18363 };
18364 match yych {
18365 0x41..=0x5A => {
18366 cursor += 1;
18367 yystate = 6;
18368 continue 'yyl;
18369 }
18370 0x61..=0x7A => {
18371 cursor += 1;
18372 yystate = 8;
18373 continue 'yyl;
18374 }
18375 _ => {
18376 yystate = 5;
18377 continue 'yyl;
18378 }
18379 }
18380 }
18381 _ => panic!("internal lexer error"),
18382 }
18383 }
18384 }
18385 }
18386
18387 #[cfg(feature = "phoenix_heex")]
18388 pub fn phoenix_block_closing_tag(s: &str) -> Option<usize> {
18389 let mut cursor = 0;
18390 let mut marker = 0;
18391 let len = s.len();
18392
18393 {
18394 #[allow(unused_assignments)]
18395 let mut yych: u8 = 0;
18396 let mut yystate: usize = 0;
18397 'yyl: loop {
18398 match yystate {
18399 0 => {
18400 yych = unsafe {
18401 if cursor < len {
18402 *s.as_bytes().get_unchecked(cursor)
18403 } else {
18404 255
18405 }
18406 };
18407 cursor += 1;
18408 match yych {
18409 0x3C => {
18410 yystate = 3;
18411 continue 'yyl;
18412 }
18413 _ => {
18414 yystate = 1;
18415 continue 'yyl;
18416 }
18417 }
18418 }
18419 1 => {
18420 yystate = 2;
18421 continue 'yyl;
18422 }
18423 2 => {
18424 return None;
18425 }
18426 3 => {
18427 marker = cursor;
18428 yych = unsafe {
18429 if cursor < len {
18430 *s.as_bytes().get_unchecked(cursor)
18431 } else {
18432 255
18433 }
18434 };
18435 match yych {
18436 0x2F => {
18437 cursor += 1;
18438 yystate = 4;
18439 continue 'yyl;
18440 }
18441 _ => {
18442 yystate = 2;
18443 continue 'yyl;
18444 }
18445 }
18446 }
18447 4 => {
18448 yych = unsafe {
18449 if cursor < len {
18450 *s.as_bytes().get_unchecked(cursor)
18451 } else {
18452 255
18453 }
18454 };
18455 match yych {
18456 0x2E => {
18457 cursor += 1;
18458 yystate = 6;
18459 continue 'yyl;
18460 }
18461 0x41..=0x5A => {
18462 cursor += 1;
18463 yystate = 7;
18464 continue 'yyl;
18465 }
18466 _ => {
18467 yystate = 5;
18468 continue 'yyl;
18469 }
18470 }
18471 }
18472 5 => {
18473 cursor = marker;
18474 yystate = 2;
18475 continue 'yyl;
18476 }
18477 6 => {
18478 yych = unsafe {
18479 if cursor < len {
18480 *s.as_bytes().get_unchecked(cursor)
18481 } else {
18482 255
18483 }
18484 };
18485 match yych {
18486 0x61..=0x7A => {
18487 cursor += 1;
18488 yystate = 8;
18489 continue 'yyl;
18490 }
18491 _ => {
18492 yystate = 5;
18493 continue 'yyl;
18494 }
18495 }
18496 }
18497 7 => {
18498 yych = unsafe {
18499 if cursor < len {
18500 *s.as_bytes().get_unchecked(cursor)
18501 } else {
18502 255
18503 }
18504 };
18505 match yych {
18506 0x00..=0x08
18507 | 0x0E..=0x1F
18508 | 0x23..=0x26
18509 | 0x28..=0x2C
18510 | 0x30..=0x3B
18511 | 0x3F..=0x7A
18512 | 0x7C
18513 | 0x7E..=0xFE => {
18514 cursor += 1;
18515 yystate = 7;
18516 continue 'yyl;
18517 }
18518 0x2E => {
18519 cursor += 1;
18520 yystate = 9;
18521 continue 'yyl;
18522 }
18523 0x3E => {
18524 cursor += 1;
18525 yystate = 10;
18526 continue 'yyl;
18527 }
18528 _ => {
18529 yystate = 5;
18530 continue 'yyl;
18531 }
18532 }
18533 }
18534 8 => {
18535 yych = unsafe {
18536 if cursor < len {
18537 *s.as_bytes().get_unchecked(cursor)
18538 } else {
18539 255
18540 }
18541 };
18542 match yych {
18543 0x00..=0x08
18544 | 0x0E..=0x1F
18545 | 0x23..=0x26
18546 | 0x28..=0x2C
18547 | 0x30..=0x3B
18548 | 0x3F..=0x7A
18549 | 0x7C
18550 | 0x7E..=0xFE => {
18551 cursor += 1;
18552 yystate = 8;
18553 continue 'yyl;
18554 }
18555 0x3E => {
18556 cursor += 1;
18557 yystate = 10;
18558 continue 'yyl;
18559 }
18560 _ => {
18561 yystate = 5;
18562 continue 'yyl;
18563 }
18564 }
18565 }
18566 9 => {
18567 yych = unsafe {
18568 if cursor < len {
18569 *s.as_bytes().get_unchecked(cursor)
18570 } else {
18571 255
18572 }
18573 };
18574 match yych {
18575 0x41..=0x5A => {
18576 cursor += 1;
18577 yystate = 7;
18578 continue 'yyl;
18579 }
18580 0x61..=0x7A => {
18581 cursor += 1;
18582 yystate = 8;
18583 continue 'yyl;
18584 }
18585 _ => {
18586 yystate = 5;
18587 continue 'yyl;
18588 }
18589 }
18590 }
18591 10 => {
18592 return Some(cursor - 3);
18593 }
18594 _ => panic!("internal lexer error"),
18595 }
18596 }
18597 }
18598 }
18599
18600 #[cfg(feature = "phoenix_heex")]
18601 pub fn phoenix_closing_tag(s: &str) -> Option<usize> {
18602 phoenix_block_closing_tag(s).map(|tag_len| tag_len + 3)
18603 }
18604
18605 #[cfg(feature = "phoenix_heex")]
18606 pub fn phoenix_closing_tag_end(s: &str, tag_name: &str) -> Option<usize> {
18607 let bytes = s.as_bytes();
18608 let len = bytes.len();
18609
18610 let mut i = 0;
18611 while i + 3 < len {
18612 if bytes[i] == b'<' && bytes[i + 1] == b'/' {
18613 if let Some(tag_name_len) = phoenix_block_closing_tag(&s[i..]) {
18614 if &s[i + 2..i + 2 + tag_name_len] == tag_name {
18615 return Some(i + 2 + tag_name_len + 1);
18616 }
18617 }
18618 }
18619 i += 1;
18620 }
18621 None
18622 }
18623
18624 #[cfg(feature = "phoenix_heex")]
18625 pub fn phoenix_self_closing_tag_end(s: &str) -> Option<usize> {
18626 let bytes = s.as_bytes();
18627 let len = bytes.len();
18628
18629 if len < 4 || bytes[0] != b'<' {
18630 return None;
18631 }
18632
18633 let mut i = 1;
18634 while i + 1 < len {
18635 match bytes[i] {
18636 b'"' | b'\'' => {
18637 i = crate::strings::skip_quoted_string(s, i + 1, bytes[i]);
18638 }
18639 b'/' if bytes[i + 1] == b'>' => {
18640 return Some(i + 2);
18641 }
18642 b'>' => {
18643 return None;
18644 }
18645 _ => i += 1,
18646 }
18647 }
18648 None
18649 }
18650
18651 #[cfg(feature = "phoenix_heex")]
18652 pub fn phoenix_directive(s: &str) -> Option<usize> {
18653 let bytes = s.as_bytes();
18654 let len = s.len();
18655
18656 if s.len() < 4 || bytes[0] != b'<' || bytes[1] != b'%' {
18657 return None;
18658 }
18659
18660 if bytes[2] == b'!' && s.len() >= 7 {
18661 let mut cursor = 0;
18662 let mut marker = 0;
18663
18664 {
18665 #[allow(unused_assignments)]
18666 let mut yych: u8 = 0;
18667 let mut yystate: usize = 0;
18668 'yyl: loop {
18669 match yystate {
18670 0 => {
18671 yych = unsafe {
18672 if cursor < len {
18673 *s.as_bytes().get_unchecked(cursor)
18674 } else {
18675 255
18676 }
18677 };
18678 cursor += 1;
18679 match yych {
18680 0x3C => {
18681 yystate = 3;
18682 continue 'yyl;
18683 }
18684 _ => {
18685 yystate = 1;
18686 continue 'yyl;
18687 }
18688 }
18689 }
18690 1 => {
18691 yystate = 2;
18692 continue 'yyl;
18693 }
18694 2 => {
18695 return None;
18696 }
18697 3 => {
18698 marker = cursor;
18699 yych = unsafe {
18700 if cursor < len {
18701 *s.as_bytes().get_unchecked(cursor)
18702 } else {
18703 255
18704 }
18705 };
18706 match yych {
18707 0x25 => {
18708 cursor += 1;
18709 yystate = 4;
18710 continue 'yyl;
18711 }
18712 _ => {
18713 yystate = 2;
18714 continue 'yyl;
18715 }
18716 }
18717 }
18718 4 => {
18719 yych = unsafe {
18720 if cursor < len {
18721 *s.as_bytes().get_unchecked(cursor)
18722 } else {
18723 255
18724 }
18725 };
18726 match yych {
18727 0x21 => {
18728 cursor += 1;
18729 yystate = 6;
18730 continue 'yyl;
18731 }
18732 _ => {
18733 yystate = 5;
18734 continue 'yyl;
18735 }
18736 }
18737 }
18738 5 => {
18739 cursor = marker;
18740 yystate = 2;
18741 continue 'yyl;
18742 }
18743 6 => {
18744 yych = unsafe {
18745 if cursor < len {
18746 *s.as_bytes().get_unchecked(cursor)
18747 } else {
18748 255
18749 }
18750 };
18751 match yych {
18752 0x2D => {
18753 cursor += 1;
18754 yystate = 7;
18755 continue 'yyl;
18756 }
18757 _ => {
18758 yystate = 5;
18759 continue 'yyl;
18760 }
18761 }
18762 }
18763 7 => {
18764 yych = unsafe {
18765 if cursor < len {
18766 *s.as_bytes().get_unchecked(cursor)
18767 } else {
18768 255
18769 }
18770 };
18771 match yych {
18772 0x2D => {
18773 cursor += 1;
18774 yystate = 8;
18775 continue 'yyl;
18776 }
18777 _ => {
18778 yystate = 5;
18779 continue 'yyl;
18780 }
18781 }
18782 }
18783 8 => {
18784 yych = unsafe {
18785 if cursor < len {
18786 *s.as_bytes().get_unchecked(cursor)
18787 } else {
18788 255
18789 }
18790 };
18791 match yych {
18792 0x00..=0x2C | 0x2E..=0xFE => {
18793 cursor += 1;
18794 yystate = 8;
18795 continue 'yyl;
18796 }
18797 0x2D => {
18798 cursor += 1;
18799 yystate = 9;
18800 continue 'yyl;
18801 }
18802 _ => {
18803 yystate = 5;
18804 continue 'yyl;
18805 }
18806 }
18807 }
18808 9 => {
18809 yych = unsafe {
18810 if cursor < len {
18811 *s.as_bytes().get_unchecked(cursor)
18812 } else {
18813 255
18814 }
18815 };
18816 match yych {
18817 0x00..=0x2C | 0x2E..=0xFE => {
18818 cursor += 1;
18819 yystate = 8;
18820 continue 'yyl;
18821 }
18822 0x2D => {
18823 cursor += 1;
18824 yystate = 10;
18825 continue 'yyl;
18826 }
18827 _ => {
18828 yystate = 5;
18829 continue 'yyl;
18830 }
18831 }
18832 }
18833 10 => {
18834 yych = unsafe {
18835 if cursor < len {
18836 *s.as_bytes().get_unchecked(cursor)
18837 } else {
18838 255
18839 }
18840 };
18841 match yych {
18842 0x00..=0x24 | 0x26..=0xFE => {
18843 cursor += 1;
18844 yystate = 8;
18845 continue 'yyl;
18846 }
18847 0x25 => {
18848 cursor += 1;
18849 yystate = 11;
18850 continue 'yyl;
18851 }
18852 _ => {
18853 yystate = 5;
18854 continue 'yyl;
18855 }
18856 }
18857 }
18858 11 => {
18859 yych = unsafe {
18860 if cursor < len {
18861 *s.as_bytes().get_unchecked(cursor)
18862 } else {
18863 255
18864 }
18865 };
18866 match yych {
18867 0x3E => {
18868 cursor += 1;
18869 yystate = 12;
18870 continue 'yyl;
18871 }
18872 _ => {
18873 yystate = 5;
18874 continue 'yyl;
18875 }
18876 }
18877 }
18878 12 => {
18879 return Some(cursor);
18880 }
18881 _ => panic!("internal lexer error"),
18882 }
18883 }
18884 }
18885 }
18886
18887 if bytes[2] == b'#' {
18888 let mut cursor = 0;
18889 let mut marker = 0;
18890
18891 {
18892 #[allow(unused_assignments)]
18893 let mut yych: u8 = 0;
18894 let mut yystate: usize = 0;
18895 'yyl: loop {
18896 match yystate {
18897 0 => {
18898 yych = unsafe {
18899 if cursor < len {
18900 *s.as_bytes().get_unchecked(cursor)
18901 } else {
18902 255
18903 }
18904 };
18905 cursor += 1;
18906 match yych {
18907 0x3C => {
18908 yystate = 3;
18909 continue 'yyl;
18910 }
18911 _ => {
18912 yystate = 1;
18913 continue 'yyl;
18914 }
18915 }
18916 }
18917 1 => {
18918 yystate = 2;
18919 continue 'yyl;
18920 }
18921 2 => {
18922 return None;
18923 }
18924 3 => {
18925 marker = cursor;
18926 yych = unsafe {
18927 if cursor < len {
18928 *s.as_bytes().get_unchecked(cursor)
18929 } else {
18930 255
18931 }
18932 };
18933 match yych {
18934 0x25 => {
18935 cursor += 1;
18936 yystate = 4;
18937 continue 'yyl;
18938 }
18939 _ => {
18940 yystate = 2;
18941 continue 'yyl;
18942 }
18943 }
18944 }
18945 4 => {
18946 yych = unsafe {
18947 if cursor < len {
18948 *s.as_bytes().get_unchecked(cursor)
18949 } else {
18950 255
18951 }
18952 };
18953 match yych {
18954 0x23 => {
18955 cursor += 1;
18956 yystate = 6;
18957 continue 'yyl;
18958 }
18959 _ => {
18960 yystate = 5;
18961 continue 'yyl;
18962 }
18963 }
18964 }
18965 5 => {
18966 cursor = marker;
18967 yystate = 2;
18968 continue 'yyl;
18969 }
18970 6 => {
18971 yych = unsafe {
18972 if cursor < len {
18973 *s.as_bytes().get_unchecked(cursor)
18974 } else {
18975 255
18976 }
18977 };
18978 match yych {
18979 0x00..=0x24 | 0x26..=0xFE => {
18980 cursor += 1;
18981 yystate = 6;
18982 continue 'yyl;
18983 }
18984 0x25 => {
18985 cursor += 1;
18986 yystate = 7;
18987 continue 'yyl;
18988 }
18989 _ => {
18990 yystate = 5;
18991 continue 'yyl;
18992 }
18993 }
18994 }
18995 7 => {
18996 yych = unsafe {
18997 if cursor < len {
18998 *s.as_bytes().get_unchecked(cursor)
18999 } else {
19000 255
19001 }
19002 };
19003 match yych {
19004 0x00..=0x3D | 0x3F..=0xFE => {
19005 cursor += 1;
19006 yystate = 6;
19007 continue 'yyl;
19008 }
19009 0x3E => {
19010 cursor += 1;
19011 yystate = 8;
19012 continue 'yyl;
19013 }
19014 _ => {
19015 yystate = 5;
19016 continue 'yyl;
19017 }
19018 }
19019 }
19020 8 => {
19021 return Some(cursor);
19022 }
19023 _ => panic!("internal lexer error"),
19024 }
19025 }
19026 }
19027 }
19028
19029 let mut cursor = 2;
19030 while cursor + 1 < len {
19031 match bytes[cursor] {
19032 b'"' | b'\'' => {
19033 cursor = crate::strings::skip_quoted_string(s, cursor + 1, bytes[cursor]);
19034 }
19035 b'%' if bytes[cursor + 1] == b'>' => {
19036 return Some(cursor + 2);
19037 }
19038 _ => cursor += 1,
19039 }
19040 }
19041
19042 None
19043 }
19044
19045 #[cfg(feature = "phoenix_heex")]
19046 pub fn phoenix_block_directive_start(s: &str) -> Option<usize> {
19047 let bytes = s.as_bytes();
19048 if bytes.len() >= 2 && bytes[0] == b'<' && bytes[1] == b'%' {
19049 Some(2)
19050 } else {
19051 None
19052 }
19053 }
19054
19055 #[cfg(feature = "phoenix_heex")]
19056 pub fn phoenix_block_expression_start(s: &str) -> Option<usize> {
19057 let bytes = s.as_bytes();
19058 if !bytes.is_empty() && bytes[0] == b'{' {
19059 Some(1)
19060 } else {
19061 None
19062 }
19063 }
19064
19065 #[cfg(feature = "phoenix_heex")]
19066 pub fn phoenix_block_directive_end(s: &str) -> bool {
19067 let bytes = s.as_bytes();
19068 let len = bytes.len();
19069
19070 if len < 2 {
19071 return false;
19072 }
19073
19074 let mut i = 0;
19075 while i < len {
19076 match bytes[i] {
19077 b'"' | b'\'' => {
19078 i = crate::strings::skip_quoted_string(s, i + 1, bytes[i]);
19079 }
19080 b'-' if i + 3 < len
19081 && bytes[i + 1] == b'-'
19082 && bytes[i + 2] == b'%'
19083 && bytes[i + 3] == b'>' =>
19084 {
19085 return true;
19086 }
19087 b'%' if i + 1 < len && bytes[i + 1] == b'>' => {
19088 return true;
19089 }
19090 _ => i += 1,
19091 }
19092 }
19093
19094 false
19095 }
19096
19097 #[cfg(feature = "phoenix_heex")]
19098 pub fn phoenix_block_comment_end(s: &str) -> bool {
19099 let bytes = s.as_bytes();
19100 let len = bytes.len();
19101
19102 if len < 2 {
19103 return false;
19104 }
19105
19106 let mut i = 0;
19107 while i < len {
19108 match bytes[i] {
19109 b'"' | b'\'' => {
19110 i = crate::strings::skip_quoted_string(s, i + 1, bytes[i]);
19111 }
19112 b'%' if i + 1 < len && bytes[i + 1] == b'>' => {
19113 return true;
19114 }
19115 _ => i += 1,
19116 }
19117 }
19118
19119 false
19120 }
19121
19122 #[cfg(feature = "phoenix_heex")]
19123 pub fn phoenix_block_multiline_comment_end(s: &str) -> bool {
19124 let bytes = s.as_bytes();
19125 let len = bytes.len();
19126
19127 if len < 4 {
19128 return false;
19129 }
19130
19131 let mut i = 0;
19132 while i < len {
19133 match bytes[i] {
19134 b'"' | b'\'' => {
19135 i = crate::strings::skip_quoted_string(s, i + 1, bytes[i]);
19136 }
19137 b'-' if i + 3 < len
19138 && bytes[i + 1] == b'-'
19139 && bytes[i + 2] == b'%'
19140 && bytes[i + 3] == b'>' =>
19141 {
19142 return true;
19143 }
19144 _ => i += 1,
19145 }
19146 }
19147
19148 false
19149 }
19150
19151 #[cfg(feature = "phoenix_heex")]
19152 pub fn phoenix_block_expression_end(s: &str) -> bool {
19153 let bytes = s.as_bytes();
19154 let len = bytes.len();
19155
19156 if len < 1 {
19157 return false;
19158 }
19159
19160 let mut i = 0;
19161 while i < len {
19162 match bytes[i] {
19163 b'"' | b'\'' => {
19164 i = crate::strings::skip_quoted_string(s, i + 1, bytes[i]);
19165 }
19166 b'}' => {
19167 return true;
19168 }
19169 _ => i += 1,
19170 }
19171 }
19172
19173 false
19174 }