1--- 2source: full-moon/tests/pass_cases.rs 3expression: tokens 4input_file: full-moon/tests/cases/pass/fractional-numbers 5 6--- 7- start_position: 8 bytes: 0 9 line: 1 10 character: 1 11 end_position: 12 bytes: 5 13 line: 1 14 character: 6 15 token_type: 16 type: Symbol 17 symbol: local 18- start_position: 19 bytes: 5 20 line: 1 21 character: 6 22 end_position: 23 bytes: 6 24 line: 1 25 character: 7 26 token_type: 27 type: Whitespace 28 characters: " " 29- start_position: 30 bytes: 6 31 line: 1 32 character: 7 33 end_position: 34 bytes: 9 35 line: 1 36 character: 10 37 token_type: 38 type: Identifier 39 identifier: num 40- start_position: 41 bytes: 9 42 line: 1 43 character: 10 44 end_position: 45 bytes: 10 46 line: 1 47 character: 11 48 token_type: 49 type: Whitespace 50 characters: " " 51- start_position: 52 bytes: 10 53 line: 1 54 character: 11 55 end_position: 56 bytes: 11 57 line: 1 58 character: 12 59 token_type: 60 type: Symbol 61 symbol: "=" 62- start_position: 63 bytes: 11 64 line: 1 65 character: 12 66 end_position: 67 bytes: 12 68 line: 1 69 character: 13 70 token_type: 71 type: Whitespace 72 characters: " " 73- start_position: 74 bytes: 12 75 line: 1 76 character: 13 77 end_position: 78 bytes: 15 79 line: 1 80 character: 16 81 token_type: 82 type: Number 83 text: "0.5" 84- start_position: 85 bytes: 15 86 line: 1 87 character: 16 88 end_position: 89 bytes: 16 90 line: 1 91 character: 16 92 token_type: 93 type: Whitespace 94 characters: "\n" 95- start_position: 96 bytes: 16 97 line: 2 98 character: 1 99 end_position: 100 bytes: 21 101 line: 2 102 character: 6 103 token_type: 104 type: Symbol 105 symbol: local 106- start_position: 107 bytes: 21 108 line: 2 109 character: 6 110 end_position: 111 bytes: 22 112 line: 2 113 character: 7 114 token_type: 115 type: Whitespace 116 characters: " " 117- start_position: 118 bytes: 22 119 line: 2 120 character: 7 121 end_position: 122 bytes: 26 123 line: 2 124 character: 11 125 token_type: 126 type: Identifier 127 identifier: num2 128- start_position: 129 bytes: 26 130 line: 2 131 character: 11 132 end_position: 133 bytes: 27 134 line: 2 135 character: 12 136 token_type: 137 type: Whitespace 138 characters: " " 139- start_position: 140 bytes: 27 141 line: 2 142 character: 12 143 end_position: 144 bytes: 28 145 line: 2 146 character: 13 147 token_type: 148 type: Symbol 149 symbol: "=" 150- start_position: 151 bytes: 28 152 line: 2 153 character: 13 154 end_position: 155 bytes: 29 156 line: 2 157 character: 14 158 token_type: 159 type: Whitespace 160 characters: " " 161- start_position: 162 bytes: 29 163 line: 2 164 character: 14 165 end_position: 166 bytes: 34 167 line: 2 168 character: 19 169 token_type: 170 type: Number 171 text: "0.5e5" 172- start_position: 173 bytes: 34 174 line: 2 175 character: 19 176 end_position: 177 bytes: 35 178 line: 2 179 character: 19 180 token_type: 181 type: Whitespace 182 characters: "\n" 183- start_position: 184 bytes: 35 185 line: 3 186 character: 1 187 end_position: 188 bytes: 40 189 line: 3 190 character: 6 191 token_type: 192 type: Symbol 193 symbol: local 194- start_position: 195 bytes: 40 196 line: 3 197 character: 6 198 end_position: 199 bytes: 41 200 line: 3 201 character: 7 202 token_type: 203 type: Whitespace 204 characters: " " 205- start_position: 206 bytes: 41 207 line: 3 208 character: 7 209 end_position: 210 bytes: 45 211 line: 3 212 character: 11 213 token_type: 214 type: Identifier 215 identifier: num3 216- start_position: 217 bytes: 45 218 line: 3 219 character: 11 220 end_position: 221 bytes: 46 222 line: 3 223 character: 12 224 token_type: 225 type: Whitespace 226 characters: " " 227- start_position: 228 bytes: 46 229 line: 3 230 character: 12 231 end_position: 232 bytes: 47 233 line: 3 234 character: 13 235 token_type: 236 type: Symbol 237 symbol: "=" 238- start_position: 239 bytes: 47 240 line: 3 241 character: 13 242 end_position: 243 bytes: 48 244 line: 3 245 character: 14 246 token_type: 247 type: Whitespace 248 characters: " " 249- start_position: 250 bytes: 48 251 line: 3 252 character: 14 253 end_position: 254 bytes: 50 255 line: 3 256 character: 16 257 token_type: 258 type: Number 259 text: ".5" 260- start_position: 261 bytes: 50 262 line: 3 263 character: 16 264 end_position: 265 bytes: 51 266 line: 3 267 character: 16 268 token_type: 269 type: Whitespace 270 characters: "\n" 271- start_position: 272 bytes: 51 273 line: 4 274 character: 1 275 end_position: 276 bytes: 56 277 line: 4 278 character: 6 279 token_type: 280 type: Symbol 281 symbol: local 282- start_position: 283 bytes: 56 284 line: 4 285 character: 6 286 end_position: 287 bytes: 57 288 line: 4 289 character: 7 290 token_type: 291 type: Whitespace 292 characters: " " 293- start_position: 294 bytes: 57 295 line: 4 296 character: 7 297 end_position: 298 bytes: 61 299 line: 4 300 character: 11 301 token_type: 302 type: Identifier 303 identifier: num4 304- start_position: 305 bytes: 61 306 line: 4 307 character: 11 308 end_position: 309 bytes: 62 310 line: 4 311 character: 12 312 token_type: 313 type: Whitespace 314 characters: " " 315- start_position: 316 bytes: 62 317 line: 4 318 character: 12 319 end_position: 320 bytes: 63 321 line: 4 322 character: 13 323 token_type: 324 type: Symbol 325 symbol: "=" 326- start_position: 327 bytes: 63 328 line: 4 329 character: 13 330 end_position: 331 bytes: 64 332 line: 4 333 character: 14 334 token_type: 335 type: Whitespace 336 characters: " " 337- start_position: 338 bytes: 64 339 line: 4 340 character: 14 341 end_position: 342 bytes: 68 343 line: 4 344 character: 18 345 token_type: 346 type: Number 347 text: ".5e5" 348- start_position: 349 bytes: 68 350 line: 4 351 character: 18 352 end_position: 353 bytes: 69 354 line: 4 355 character: 18 356 token_type: 357 type: Whitespace 358 characters: "\n" 359- start_position: 360 bytes: 69 361 line: 5 362 character: 1 363 end_position: 364 bytes: 74 365 line: 5 366 character: 6 367 token_type: 368 type: Symbol 369 symbol: local 370- start_position: 371 bytes: 74 372 line: 5 373 character: 6 374 end_position: 375 bytes: 75 376 line: 5 377 character: 7 378 token_type: 379 type: Whitespace 380 characters: " " 381- start_position: 382 bytes: 75 383 line: 5 384 character: 7 385 end_position: 386 bytes: 79 387 line: 5 388 character: 11 389 token_type: 390 type: Identifier 391 identifier: num5 392- start_position: 393 bytes: 79 394 line: 5 395 character: 11 396 end_position: 397 bytes: 80 398 line: 5 399 character: 12 400 token_type: 401 type: Whitespace 402 characters: " " 403- start_position: 404 bytes: 80 405 line: 5 406 character: 12 407 end_position: 408 bytes: 81 409 line: 5 410 character: 13 411 token_type: 412 type: Symbol 413 symbol: "=" 414- start_position: 415 bytes: 81 416 line: 5 417 character: 13 418 end_position: 419 bytes: 82 420 line: 5 421 character: 14 422 token_type: 423 type: Whitespace 424 characters: " " 425- start_position: 426 bytes: 82 427 line: 5 428 character: 14 429 end_position: 430 bytes: 84 431 line: 5 432 character: 16 433 token_type: 434 type: Number 435 text: "1." 436- start_position: 437 bytes: 84 438 line: 5 439 character: 16 440 end_position: 441 bytes: 85 442 line: 5 443 character: 16 444 token_type: 445 type: Whitespace 446 characters: "\n" 447- start_position: 448 bytes: 85 449 line: 6 450 character: 1 451 end_position: 452 bytes: 85 453 line: 6 454 character: 1 455 token_type: 456 type: Eof 457 458