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

Function comment

lib/parse.js:171–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 },
170
171 comment () {
172 switch (c) {
173 case '*':
174 read()
175 lexState = 'multiLineComment'
176 return
177
178 case '/':
179 read()
180 lexState = 'singleLineComment'
181 return
182 }
183
184 throw invalidChar(read())
185 },
186
187 multiLineComment () {
188 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…