MCPcopy Create free account
hub / github.com/json5/json5 / decimalExponent

Function decimalExponent

lib/parse.js:514–530  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

512 },
513
514 decimalExponent () {
515 switch (c) {
516 case '+':
517 case '-':
518 buffer += read()
519 lexState = 'decimalExponentSign'
520 return
521 }
522
523 if (util.isDigit(c)) {
524 buffer += read()
525 lexState = 'decimalExponentInteger'
526 return
527 }
528
529 throw invalidChar(read())
530 },
531
532 decimalExponentSign () {
533 if (util.isDigit(c)) {

Callers

nothing calls this directly

Calls 2

readFunction · 0.85
invalidCharFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…