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

Function decimalFraction

lib/parse.js:497–512  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

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…