MCPcopy Index your code
hub / github.com/json5/json5 / decimalPoint

Function decimalPoint

lib/parse.js:479–495  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 },
478
479 decimalPoint () {
480 switch (c) {
481 case 'e':
482 case 'E':
483 buffer += read()
484 lexState = 'decimalExponent'
485 return
486 }
487
488 if (util.isDigit(c)) {
489 buffer += read()
490 lexState = 'decimalFraction'
491 return
492 }
493
494 return newToken('numeric', sign * Number(buffer))
495 },
496
497 decimalFraction () {
498 switch (c) {

Callers

nothing calls this directly

Calls 2

readFunction · 0.85
newTokenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…