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

Function start

lib/parse.js:611–623  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609 },
610
611 start () {
612 switch (c) {
613 case '{':
614 case '[':
615 return newToken('punctuator', read())
616
617 // This code is unreachable since the default lexState handles eof.
618 // case undefined:
619 // return newToken('eof')
620 }
621
622 lexState = 'value'
623 },
624
625 beforePropertyName () {
626 switch (c) {

Callers

nothing calls this directly

Calls 4

newTokenFunction · 0.85
readFunction · 0.85
invalidEOFFunction · 0.85
pushFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…