()
| 495 | }, |
| 496 | |
| 497 | decimalFraction () { |
| 498 | switch (c) { |
| 499 | case 'e': |
| 500 | case 'E': |
| 501 | buffer += read() |
| 502 | lexState = 'decimalExponent' |
| 503 | return |
| 504 | } |
| 505 | |
| 506 | if (util.isDigit(c)) { |
| 507 | buffer += read() |
| 508 | return |
| 509 | } |
| 510 | |
| 511 | return newToken('numeric', sign * Number(buffer)) |
| 512 | }, |
| 513 | |
| 514 | decimalExponent () { |
| 515 | switch (c) { |