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

Function afterArrayValue

lib/parse.js:687–695  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

685 },
686
687 afterArrayValue () {
688 switch (c) {
689 case ',':
690 case ']':
691 return newToken('punctuator', read())
692 }
693
694 throw invalidChar(read())
695 },
696
697 end () {
698 // This code is unreachable since it's handled by the default lexState.

Callers

nothing calls this directly

Calls 5

newTokenFunction · 0.85
readFunction · 0.85
invalidCharFunction · 0.85
invalidEOFFunction · 0.85
popFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…