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

Function decimalPointLeading

lib/parse.js:469–477  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467 },
468
469 decimalPointLeading () {
470 if (util.isDigit(c)) {
471 buffer += read()
472 lexState = 'decimalFraction'
473 return
474 }
475
476 throw invalidChar(read())
477 },
478
479 decimalPoint () {
480 switch (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…