904 ^ self reportLastMatch |
907 ^ self reportLastMatch |
905 ]. |
908 ]. |
906 ^ self reportLastMatch |
909 ^ self reportLastMatch |
907 ]. |
910 ]. |
908 (currentCharacter == $() ifTrue:[ |
911 (currentCharacter == $() ifTrue:[ |
909 ^ self recordAndReportMatch:#( 10 ). |
912 ^ self recordAndReportMatch:#( 11 ). |
910 ]. |
913 ]. |
911 (currentCharacter == $)) ifTrue:[ |
914 (currentCharacter == $)) ifTrue:[ |
912 ^ self recordAndReportMatch:#( 12 ). |
915 ^ self recordAndReportMatch:#( 13 ). |
913 ]. |
916 ]. |
914 (currentCharacter == $-) ifTrue:[ |
917 (currentCharacter == $-) ifTrue:[ |
915 self recordMatch:#( 30 ). |
918 self recordMatch:#( 33 ). |
916 self step. |
919 self step. |
917 ((currentCharacter between:$- and:$/) |
920 (currentCharacter isLetter |
918 or:[ |
921 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
919 (currentCharacter between:$A and:$Z) |
|
920 or:[ |
|
921 currentCharacter == $_ |
|
922 or:[ |
|
923 (currentCharacter between:$a and:$e) |
|
924 or:[ (currentCharacter between:$g and:$z) ] |
|
925 ] |
|
926 ] |
|
927 ]) |
|
928 ifTrue:[ |
922 ifTrue:[ |
929 [ |
923 [ |
930 self recordMatch:#( 30 ). |
924 self recordMatch:#( 33 ). |
931 self step. |
925 self step. |
932 (currentCharacter isLetterOrDigit |
926 (currentCharacter isLetterOrDigit |
933 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
927 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
934 ] whileTrue. |
928 ] whileTrue. |
935 ^ self reportLastMatch |
929 ^ self reportLastMatch |
936 ]. |
930 ]. |
937 (currentCharacter isXMLDigit) ifTrue:[ |
931 (currentCharacter isXMLDigit) ifTrue:[ |
938 ^ self scan2 |
932 ^ self scan2 |
939 ]. |
933 ]. |
940 (currentCharacter == $f) ifTrue:[ |
934 ^ self reportLastMatch |
941 self recordMatch:#( 30 ). |
935 ]. |
|
936 (currentCharacter == $/) ifTrue:[ |
|
937 [ |
|
938 self recordMatch:#( 33 ). |
|
939 self step. |
|
940 (currentCharacter isLetterOrDigit |
|
941 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
942 ] whileTrue. |
|
943 ^ self reportLastMatch |
|
944 ]. |
|
945 (currentCharacter == $e) ifTrue:[ |
|
946 self recordMatch:#( 30 33 ). |
|
947 self step. |
|
948 ((currentCharacter between:$0 and:$9) |
|
949 or:[ |
|
950 (currentCharacter between:$A and:$Z) |
|
951 or:[ |
|
952 currentCharacter == $_ |
|
953 or:[ |
|
954 (currentCharacter between:$a and:$m) |
|
955 or:[ (currentCharacter between:$o and:$z) ] |
|
956 ] |
|
957 ] |
|
958 ]) |
|
959 ifTrue:[ ^ self scan1 ]. |
|
960 (currentCharacter between:$- and:$/) ifTrue:[ |
|
961 [ |
|
962 self recordMatch:#( 33 ). |
|
963 self step. |
|
964 (currentCharacter isLetterOrDigit |
|
965 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
966 ] whileTrue. |
|
967 ^ self reportLastMatch |
|
968 ]. |
|
969 (currentCharacter == $n) ifTrue:[ |
|
970 self recordMatch:#( 30 33 ). |
942 self step. |
971 self step. |
943 (currentCharacter isXMLDigit |
972 (currentCharacter isXMLDigit |
944 or:[ |
973 or:[ |
945 (currentCharacter between:$- and:$/) |
974 (currentCharacter between:$A and:$Z) |
946 or:[ |
975 or:[ |
947 (currentCharacter between:$A and:$Z) |
976 currentCharacter == $_ |
948 or:[ |
977 or:[ |
949 currentCharacter == $_ |
978 (currentCharacter between:$a and:$t) |
950 or:[ |
979 or:[ (currentCharacter between:$v and:$z) ] |
951 (currentCharacter between:$a and:$n) |
|
952 or:[ (currentCharacter between:$p and:$z) ] |
|
953 ] |
|
954 ] |
980 ] |
955 ] |
981 ] |
956 ]) |
982 ]) |
957 ifTrue:[ |
983 ifTrue:[ ^ self scan1 ]. |
|
984 (currentCharacter between:$- and:$/) ifTrue:[ |
|
985 [ |
|
986 self recordMatch:#( 33 ). |
|
987 self step. |
|
988 (currentCharacter isLetterOrDigit |
|
989 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
990 ] whileTrue. |
|
991 ^ self reportLastMatch |
|
992 ]. |
|
993 (currentCharacter == $u) ifTrue:[ |
|
994 self recordMatch:#( 30 33 ). |
|
995 self step. |
|
996 ((currentCharacter between:$0 and:$9) |
|
997 or:[ |
|
998 (currentCharacter between:$A and:$Z) |
|
999 or:[ |
|
1000 currentCharacter == $_ |
|
1001 or:[ |
|
1002 (currentCharacter between:$a and:$l) |
|
1003 or:[ (currentCharacter between:$n and:$z) ] |
|
1004 ] |
|
1005 ] |
|
1006 ]) |
|
1007 ifTrue:[ ^ self scan1 ]. |
|
1008 (currentCharacter between:$- and:$/) ifTrue:[ |
|
1009 [ |
|
1010 self recordMatch:#( 33 ). |
|
1011 self step. |
|
1012 (currentCharacter isLetterOrDigit |
|
1013 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1014 ] whileTrue. |
|
1015 ^ self reportLastMatch |
|
1016 ]. |
|
1017 (currentCharacter == $m) ifTrue:[ |
|
1018 self recordMatch:#( 30 33 ). |
|
1019 self step. |
|
1020 (currentCharacter isLetterOrDigit or:[ currentCharacter == $_ ]) ifTrue:[ |
|
1021 ^ self scan1 |
|
1022 ]. |
|
1023 (currentCharacter between:$. and:$/) ifTrue:[ |
958 [ |
1024 [ |
959 self recordMatch:#( 30 ). |
1025 self recordMatch:#( 33 ). |
960 self step. |
1026 self step. |
961 (currentCharacter isLetterOrDigit |
1027 (currentCharacter isLetterOrDigit |
962 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1028 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
963 ] whileTrue. |
1029 ] whileTrue. |
964 ^ self reportLastMatch |
1030 ^ self reportLastMatch |
965 ]. |
1031 ]. |
966 (currentCharacter == $o) ifTrue:[ |
1032 (currentCharacter == $-) ifTrue:[ |
967 self recordMatch:#( 30 ). |
1033 self recordMatch:#( 33 ). |
968 self step. |
1034 self step. |
969 ((currentCharacter between:$- and:$9) |
1035 ((currentCharacter between:$- and:$9) |
970 or:[ |
|
971 (currentCharacter between:$A and:$Z) |
|
972 or:[ |
1036 or:[ |
973 currentCharacter == $_ |
1037 (currentCharacter between:$A and:$Z) |
974 or:[ |
1038 or:[ |
975 (currentCharacter between:$a and:$q) |
1039 currentCharacter == $_ |
976 or:[ (currentCharacter between:$s and:$z) ] |
|
977 ] |
|
978 ] |
|
979 ]) |
|
980 ifTrue:[ |
|
981 [ |
|
982 self recordMatch:#( 30 ). |
|
983 self step. |
|
984 (currentCharacter isLetterOrDigit |
|
985 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
986 ] whileTrue. |
|
987 ^ self reportLastMatch |
|
988 ]. |
|
989 (currentCharacter == $r) ifTrue:[ |
|
990 self recordMatch:#( 30 ). |
|
991 self step. |
|
992 (currentCharacter isXMLDigit |
|
993 or:[ |
|
994 (currentCharacter between:$- and:$/) |
|
995 or:[ |
|
996 (currentCharacter between:$A and:$Z) |
|
997 or:[ |
|
998 currentCharacter == $_ |
|
999 or:[ |
|
1000 (currentCharacter between:$a and:$d) |
|
1001 or:[ (currentCharacter between:$f and:$z) ] |
|
1002 ] |
|
1003 ] |
|
1004 ] |
|
1005 ]) |
|
1006 ifTrue:[ |
|
1007 [ |
|
1008 self recordMatch:#( 30 ). |
|
1009 self step. |
|
1010 (currentCharacter isLetterOrDigit |
|
1011 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1012 ] whileTrue. |
|
1013 ^ self reportLastMatch |
|
1014 ]. |
|
1015 (currentCharacter == $e) ifTrue:[ |
|
1016 self recordMatch:#( 30 ). |
|
1017 self step. |
|
1018 (currentCharacter isXMLDigit |
|
1019 or:[ |
|
1020 (currentCharacter between:$- and:$/) |
|
1021 or:[ |
|
1022 (currentCharacter between:$A and:$Z) |
|
1023 or:[ |
1040 or:[ |
1024 currentCharacter == $_ |
1041 (currentCharacter between:$a and:$e) |
1025 or:[ |
1042 or:[ (currentCharacter between:$g and:$z) ] |
1026 (currentCharacter between:$a and:$h) |
|
1027 or:[ (currentCharacter between:$j and:$z) ] |
|
1028 ] |
|
1029 ] |
1043 ] |
1030 ] |
1044 ] |
1031 ]) |
1045 ]) |
1032 ifTrue:[ |
1046 ifTrue:[ |
1033 [ |
1047 [ |
1034 self recordMatch:#( 30 ). |
1048 self recordMatch:#( 33 ). |
1035 self step. |
1049 self step. |
1036 (currentCharacter isLetterOrDigit |
1050 (currentCharacter isLetterOrDigit |
1037 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1051 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1038 ] whileTrue. |
1052 ] whileTrue. |
1039 ^ self reportLastMatch |
1053 ^ self reportLastMatch |
1040 ]. |
1054 ]. |
1041 (currentCharacter == $i) ifTrue:[ |
1055 (currentCharacter == $f) ifTrue:[ |
1042 self recordMatch:#( 30 ). |
1056 self recordMatch:#( 33 ). |
1043 self step. |
1057 self step. |
1044 ((currentCharacter between:$- and:$9) |
1058 (currentCharacter isXMLDigit |
1045 or:[ |
1059 or:[ |
1046 (currentCharacter between:$A and:$Z) |
1060 (currentCharacter between:$- and:$/) |
1047 or:[ |
1061 or:[ |
1048 currentCharacter == $_ |
1062 (currentCharacter between:$A and:$Z) |
1049 or:[ |
1063 or:[ |
1050 (currentCharacter between:$a and:$f) |
1064 currentCharacter == $_ |
1051 or:[ (currentCharacter between:$h and:$z) ] |
1065 or:[ |
|
1066 (currentCharacter between:$a and:$n) |
|
1067 or:[ (currentCharacter between:$p and:$z) ] |
|
1068 ] |
1052 ] |
1069 ] |
1053 ] |
1070 ] |
1054 ]) |
1071 ]) |
1055 ifTrue:[ |
1072 ifTrue:[ |
1056 [ |
1073 [ |
1057 self recordMatch:#( 30 ). |
1074 self recordMatch:#( 33 ). |
1058 self step. |
1075 self step. |
1059 (currentCharacter isLetterOrDigit |
1076 (currentCharacter isLetterOrDigit |
1060 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1077 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1061 ] whileTrue. |
1078 ] whileTrue. |
1062 ^ self reportLastMatch |
1079 ^ self reportLastMatch |
1063 ]. |
1080 ]. |
1064 (currentCharacter == $g) ifTrue:[ |
1081 (currentCharacter == $o) ifTrue:[ |
1065 self recordMatch:#( 30 ). |
1082 self recordMatch:#( 33 ). |
1066 self step. |
1083 self step. |
1067 ((currentCharacter between:$- and:$9) |
1084 ((currentCharacter between:$- and:$9) |
1068 or:[ |
1085 or:[ |
1069 (currentCharacter between:$A and:$Z) |
1086 (currentCharacter between:$A and:$Z) |
1070 or:[ |
1087 or:[ |
1071 currentCharacter == $_ |
1088 currentCharacter == $_ |
1072 or:[ |
1089 or:[ |
1073 (currentCharacter between:$a and:$m) |
1090 (currentCharacter between:$a and:$q) |
1074 or:[ (currentCharacter between:$o and:$z) ] |
1091 or:[ (currentCharacter between:$s and:$z) ] |
1075 ] |
1092 ] |
1076 ] |
1093 ] |
1077 ]) |
1094 ]) |
1078 ifTrue:[ |
1095 ifTrue:[ |
1079 [ |
1096 [ |
1080 self recordMatch:#( 30 ). |
1097 self recordMatch:#( 33 ). |
1081 self step. |
1098 self step. |
1082 (currentCharacter isLetterOrDigit |
1099 (currentCharacter isLetterOrDigit |
1083 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1100 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1084 ] whileTrue. |
1101 ] whileTrue. |
1085 ^ self reportLastMatch |
1102 ^ self reportLastMatch |
1086 ]. |
1103 ]. |
1087 (currentCharacter == $n) ifTrue:[ |
1104 (currentCharacter == $r) ifTrue:[ |
1088 self recordMatch:#( 19 30 ). |
1105 self recordMatch:#( 33 ). |
1089 self step. |
1106 self step. |
1090 (currentCharacter isLetterOrDigit |
1107 (currentCharacter isXMLDigit |
1091 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1108 or:[ |
|
1109 (currentCharacter between:$- and:$/) |
|
1110 or:[ |
|
1111 (currentCharacter between:$A and:$Z) |
|
1112 or:[ |
|
1113 currentCharacter == $_ |
|
1114 or:[ |
|
1115 (currentCharacter between:$a and:$d) |
|
1116 or:[ (currentCharacter between:$f and:$z) ] |
|
1117 ] |
|
1118 ] |
|
1119 ] |
|
1120 ]) |
1092 ifTrue:[ |
1121 ifTrue:[ |
1093 [ |
1122 [ |
1094 self recordMatch:#( 30 ). |
1123 self recordMatch:#( 33 ). |
1095 self step. |
1124 self step. |
1096 (currentCharacter isLetterOrDigit |
1125 (currentCharacter isLetterOrDigit |
1097 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1126 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
1098 ] whileTrue. |
1127 ] whileTrue. |
1099 ^ self reportLastMatch |
1128 ^ self reportLastMatch |
1100 ]. |
1129 ]. |
|
1130 (currentCharacter == $e) ifTrue:[ |
|
1131 self recordMatch:#( 33 ). |
|
1132 self step. |
|
1133 (currentCharacter isXMLDigit |
|
1134 or:[ |
|
1135 (currentCharacter between:$- and:$/) |
|
1136 or:[ |
|
1137 (currentCharacter between:$A and:$Z) |
|
1138 or:[ |
|
1139 currentCharacter == $_ |
|
1140 or:[ |
|
1141 (currentCharacter between:$a and:$h) |
|
1142 or:[ (currentCharacter between:$j and:$z) ] |
|
1143 ] |
|
1144 ] |
|
1145 ] |
|
1146 ]) |
|
1147 ifTrue:[ |
|
1148 [ |
|
1149 self recordMatch:#( 33 ). |
|
1150 self step. |
|
1151 (currentCharacter isLetterOrDigit |
|
1152 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1153 ] whileTrue. |
|
1154 ^ self reportLastMatch |
|
1155 ]. |
|
1156 (currentCharacter == $i) ifTrue:[ |
|
1157 self recordMatch:#( 33 ). |
|
1158 self step. |
|
1159 ((currentCharacter between:$- and:$9) |
|
1160 or:[ |
|
1161 (currentCharacter between:$A and:$Z) |
|
1162 or:[ |
|
1163 currentCharacter == $_ |
|
1164 or:[ |
|
1165 (currentCharacter between:$a and:$f) |
|
1166 or:[ (currentCharacter between:$h and:$z) ] |
|
1167 ] |
|
1168 ] |
|
1169 ]) |
|
1170 ifTrue:[ |
|
1171 [ |
|
1172 self recordMatch:#( 33 ). |
|
1173 self step. |
|
1174 (currentCharacter isLetterOrDigit |
|
1175 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1176 ] whileTrue. |
|
1177 ^ self reportLastMatch |
|
1178 ]. |
|
1179 (currentCharacter == $g) ifTrue:[ |
|
1180 self recordMatch:#( 33 ). |
|
1181 self step. |
|
1182 ((currentCharacter between:$- and:$9) |
|
1183 or:[ |
|
1184 (currentCharacter between:$A and:$Z) |
|
1185 or:[ |
|
1186 currentCharacter == $_ |
|
1187 or:[ |
|
1188 (currentCharacter between:$a and:$m) |
|
1189 or:[ (currentCharacter between:$o and:$z) ] |
|
1190 ] |
|
1191 ] |
|
1192 ]) |
|
1193 ifTrue:[ |
|
1194 [ |
|
1195 self recordMatch:#( 33 ). |
|
1196 self step. |
|
1197 (currentCharacter isLetterOrDigit |
|
1198 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1199 ] whileTrue. |
|
1200 ^ self reportLastMatch |
|
1201 ]. |
|
1202 (currentCharacter == $n) ifTrue:[ |
|
1203 self recordMatch:#( 18 33 ). |
|
1204 self step. |
|
1205 (currentCharacter isLetterOrDigit |
|
1206 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1207 ifTrue:[ |
|
1208 [ |
|
1209 self recordMatch:#( 33 ). |
|
1210 self step. |
|
1211 (currentCharacter isLetterOrDigit |
|
1212 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1213 ] whileTrue. |
|
1214 ^ self reportLastMatch |
|
1215 ]. |
|
1216 ^ self reportLastMatch |
|
1217 ]. |
|
1218 ^ self reportLastMatch |
|
1219 ]. |
|
1220 ^ self reportLastMatch |
|
1221 ]. |
|
1222 ^ self reportLastMatch |
|
1223 ]. |
1101 ^ self reportLastMatch |
1224 ^ self reportLastMatch |
1102 ]. |
1225 ]. |
1103 ^ self reportLastMatch |
1226 ^ self reportLastMatch |
1104 ]. |
1227 ]. |
1105 ^ self reportLastMatch |
1228 ^ self reportLastMatch |
1753 ]. |
1867 ]. |
1754 ^ self reportLastMatch |
1868 ^ self reportLastMatch |
1755 ]. |
1869 ]. |
1756 ^ self reportLastMatch |
1870 ^ self reportLastMatch |
1757 ]. |
1871 ]. |
|
1872 (currentCharacter == $s) ifTrue:[ |
|
1873 self recordMatch:#( 30 33 ). |
|
1874 self step. |
|
1875 ((currentCharacter between:$0 and:$9) |
|
1876 or:[ |
|
1877 (currentCharacter between:$A and:$Z) |
|
1878 or:[ |
|
1879 currentCharacter == $_ |
|
1880 or:[ |
|
1881 (currentCharacter between:$a and:$s) |
|
1882 or:[ (currentCharacter between:$u and:$z) ] |
|
1883 ] |
|
1884 ] |
|
1885 ]) |
|
1886 ifTrue:[ ^ self scan1 ]. |
|
1887 (currentCharacter between:$- and:$/) ifTrue:[ |
|
1888 [ |
|
1889 self recordMatch:#( 33 ). |
|
1890 self step. |
|
1891 (currentCharacter isLetterOrDigit |
|
1892 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1893 ] whileTrue. |
|
1894 ^ self reportLastMatch |
|
1895 ]. |
|
1896 (currentCharacter == $t) ifTrue:[ |
|
1897 self recordMatch:#( 30 33 ). |
|
1898 self step. |
|
1899 ((currentCharacter between:$0 and:$9) |
|
1900 or:[ |
|
1901 (currentCharacter between:$A and:$Z) |
|
1902 or:[ |
|
1903 currentCharacter == $_ |
|
1904 or:[ |
|
1905 (currentCharacter between:$a and:$q) |
|
1906 or:[ (currentCharacter between:$s and:$z) ] |
|
1907 ] |
|
1908 ] |
|
1909 ]) |
|
1910 ifTrue:[ ^ self scan1 ]. |
|
1911 (currentCharacter between:$- and:$/) ifTrue:[ |
|
1912 [ |
|
1913 self recordMatch:#( 33 ). |
|
1914 self step. |
|
1915 (currentCharacter isLetterOrDigit |
|
1916 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1917 ] whileTrue. |
|
1918 ^ self reportLastMatch |
|
1919 ]. |
|
1920 (currentCharacter == $r) ifTrue:[ |
|
1921 self recordMatch:#( 30 33 ). |
|
1922 self step. |
|
1923 (currentCharacter isXMLDigit |
|
1924 or:[ |
|
1925 (currentCharacter between:$A and:$Z) |
|
1926 or:[ |
|
1927 currentCharacter == $_ |
|
1928 or:[ |
|
1929 (currentCharacter between:$a and:$t) |
|
1930 or:[ (currentCharacter between:$v and:$z) ] |
|
1931 ] |
|
1932 ] |
|
1933 ]) |
|
1934 ifTrue:[ ^ self scan1 ]. |
|
1935 (currentCharacter between:$- and:$/) ifTrue:[ |
|
1936 [ |
|
1937 self recordMatch:#( 33 ). |
|
1938 self step. |
|
1939 (currentCharacter isLetterOrDigit |
|
1940 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1941 ] whileTrue. |
|
1942 ^ self reportLastMatch |
|
1943 ]. |
|
1944 (currentCharacter == $u) ifTrue:[ |
|
1945 self recordMatch:#( 30 33 ). |
|
1946 self step. |
|
1947 ((currentCharacter between:$0 and:$9) |
|
1948 or:[ |
|
1949 (currentCharacter between:$A and:$Z) |
|
1950 or:[ |
|
1951 currentCharacter == $_ |
|
1952 or:[ |
|
1953 (currentCharacter between:$a and:$b) |
|
1954 or:[ (currentCharacter between:$d and:$z) ] |
|
1955 ] |
|
1956 ] |
|
1957 ]) |
|
1958 ifTrue:[ ^ self scan1 ]. |
|
1959 (currentCharacter between:$- and:$/) ifTrue:[ |
|
1960 [ |
|
1961 self recordMatch:#( 33 ). |
|
1962 self step. |
|
1963 (currentCharacter isLetterOrDigit |
|
1964 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1965 ] whileTrue. |
|
1966 ^ self reportLastMatch |
|
1967 ]. |
|
1968 (currentCharacter == $c) ifTrue:[ |
|
1969 self recordMatch:#( 30 33 ). |
|
1970 self step. |
|
1971 ((currentCharacter between:$0 and:$9) |
|
1972 or:[ |
|
1973 (currentCharacter between:$A and:$Z) |
|
1974 or:[ |
|
1975 currentCharacter == $_ |
|
1976 or:[ |
|
1977 (currentCharacter between:$a and:$s) |
|
1978 or:[ (currentCharacter between:$u and:$z) ] |
|
1979 ] |
|
1980 ] |
|
1981 ]) |
|
1982 ifTrue:[ ^ self scan1 ]. |
|
1983 (currentCharacter between:$- and:$/) ifTrue:[ |
|
1984 [ |
|
1985 self recordMatch:#( 33 ). |
|
1986 self step. |
|
1987 (currentCharacter isLetterOrDigit |
|
1988 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
1989 ] whileTrue. |
|
1990 ^ self reportLastMatch |
|
1991 ]. |
|
1992 (currentCharacter == $t) ifTrue:[ |
|
1993 self recordMatch:#( 30 33 ). |
|
1994 self step. |
|
1995 (currentCharacter isLetterOrDigit or:[ currentCharacter == $_ ]) ifTrue:[ |
|
1996 ^ self scan1 |
|
1997 ]. |
|
1998 (currentCharacter between:$. and:$/) ifTrue:[ |
|
1999 [ |
|
2000 self recordMatch:#( 33 ). |
|
2001 self step. |
|
2002 (currentCharacter isLetterOrDigit |
|
2003 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2004 ] whileTrue. |
|
2005 ^ self reportLastMatch |
|
2006 ]. |
|
2007 (currentCharacter == $-) ifTrue:[ |
|
2008 self recordMatch:#( 33 ). |
|
2009 self step. |
|
2010 ((currentCharacter between:$- and:$9) |
|
2011 or:[ |
|
2012 (currentCharacter between:$A and:$Z) |
|
2013 or:[ |
|
2014 currentCharacter == $_ |
|
2015 or:[ |
|
2016 (currentCharacter between:$a and:$e) |
|
2017 or:[ (currentCharacter between:$g and:$z) ] |
|
2018 ] |
|
2019 ] |
|
2020 ]) |
|
2021 ifTrue:[ |
|
2022 [ |
|
2023 self recordMatch:#( 33 ). |
|
2024 self step. |
|
2025 (currentCharacter isLetterOrDigit |
|
2026 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2027 ] whileTrue. |
|
2028 ^ self reportLastMatch |
|
2029 ]. |
|
2030 (currentCharacter == $f) ifTrue:[ |
|
2031 self recordMatch:#( 33 ). |
|
2032 self step. |
|
2033 (currentCharacter isXMLDigit |
|
2034 or:[ |
|
2035 (currentCharacter between:$- and:$/) |
|
2036 or:[ |
|
2037 (currentCharacter between:$A and:$Z) |
|
2038 or:[ |
|
2039 currentCharacter == $_ |
|
2040 or:[ |
|
2041 (currentCharacter between:$a and:$n) |
|
2042 or:[ (currentCharacter between:$p and:$z) ] |
|
2043 ] |
|
2044 ] |
|
2045 ] |
|
2046 ]) |
|
2047 ifTrue:[ |
|
2048 [ |
|
2049 self recordMatch:#( 33 ). |
|
2050 self step. |
|
2051 (currentCharacter isLetterOrDigit |
|
2052 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2053 ] whileTrue. |
|
2054 ^ self reportLastMatch |
|
2055 ]. |
|
2056 (currentCharacter == $o) ifTrue:[ |
|
2057 self recordMatch:#( 33 ). |
|
2058 self step. |
|
2059 ((currentCharacter between:$- and:$9) |
|
2060 or:[ |
|
2061 (currentCharacter between:$A and:$Z) |
|
2062 or:[ |
|
2063 currentCharacter == $_ |
|
2064 or:[ |
|
2065 (currentCharacter between:$a and:$q) |
|
2066 or:[ (currentCharacter between:$s and:$z) ] |
|
2067 ] |
|
2068 ] |
|
2069 ]) |
|
2070 ifTrue:[ |
|
2071 [ |
|
2072 self recordMatch:#( 33 ). |
|
2073 self step. |
|
2074 (currentCharacter isLetterOrDigit |
|
2075 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2076 ] whileTrue. |
|
2077 ^ self reportLastMatch |
|
2078 ]. |
|
2079 (currentCharacter == $r) ifTrue:[ |
|
2080 self recordMatch:#( 33 ). |
|
2081 self step. |
|
2082 (currentCharacter isXMLDigit |
|
2083 or:[ |
|
2084 (currentCharacter between:$- and:$/) |
|
2085 or:[ |
|
2086 (currentCharacter between:$A and:$Z) |
|
2087 or:[ |
|
2088 currentCharacter == $_ |
|
2089 or:[ |
|
2090 (currentCharacter between:$a and:$d) |
|
2091 or:[ (currentCharacter between:$f and:$z) ] |
|
2092 ] |
|
2093 ] |
|
2094 ] |
|
2095 ]) |
|
2096 ifTrue:[ |
|
2097 [ |
|
2098 self recordMatch:#( 33 ). |
|
2099 self step. |
|
2100 (currentCharacter isLetterOrDigit |
|
2101 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2102 ] whileTrue. |
|
2103 ^ self reportLastMatch |
|
2104 ]. |
|
2105 (currentCharacter == $e) ifTrue:[ |
|
2106 self recordMatch:#( 33 ). |
|
2107 self step. |
|
2108 (currentCharacter isXMLDigit |
|
2109 or:[ |
|
2110 (currentCharacter between:$- and:$/) |
|
2111 or:[ |
|
2112 (currentCharacter between:$A and:$Z) |
|
2113 or:[ |
|
2114 currentCharacter == $_ |
|
2115 or:[ |
|
2116 (currentCharacter between:$a and:$h) |
|
2117 or:[ (currentCharacter between:$j and:$z) ] |
|
2118 ] |
|
2119 ] |
|
2120 ] |
|
2121 ]) |
|
2122 ifTrue:[ |
|
2123 [ |
|
2124 self recordMatch:#( 33 ). |
|
2125 self step. |
|
2126 (currentCharacter isLetterOrDigit |
|
2127 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2128 ] whileTrue. |
|
2129 ^ self reportLastMatch |
|
2130 ]. |
|
2131 (currentCharacter == $i) ifTrue:[ |
|
2132 self recordMatch:#( 33 ). |
|
2133 self step. |
|
2134 ((currentCharacter between:$- and:$9) |
|
2135 or:[ |
|
2136 (currentCharacter between:$A and:$Z) |
|
2137 or:[ |
|
2138 currentCharacter == $_ |
|
2139 or:[ |
|
2140 (currentCharacter between:$a and:$f) |
|
2141 or:[ (currentCharacter between:$h and:$z) ] |
|
2142 ] |
|
2143 ] |
|
2144 ]) |
|
2145 ifTrue:[ |
|
2146 [ |
|
2147 self recordMatch:#( 33 ). |
|
2148 self step. |
|
2149 (currentCharacter isLetterOrDigit |
|
2150 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2151 ] whileTrue. |
|
2152 ^ self reportLastMatch |
|
2153 ]. |
|
2154 (currentCharacter == $g) ifTrue:[ |
|
2155 self recordMatch:#( 33 ). |
|
2156 self step. |
|
2157 ((currentCharacter between:$- and:$9) |
|
2158 or:[ |
|
2159 (currentCharacter between:$A and:$Z) |
|
2160 or:[ |
|
2161 currentCharacter == $_ |
|
2162 or:[ |
|
2163 (currentCharacter between:$a and:$m) |
|
2164 or:[ (currentCharacter between:$o and:$z) ] |
|
2165 ] |
|
2166 ] |
|
2167 ]) |
|
2168 ifTrue:[ |
|
2169 [ |
|
2170 self recordMatch:#( 33 ). |
|
2171 self step. |
|
2172 (currentCharacter isLetterOrDigit |
|
2173 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2174 ] whileTrue. |
|
2175 ^ self reportLastMatch |
|
2176 ]. |
|
2177 (currentCharacter == $n) ifTrue:[ |
|
2178 self recordMatch:#( 27 33 ). |
|
2179 self step. |
|
2180 (currentCharacter isLetterOrDigit |
|
2181 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2182 ifTrue:[ |
|
2183 [ |
|
2184 self recordMatch:#( 33 ). |
|
2185 self step. |
|
2186 (currentCharacter isLetterOrDigit |
|
2187 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2188 ] whileTrue. |
|
2189 ^ self reportLastMatch |
|
2190 ]. |
|
2191 ^ self reportLastMatch |
|
2192 ]. |
|
2193 ^ self reportLastMatch |
|
2194 ]. |
|
2195 ^ self reportLastMatch |
|
2196 ]. |
|
2197 ^ self reportLastMatch |
|
2198 ]. |
|
2199 ^ self reportLastMatch |
|
2200 ]. |
|
2201 ^ self reportLastMatch |
|
2202 ]. |
|
2203 ^ self reportLastMatch |
|
2204 ]. |
|
2205 ^ self reportLastMatch |
|
2206 ]. |
|
2207 ^ self reportLastMatch |
|
2208 ]. |
|
2209 ^ self reportLastMatch |
|
2210 ]. |
|
2211 ^ self reportLastMatch |
|
2212 ]. |
|
2213 ^ self reportLastMatch |
|
2214 ]. |
|
2215 ^ self reportLastMatch |
|
2216 ]. |
|
2217 ^ self reportLastMatch |
|
2218 ]. |
|
2219 (currentCharacter == $t) ifTrue:[ |
|
2220 self recordMatch:#( 30 33 ). |
|
2221 self step. |
|
2222 ((currentCharacter between:$0 and:$9) |
|
2223 or:[ |
|
2224 (currentCharacter between:$A and:$Z) |
|
2225 or:[ |
|
2226 currentCharacter == $_ |
|
2227 or:[ (currentCharacter between:$a and:$x) or:[ currentCharacter == $z ] ] |
|
2228 ] |
|
2229 ]) |
|
2230 ifTrue:[ ^ self scan1 ]. |
|
2231 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2232 [ |
|
2233 self recordMatch:#( 33 ). |
|
2234 self step. |
|
2235 (currentCharacter isLetterOrDigit |
|
2236 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2237 ] whileTrue. |
|
2238 ^ self reportLastMatch |
|
2239 ]. |
|
2240 (currentCharacter == $y) ifTrue:[ |
|
2241 self recordMatch:#( 30 33 ). |
|
2242 self step. |
|
2243 ((currentCharacter between:$0 and:$9) |
|
2244 or:[ |
|
2245 (currentCharacter between:$A and:$Z) |
|
2246 or:[ |
|
2247 currentCharacter == $_ |
|
2248 or:[ |
|
2249 (currentCharacter between:$a and:$o) |
|
2250 or:[ (currentCharacter between:$q and:$z) ] |
|
2251 ] |
|
2252 ] |
|
2253 ]) |
|
2254 ifTrue:[ ^ self scan1 ]. |
|
2255 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2256 [ |
|
2257 self recordMatch:#( 33 ). |
|
2258 self step. |
|
2259 (currentCharacter isLetterOrDigit |
|
2260 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2261 ] whileTrue. |
|
2262 ^ self reportLastMatch |
|
2263 ]. |
|
2264 (currentCharacter == $p) ifTrue:[ |
|
2265 self recordMatch:#( 30 33 ). |
|
2266 self step. |
|
2267 (currentCharacter isXMLDigit |
|
2268 or:[ |
|
2269 (currentCharacter between:$A and:$Z) |
|
2270 or:[ |
|
2271 currentCharacter == $_ |
|
2272 or:[ |
|
2273 (currentCharacter between:$a and:$d) |
|
2274 or:[ (currentCharacter between:$f and:$z) ] |
|
2275 ] |
|
2276 ] |
|
2277 ]) |
|
2278 ifTrue:[ ^ self scan1 ]. |
|
2279 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2280 [ |
|
2281 self recordMatch:#( 33 ). |
|
2282 self step. |
|
2283 (currentCharacter isLetterOrDigit |
|
2284 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2285 ] whileTrue. |
|
2286 ^ self reportLastMatch |
|
2287 ]. |
|
2288 (currentCharacter == $e) ifTrue:[ |
|
2289 self recordMatch:#( 30 33 ). |
|
2290 self step. |
|
2291 ((currentCharacter between:$0 and:$9) |
|
2292 or:[ |
|
2293 (currentCharacter between:$A and:$Z) |
|
2294 or:[ |
|
2295 currentCharacter == $_ |
|
2296 or:[ |
|
2297 (currentCharacter between:$a and:$c) |
|
2298 or:[ (currentCharacter between:$e and:$z) ] |
|
2299 ] |
|
2300 ] |
|
2301 ]) |
|
2302 ifTrue:[ ^ self scan1 ]. |
|
2303 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2304 [ |
|
2305 self recordMatch:#( 33 ). |
|
2306 self step. |
|
2307 (currentCharacter isLetterOrDigit |
|
2308 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2309 ] whileTrue. |
|
2310 ^ self reportLastMatch |
|
2311 ]. |
|
2312 (currentCharacter == $d) ifTrue:[ |
|
2313 self recordMatch:#( 30 33 ). |
|
2314 self step. |
|
2315 (currentCharacter isXMLDigit |
|
2316 or:[ |
|
2317 (currentCharacter between:$A and:$Z) |
|
2318 or:[ |
|
2319 currentCharacter == $_ |
|
2320 or:[ |
|
2321 (currentCharacter between:$a and:$d) |
|
2322 or:[ (currentCharacter between:$f and:$z) ] |
|
2323 ] |
|
2324 ] |
|
2325 ]) |
|
2326 ifTrue:[ ^ self scan1 ]. |
|
2327 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2328 [ |
|
2329 self recordMatch:#( 33 ). |
|
2330 self step. |
|
2331 (currentCharacter isLetterOrDigit |
|
2332 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2333 ] whileTrue. |
|
2334 ^ self reportLastMatch |
|
2335 ]. |
|
2336 (currentCharacter == $e) ifTrue:[ |
|
2337 self recordMatch:#( 30 33 ). |
|
2338 self step. |
|
2339 ((currentCharacter between:$0 and:$9) |
|
2340 or:[ |
|
2341 (currentCharacter between:$A and:$Z) |
|
2342 or:[ |
|
2343 currentCharacter == $_ |
|
2344 or:[ |
|
2345 (currentCharacter between:$a and:$e) |
|
2346 or:[ (currentCharacter between:$g and:$z) ] |
|
2347 ] |
|
2348 ] |
|
2349 ]) |
|
2350 ifTrue:[ ^ self scan1 ]. |
|
2351 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2352 [ |
|
2353 self recordMatch:#( 33 ). |
|
2354 self step. |
|
2355 (currentCharacter isLetterOrDigit |
|
2356 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2357 ] whileTrue. |
|
2358 ^ self reportLastMatch |
|
2359 ]. |
|
2360 (currentCharacter == $f) ifTrue:[ |
|
2361 self recordMatch:#( 30 33 ). |
|
2362 self step. |
|
2363 (currentCharacter isLetterOrDigit or:[ currentCharacter == $_ ]) ifTrue:[ |
|
2364 ^ self scan1 |
|
2365 ]. |
|
2366 (currentCharacter between:$. and:$/) ifTrue:[ |
|
2367 [ |
|
2368 self recordMatch:#( 33 ). |
|
2369 self step. |
|
2370 (currentCharacter isLetterOrDigit |
|
2371 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2372 ] whileTrue. |
|
2373 ^ self reportLastMatch |
|
2374 ]. |
|
2375 (currentCharacter == $-) ifTrue:[ |
|
2376 self recordMatch:#( 33 ). |
|
2377 self step. |
|
2378 ((currentCharacter between:$- and:$9) |
|
2379 or:[ |
|
2380 (currentCharacter between:$A and:$Z) |
|
2381 or:[ |
|
2382 currentCharacter == $_ |
|
2383 or:[ |
|
2384 (currentCharacter between:$a and:$e) |
|
2385 or:[ (currentCharacter between:$g and:$z) ] |
|
2386 ] |
|
2387 ] |
|
2388 ]) |
|
2389 ifTrue:[ |
|
2390 [ |
|
2391 self recordMatch:#( 33 ). |
|
2392 self step. |
|
2393 (currentCharacter isLetterOrDigit |
|
2394 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2395 ] whileTrue. |
|
2396 ^ self reportLastMatch |
|
2397 ]. |
|
2398 (currentCharacter == $f) ifTrue:[ |
|
2399 self recordMatch:#( 33 ). |
|
2400 self step. |
|
2401 (currentCharacter isXMLDigit |
|
2402 or:[ |
|
2403 (currentCharacter between:$- and:$/) |
|
2404 or:[ |
|
2405 (currentCharacter between:$A and:$Z) |
|
2406 or:[ |
|
2407 currentCharacter == $_ |
|
2408 or:[ |
|
2409 (currentCharacter between:$a and:$n) |
|
2410 or:[ (currentCharacter between:$p and:$z) ] |
|
2411 ] |
|
2412 ] |
|
2413 ] |
|
2414 ]) |
|
2415 ifTrue:[ |
|
2416 [ |
|
2417 self recordMatch:#( 33 ). |
|
2418 self step. |
|
2419 (currentCharacter isLetterOrDigit |
|
2420 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2421 ] whileTrue. |
|
2422 ^ self reportLastMatch |
|
2423 ]. |
|
2424 (currentCharacter == $o) ifTrue:[ |
|
2425 self recordMatch:#( 33 ). |
|
2426 self step. |
|
2427 ((currentCharacter between:$- and:$9) |
|
2428 or:[ |
|
2429 (currentCharacter between:$A and:$Z) |
|
2430 or:[ |
|
2431 currentCharacter == $_ |
|
2432 or:[ |
|
2433 (currentCharacter between:$a and:$q) |
|
2434 or:[ (currentCharacter between:$s and:$z) ] |
|
2435 ] |
|
2436 ] |
|
2437 ]) |
|
2438 ifTrue:[ |
|
2439 [ |
|
2440 self recordMatch:#( 33 ). |
|
2441 self step. |
|
2442 (currentCharacter isLetterOrDigit |
|
2443 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2444 ] whileTrue. |
|
2445 ^ self reportLastMatch |
|
2446 ]. |
|
2447 (currentCharacter == $r) ifTrue:[ |
|
2448 self recordMatch:#( 33 ). |
|
2449 self step. |
|
2450 (currentCharacter isXMLDigit |
|
2451 or:[ |
|
2452 (currentCharacter between:$- and:$/) |
|
2453 or:[ |
|
2454 (currentCharacter between:$A and:$Z) |
|
2455 or:[ |
|
2456 currentCharacter == $_ |
|
2457 or:[ |
|
2458 (currentCharacter between:$a and:$d) |
|
2459 or:[ (currentCharacter between:$f and:$z) ] |
|
2460 ] |
|
2461 ] |
|
2462 ] |
|
2463 ]) |
|
2464 ifTrue:[ |
|
2465 [ |
|
2466 self recordMatch:#( 33 ). |
|
2467 self step. |
|
2468 (currentCharacter isLetterOrDigit |
|
2469 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2470 ] whileTrue. |
|
2471 ^ self reportLastMatch |
|
2472 ]. |
|
2473 (currentCharacter == $e) ifTrue:[ |
|
2474 self recordMatch:#( 33 ). |
|
2475 self step. |
|
2476 (currentCharacter isXMLDigit |
|
2477 or:[ |
|
2478 (currentCharacter between:$- and:$/) |
|
2479 or:[ |
|
2480 (currentCharacter between:$A and:$Z) |
|
2481 or:[ |
|
2482 currentCharacter == $_ |
|
2483 or:[ |
|
2484 (currentCharacter between:$a and:$h) |
|
2485 or:[ (currentCharacter between:$j and:$z) ] |
|
2486 ] |
|
2487 ] |
|
2488 ] |
|
2489 ]) |
|
2490 ifTrue:[ |
|
2491 [ |
|
2492 self recordMatch:#( 33 ). |
|
2493 self step. |
|
2494 (currentCharacter isLetterOrDigit |
|
2495 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2496 ] whileTrue. |
|
2497 ^ self reportLastMatch |
|
2498 ]. |
|
2499 (currentCharacter == $i) ifTrue:[ |
|
2500 self recordMatch:#( 33 ). |
|
2501 self step. |
|
2502 ((currentCharacter between:$- and:$9) |
|
2503 or:[ |
|
2504 (currentCharacter between:$A and:$Z) |
|
2505 or:[ |
|
2506 currentCharacter == $_ |
|
2507 or:[ |
|
2508 (currentCharacter between:$a and:$f) |
|
2509 or:[ (currentCharacter between:$h and:$z) ] |
|
2510 ] |
|
2511 ] |
|
2512 ]) |
|
2513 ifTrue:[ |
|
2514 [ |
|
2515 self recordMatch:#( 33 ). |
|
2516 self step. |
|
2517 (currentCharacter isLetterOrDigit |
|
2518 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2519 ] whileTrue. |
|
2520 ^ self reportLastMatch |
|
2521 ]. |
|
2522 (currentCharacter == $g) ifTrue:[ |
|
2523 self recordMatch:#( 33 ). |
|
2524 self step. |
|
2525 ((currentCharacter between:$- and:$9) |
|
2526 or:[ |
|
2527 (currentCharacter between:$A and:$Z) |
|
2528 or:[ |
|
2529 currentCharacter == $_ |
|
2530 or:[ |
|
2531 (currentCharacter between:$a and:$m) |
|
2532 or:[ (currentCharacter between:$o and:$z) ] |
|
2533 ] |
|
2534 ] |
|
2535 ]) |
|
2536 ifTrue:[ |
|
2537 [ |
|
2538 self recordMatch:#( 33 ). |
|
2539 self step. |
|
2540 (currentCharacter isLetterOrDigit |
|
2541 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2542 ] whileTrue. |
|
2543 ^ self reportLastMatch |
|
2544 ]. |
|
2545 (currentCharacter == $n) ifTrue:[ |
|
2546 self recordMatch:#( 8 33 ). |
|
2547 self step. |
|
2548 (currentCharacter isLetterOrDigit |
|
2549 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2550 ifTrue:[ |
|
2551 [ |
|
2552 self recordMatch:#( 33 ). |
|
2553 self step. |
|
2554 (currentCharacter isLetterOrDigit |
|
2555 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2556 ] whileTrue. |
|
2557 ^ self reportLastMatch |
|
2558 ]. |
|
2559 ^ self reportLastMatch |
|
2560 ]. |
|
2561 ^ self reportLastMatch |
|
2562 ]. |
|
2563 ^ self reportLastMatch |
|
2564 ]. |
|
2565 ^ self reportLastMatch |
|
2566 ]. |
|
2567 ^ self reportLastMatch |
|
2568 ]. |
|
2569 ^ self reportLastMatch |
|
2570 ]. |
|
2571 ^ self reportLastMatch |
|
2572 ]. |
|
2573 ^ self reportLastMatch |
|
2574 ]. |
|
2575 ^ self reportLastMatch |
|
2576 ]. |
|
2577 ^ self reportLastMatch |
|
2578 ]. |
|
2579 ^ self reportLastMatch |
|
2580 ]. |
|
2581 ^ self reportLastMatch |
|
2582 ]. |
|
2583 ^ self reportLastMatch |
|
2584 ]. |
|
2585 ^ self reportLastMatch |
|
2586 ]. |
|
2587 ^ self reportLastMatch |
|
2588 ]. |
|
2589 (currentCharacter == $u) ifTrue:[ |
|
2590 self recordMatch:#( 30 33 ). |
|
2591 self step. |
|
2592 ((currentCharacter between:$0 and:$9) |
|
2593 or:[ |
|
2594 (currentCharacter between:$A and:$Z) |
|
2595 or:[ |
|
2596 currentCharacter == $_ |
|
2597 or:[ |
|
2598 (currentCharacter between:$a and:$m) |
|
2599 or:[ (currentCharacter between:$o and:$z) ] |
|
2600 ] |
|
2601 ] |
|
2602 ]) |
|
2603 ifTrue:[ ^ self scan1 ]. |
|
2604 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2605 [ |
|
2606 self recordMatch:#( 33 ). |
|
2607 self step. |
|
2608 (currentCharacter isLetterOrDigit |
|
2609 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2610 ] whileTrue. |
|
2611 ^ self reportLastMatch |
|
2612 ]. |
|
2613 (currentCharacter == $n) ifTrue:[ |
|
2614 self recordMatch:#( 30 33 ). |
|
2615 self step. |
|
2616 (currentCharacter isXMLDigit |
|
2617 or:[ |
|
2618 (currentCharacter between:$A and:$Z) |
|
2619 or:[ |
|
2620 currentCharacter == $_ |
|
2621 or:[ |
|
2622 (currentCharacter between:$a and:$h) |
|
2623 or:[ (currentCharacter between:$j and:$z) ] |
|
2624 ] |
|
2625 ] |
|
2626 ]) |
|
2627 ifTrue:[ ^ self scan1 ]. |
|
2628 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2629 [ |
|
2630 self recordMatch:#( 33 ). |
|
2631 self step. |
|
2632 (currentCharacter isLetterOrDigit |
|
2633 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2634 ] whileTrue. |
|
2635 ^ self reportLastMatch |
|
2636 ]. |
|
2637 (currentCharacter == $i) ifTrue:[ |
|
2638 self recordMatch:#( 30 33 ). |
|
2639 self step. |
|
2640 (currentCharacter isXMLDigit |
|
2641 or:[ |
|
2642 (currentCharacter between:$A and:$Z) |
|
2643 or:[ |
|
2644 currentCharacter == $_ |
|
2645 or:[ |
|
2646 (currentCharacter between:$a and:$n) |
|
2647 or:[ (currentCharacter between:$p and:$z) ] |
|
2648 ] |
|
2649 ] |
|
2650 ]) |
|
2651 ifTrue:[ ^ self scan1 ]. |
|
2652 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2653 [ |
|
2654 self recordMatch:#( 33 ). |
|
2655 self step. |
|
2656 (currentCharacter isLetterOrDigit |
|
2657 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2658 ] whileTrue. |
|
2659 ^ self reportLastMatch |
|
2660 ]. |
|
2661 (currentCharacter == $o) ifTrue:[ |
|
2662 self recordMatch:#( 30 33 ). |
|
2663 self step. |
|
2664 ((currentCharacter between:$0 and:$9) |
|
2665 or:[ |
|
2666 (currentCharacter between:$A and:$Z) |
|
2667 or:[ |
|
2668 currentCharacter == $_ |
|
2669 or:[ |
|
2670 (currentCharacter between:$a and:$m) |
|
2671 or:[ (currentCharacter between:$o and:$z) ] |
|
2672 ] |
|
2673 ] |
|
2674 ]) |
|
2675 ifTrue:[ ^ self scan1 ]. |
|
2676 (currentCharacter between:$- and:$/) ifTrue:[ |
|
2677 [ |
|
2678 self recordMatch:#( 33 ). |
|
2679 self step. |
|
2680 (currentCharacter isLetterOrDigit |
|
2681 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2682 ] whileTrue. |
|
2683 ^ self reportLastMatch |
|
2684 ]. |
|
2685 (currentCharacter == $n) ifTrue:[ |
|
2686 self recordMatch:#( 30 33 ). |
|
2687 self step. |
|
2688 (currentCharacter isLetterOrDigit or:[ currentCharacter == $_ ]) ifTrue:[ |
|
2689 ^ self scan1 |
|
2690 ]. |
|
2691 (currentCharacter between:$. and:$/) ifTrue:[ |
|
2692 [ |
|
2693 self recordMatch:#( 33 ). |
|
2694 self step. |
|
2695 (currentCharacter isLetterOrDigit |
|
2696 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2697 ] whileTrue. |
|
2698 ^ self reportLastMatch |
|
2699 ]. |
|
2700 (currentCharacter == $-) ifTrue:[ |
|
2701 self recordMatch:#( 33 ). |
|
2702 self step. |
|
2703 ((currentCharacter between:$- and:$9) |
|
2704 or:[ |
|
2705 (currentCharacter between:$A and:$Z) |
|
2706 or:[ |
|
2707 currentCharacter == $_ |
|
2708 or:[ |
|
2709 (currentCharacter between:$a and:$e) |
|
2710 or:[ (currentCharacter between:$g and:$z) ] |
|
2711 ] |
|
2712 ] |
|
2713 ]) |
|
2714 ifTrue:[ |
|
2715 [ |
|
2716 self recordMatch:#( 33 ). |
|
2717 self step. |
|
2718 (currentCharacter isLetterOrDigit |
|
2719 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2720 ] whileTrue. |
|
2721 ^ self reportLastMatch |
|
2722 ]. |
|
2723 (currentCharacter == $f) ifTrue:[ |
|
2724 self recordMatch:#( 33 ). |
|
2725 self step. |
|
2726 (currentCharacter isXMLDigit |
|
2727 or:[ |
|
2728 (currentCharacter between:$- and:$/) |
|
2729 or:[ |
|
2730 (currentCharacter between:$A and:$Z) |
|
2731 or:[ |
|
2732 currentCharacter == $_ |
|
2733 or:[ |
|
2734 (currentCharacter between:$a and:$n) |
|
2735 or:[ (currentCharacter between:$p and:$z) ] |
|
2736 ] |
|
2737 ] |
|
2738 ] |
|
2739 ]) |
|
2740 ifTrue:[ |
|
2741 [ |
|
2742 self recordMatch:#( 33 ). |
|
2743 self step. |
|
2744 (currentCharacter isLetterOrDigit |
|
2745 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2746 ] whileTrue. |
|
2747 ^ self reportLastMatch |
|
2748 ]. |
|
2749 (currentCharacter == $o) ifTrue:[ |
|
2750 self recordMatch:#( 33 ). |
|
2751 self step. |
|
2752 ((currentCharacter between:$- and:$9) |
|
2753 or:[ |
|
2754 (currentCharacter between:$A and:$Z) |
|
2755 or:[ |
|
2756 currentCharacter == $_ |
|
2757 or:[ |
|
2758 (currentCharacter between:$a and:$q) |
|
2759 or:[ (currentCharacter between:$s and:$z) ] |
|
2760 ] |
|
2761 ] |
|
2762 ]) |
|
2763 ifTrue:[ |
|
2764 [ |
|
2765 self recordMatch:#( 33 ). |
|
2766 self step. |
|
2767 (currentCharacter isLetterOrDigit |
|
2768 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2769 ] whileTrue. |
|
2770 ^ self reportLastMatch |
|
2771 ]. |
|
2772 (currentCharacter == $r) ifTrue:[ |
|
2773 self recordMatch:#( 33 ). |
|
2774 self step. |
|
2775 (currentCharacter isXMLDigit |
|
2776 or:[ |
|
2777 (currentCharacter between:$- and:$/) |
|
2778 or:[ |
|
2779 (currentCharacter between:$A and:$Z) |
|
2780 or:[ |
|
2781 currentCharacter == $_ |
|
2782 or:[ |
|
2783 (currentCharacter between:$a and:$d) |
|
2784 or:[ (currentCharacter between:$f and:$z) ] |
|
2785 ] |
|
2786 ] |
|
2787 ] |
|
2788 ]) |
|
2789 ifTrue:[ |
|
2790 [ |
|
2791 self recordMatch:#( 33 ). |
|
2792 self step. |
|
2793 (currentCharacter isLetterOrDigit |
|
2794 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2795 ] whileTrue. |
|
2796 ^ self reportLastMatch |
|
2797 ]. |
|
2798 (currentCharacter == $e) ifTrue:[ |
|
2799 self recordMatch:#( 33 ). |
|
2800 self step. |
|
2801 (currentCharacter isXMLDigit |
|
2802 or:[ |
|
2803 (currentCharacter between:$- and:$/) |
|
2804 or:[ |
|
2805 (currentCharacter between:$A and:$Z) |
|
2806 or:[ |
|
2807 currentCharacter == $_ |
|
2808 or:[ |
|
2809 (currentCharacter between:$a and:$h) |
|
2810 or:[ (currentCharacter between:$j and:$z) ] |
|
2811 ] |
|
2812 ] |
|
2813 ] |
|
2814 ]) |
|
2815 ifTrue:[ |
|
2816 [ |
|
2817 self recordMatch:#( 33 ). |
|
2818 self step. |
|
2819 (currentCharacter isLetterOrDigit |
|
2820 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2821 ] whileTrue. |
|
2822 ^ self reportLastMatch |
|
2823 ]. |
|
2824 (currentCharacter == $i) ifTrue:[ |
|
2825 self recordMatch:#( 33 ). |
|
2826 self step. |
|
2827 ((currentCharacter between:$- and:$9) |
|
2828 or:[ |
|
2829 (currentCharacter between:$A and:$Z) |
|
2830 or:[ |
|
2831 currentCharacter == $_ |
|
2832 or:[ |
|
2833 (currentCharacter between:$a and:$f) |
|
2834 or:[ (currentCharacter between:$h and:$z) ] |
|
2835 ] |
|
2836 ] |
|
2837 ]) |
|
2838 ifTrue:[ |
|
2839 [ |
|
2840 self recordMatch:#( 33 ). |
|
2841 self step. |
|
2842 (currentCharacter isLetterOrDigit |
|
2843 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2844 ] whileTrue. |
|
2845 ^ self reportLastMatch |
|
2846 ]. |
|
2847 (currentCharacter == $g) ifTrue:[ |
|
2848 self recordMatch:#( 33 ). |
|
2849 self step. |
|
2850 ((currentCharacter between:$- and:$9) |
|
2851 or:[ |
|
2852 (currentCharacter between:$A and:$Z) |
|
2853 or:[ |
|
2854 currentCharacter == $_ |
|
2855 or:[ |
|
2856 (currentCharacter between:$a and:$m) |
|
2857 or:[ (currentCharacter between:$o and:$z) ] |
|
2858 ] |
|
2859 ] |
|
2860 ]) |
|
2861 ifTrue:[ |
|
2862 [ |
|
2863 self recordMatch:#( 33 ). |
|
2864 self step. |
|
2865 (currentCharacter isLetterOrDigit |
|
2866 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2867 ] whileTrue. |
|
2868 ^ self reportLastMatch |
|
2869 ]. |
|
2870 (currentCharacter == $n) ifTrue:[ |
|
2871 self recordMatch:#( 19 33 ). |
|
2872 self step. |
|
2873 (currentCharacter isLetterOrDigit |
|
2874 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2875 ifTrue:[ |
|
2876 [ |
|
2877 self recordMatch:#( 33 ). |
|
2878 self step. |
|
2879 (currentCharacter isLetterOrDigit |
|
2880 or:[ (currentCharacter between:$- and:$/) or:[ currentCharacter == $_ ] ]) |
|
2881 ] whileTrue. |
|
2882 ^ self reportLastMatch |
|
2883 ]. |
|
2884 ^ self reportLastMatch |
|
2885 ]. |
|
2886 ^ self reportLastMatch |
|
2887 ]. |
|
2888 ^ self reportLastMatch |
|
2889 ]. |
|
2890 ^ self reportLastMatch |
|
2891 ]. |
|
2892 ^ self reportLastMatch |
|
2893 ]. |
|
2894 ^ self reportLastMatch |
|
2895 ]. |
|
2896 ^ self reportLastMatch |
|
2897 ]. |
|
2898 ^ self reportLastMatch |
|
2899 ]. |
|
2900 ^ self reportLastMatch |
|
2901 ]. |
|
2902 ^ self reportLastMatch |
|
2903 ]. |
|
2904 ^ self reportLastMatch |
|
2905 ]. |
|
2906 ^ self reportLastMatch |
|
2907 ]. |
|
2908 ^ self reportLastMatch |
|
2909 ]. |
1758 ^ self reportLastMatch |
2910 ^ self reportLastMatch |
1759 |
2911 |
1760 "Modified: / 17-02-2008 / 18:45:28 / janfrog" |
2912 "Modified: / 04-07-2008 / 09:23:45 / Jan Vrany <vranyj1@fel.cvut.cz>" |
1761 ! ! |
2913 ! ! |
1762 |
2914 |
1763 !CDefinitionScanner methodsFor:'generated-tokens'! |
2915 !CDefinitionScanner methodsFor:'generated-tokens'! |
1764 |
2916 |
1765 emptySymbolTokenId |
2917 emptySymbolTokenId |
1766 ^59 |
2918 ^60 |
1767 |
2919 |
1768 "Modified: / 17-02-2008 / 18:45:28 / janfrog" |
2920 "Modified: / 04-07-2008 / 09:23:45 / Jan Vrany <vranyj1@fel.cvut.cz>" |
1769 ! |
2921 ! |
1770 |
2922 |
1771 errorTokenId |
2923 errorTokenId |
1772 ^60 |
2924 ^61 |
1773 |
2925 |
1774 "Modified: / 17-02-2008 / 18:45:28 / janfrog" |
2926 "Modified: / 04-07-2008 / 09:23:45 / Jan Vrany <vranyj1@fel.cvut.cz>" |
1775 ! ! |
2927 ! ! |
1776 |
2928 |
1777 !CDefinitionScanner class methodsFor:'documentation'! |
2929 !CDefinitionScanner class methodsFor:'documentation'! |
1778 |
2930 |
1779 version |
2931 version |