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

Function peek

lib/parse.js:107–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107function peek () {
108 if (source[pos]) {
109 return String.fromCodePoint(source.codePointAt(pos))
110 }
111}
112
113function read () {
114 const c = peek()

Callers 6

lexFunction · 0.85
readFunction · 0.85
literalFunction · 0.85
escapeFunction · 0.85
hexEscapeFunction · 0.85
unicodeEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…