()
| 445 | }, |
| 446 | |
| 447 | decimalInteger () { |
| 448 | switch (c) { |
| 449 | case '.': |
| 450 | buffer += read() |
| 451 | lexState = 'decimalPoint' |
| 452 | return |
| 453 | |
| 454 | case 'e': |
| 455 | case 'E': |
| 456 | buffer += read() |
| 457 | lexState = 'decimalExponent' |
| 458 | return |
| 459 | } |
| 460 | |
| 461 | if (util.isDigit(c)) { |
| 462 | buffer += read() |
| 463 | return |
| 464 | } |
| 465 | |
| 466 | return newToken('numeric', sign * Number(buffer)) |
| 467 | }, |
| 468 | |
| 469 | decimalPointLeading () { |
| 470 | if (util.isDigit(c)) { |